Deprecated API


Contents
Deprecated Interfaces
org.apache.wicket.util.tester.ITestPageSource
          since 1.5 No longer needed 
org.apache.wicket.util.tester.ITestPanelSource
          since 1.5 No longer needed 
 

Deprecated Classes
org.apache.wicket.behavior.AbstractBehavior
          extend Behavior instead 
org.apache.wicket.spring.SpringWebApplication
          when using java5 it is preferrable to use SpringBean annotations for injection rather then this spring-specific application subclass with its helpers. To setup SpringBean add the following line to your WebApplication subclass init method addComponentInstantiationListener(new SpringComponentInjector(this)); 
org.apache.wicket.extensions.ajax.markup.html.WicketAjaxIndicatorAppender
          Use AjaxIndicatorAppender instead. 
 

Deprecated Methods
org.apache.wicket.ajax.AjaxRequestTarget.addComponent(Component...)
          use AjaxRequestTarget.add(Component...) instead 
org.apache.wicket.ajax.AjaxRequestTarget.addComponent(Component, String)
          use AjaxRequestTarget.add(Component...) instead 
org.apache.wicket.protocol.http.WebApplication.getApplicationKey()
           
org.apache.wicket.markup.html.link.ExternalLink.getLabel()
          use AbstractLink.getBody() instead 
org.apache.wicket.extensions.model.AbstractCheckBoxModel.getObject(Component)
          replaced by AbstractCheckBoxModel.getObject() 
org.apache.wicket.protocol.http.mock.MockHttpServletRequest.getRealPath(String)
          Use ServletContext.getRealPath(String) instead. 
org.apache.wicket.protocol.http.mock.MockHttpSession.getSessionContext()
            
org.apache.wicket.markup.ComponentTag.getString(String)
          since 1.5 
org.apache.wicket.protocol.http.mock.MockHttpServletResponse.getTextResponse()
          use MockHttpServletResponse.getDocument() 
org.apache.wicket.protocol.http.mock.MockHttpSession.getValue(String)
          use getAttribute(String) instead 
org.apache.wicket.protocol.http.mock.MockHttpSession.getValueNames()
          use getAttributeNames() instead 
org.apache.wicket.extensions.model.AbstractCheckBoxModel.isSelected(Component)
          replaced by AbstractCheckBoxModel.isSelected() 
org.apache.wicket.protocol.http.mock.MockHttpSession.putValue(String, Object)
          Use setAttribute(String, Object) instead 
org.apache.wicket.protocol.http.mock.MockHttpSession.removeValue(String)
          Use removeAttribute(String) instead 
org.apache.wicket.extensions.model.AbstractCheckBoxModel.setObject(Component, Object)
          replaced by IModel.setObject(Object) 
org.apache.wicket.markup.html.link.BookmarkablePageLink.setParameter(String, int)
          Use BookmarkablePageLink.getPageParameters().set() instead 
org.apache.wicket.markup.html.link.BookmarkablePageLink.setParameter(String, long)
          Use BookmarkablePageLink.getPageParameters().set() instead 
org.apache.wicket.markup.html.link.BookmarkablePageLink.setParameter(String, String)
          Use BookmarkablePageLink.getPageParameters().set() instead 
org.apache.wicket.extensions.model.AbstractCheckBoxModel.setSelected(Component, boolean)
          replaced by AbstractCheckBoxModel.select() 
org.apache.wicket.protocol.http.mock.MockHttpServletResponse.setStatus(int, String)
            
org.apache.wicket.util.tester.BaseWicketTester.startPage(ITestPageSource)
          since 1.5 use startPage(page) instead 
org.apache.wicket.util.tester.BaseWicketTester.startPanel(ITestPanelSource)
          since 1.5 use startPanel(panel) instead 
org.apache.wicket.util.time.Time.valueOf(long)
          use Time.millis(long) instead 
 

Deprecated Constructors
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField(String, boolean)
          use the constructor AutoCompleteTextField AutoCompleteTextField.AutoCompleteTextField(String, AutoCompleteSettings) 
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField(String, IModel, boolean)
          use the constructor AutoCompleteTextField AutoCompleteTextField.AutoCompleteTextField(String, IModel, AutoCompleteSettings) 
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField(String, IModel, Class, boolean)
          use the constructor AutoCompleteTextField AutoCompleteTextField.AutoCompleteTextField(String, IModel, Class, AutoCompleteSettings) 
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField(String, IModel, Class, IAutoCompleteRenderer, boolean)
          use the constructor AutoCompleteTextField AutoCompleteTextField.AutoCompleteTextField(String, IModel, Class, IAutoCompleteRenderer, AutoCompleteSettings) 
org.apache.wicket.util.upload.MultipartFormInputStream()
          Use #MultipartStream(InputStream, byte[], org.apache.wicket.util.uploadMultipartStream.ProgressNotifier) , or #MultipartStream(InputStream, byte[], int, org.apache.wicket.util.uploadMultipartStream.ProgressNotifier) 
org.apache.wicket.util.upload.MultipartFormInputStream(InputStream, byte[], int)
          Use #MultipartStream(InputStream, byte[], int, org.apache.wicket.util.uploadMultipartStream.ProgressNotifier) . 
org.apache.wicket.request.mapper.parameter.PageParameters(String)
          use various setter methods to set parameters 
org.apache.wicket.request.mapper.parameter.PageParameters(String, String)
          use various setter methods to set parameters 
 



Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.