Deprecated API


Contents
Deprecated Classes
org.apache.wicket.markup.html.form.FormComponent.AbstractVisitor
          no longer a need for this base class 
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.Application.addRenderHeadListener(IHeaderContributor)
          will be removed in 1.5; see IHeaderRenderStrategy 
org.apache.wicket.Component.callOnBeforeRenderIfNotVisible()
          this was only useful for controlling visibility from inside Component.onBeforeRender(), with the addition of Component.onConfigure() this is now obsolete. 
org.apache.wicket.extensions.yui.calendar.DatePicker.configureWidgetProperties(Map)
          Please use DatePicker.configure(Map) instead. 
org.apache.wicket.protocol.http.WebApplication.getApplicationKey()
           
org.apache.wicket.Page.getNumericId()
            
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.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.WebApplication.mount(IRequestMapper)
          this is the same as getRootRequestMapperAsCompound().add(mapper) 
org.apache.wicket.protocol.http.WebApplication.mountBookmarkablePage(String, Class)
          use mounted mapper instead, this method can be represented as getRootRequestMapperAsCompound().add(new MountedMapper(path, bookmarkablePageClass)) 
org.apache.wicket.protocol.http.WebApplication.mountSharedResource(String, ResourceReference)
          - not sure what to use yet but this will be deprecated :) 
org.apache.wicket.protocol.http.mock.MockHttpSession.putValue(String, Object)
          Use setAttribute(String, Object) instead 
org.apache.wicket.Application.removeRenderHeadListener(IHeaderContributor)
          will be removed in 1.5; see IHeaderRenderStrategy 
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.extensions.model.AbstractCheckBoxModel.setSelected(Component, boolean)
          replaced by AbstractCheckBoxModel.select() 
org.apache.wicket.protocol.http.mock.MockHttpServletResponse.setStatus(int, String)
            
 

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.request.mapper.parameter.PageParameters(String)
           
org.apache.wicket.request.mapper.parameter.PageParameters(String, String)
          Please use RequestUtils#decodeParameters(String, ValueMap) to decode a request URL, or ValueMap.ValueMap(String, String) for other usecases. 
 



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