Deprecated API


Contents
Deprecated Interfaces
wicket.settings.IAjaxSettings
          use IDebugSettings instead 
wicket.settings.IExceptionSettings
          will be removed in 2.0. See methods for details 
 

Deprecated Classes
wicket.markup.html.resources.CompressedPackageResourceReference
          Will be renamed to CompressedResourceReference in Wicket 2.0 
wicket.markup.html.form.validation.CustomValidator
          Users should use StringValidator directly 
wicket.resource.DynamicByteArrayResource
          use DynamicWebResource now 
wicket.util.lang.EnumeratedType
          To be replaced by JSE 5 constructs in Wicket 2.0 
wicket.settings.IExceptionSettings.UnexpectedExceptionDisplay
          will be moved to IApplicationSettings in 2.0 
wicket.markup.html.form.validation.IntegerValidator
          @see NumberValidator 
wicket.markup.html.link.InternalFrame
          will be replaced by InlineFrame in Wicket 2.0 as that's a better name for it. 
wicket.markup.html.form.validation.LengthValidator
          see StringValidator 
wicket.markup.html.PackageResourceReference
          Use ResourceReference instead. This class will be removed in Wicket 2.0 
wicket.markup.html.form.validation.RequiredValidator
            
wicket.markup.html.form.validation.TypeValidator
            
wicket.protocol.http.WebRequestWithCryptedUrl
          since 1.2 Please see wicket.protocol.http.request.CryptedUrlwebRequestCodingStrategy 
wicket.protocol.http.WebResponseWithCryptedUrl
          since 1.2 Please see wicket.protocol.http.request.CryptedUrlwebRequestCodingStrategy 
 

Deprecated Exceptions
wicket.AbortWithHttpStatusException
          moves to package wicket.protocol.http.servlet in 2.0 
 

Deprecated Fields
wicket.markup.html.PackageResource.EXTENSION_CSS
          Will be removed in 2.0; contribute resources one by one instead 
wicket.markup.html.PackageResource.EXTENSION_JS
          Will be removed in 2.0; contribute resources one by one instead 
 

Deprecated Methods
wicket.ajax.AjaxRequestTarget.addJavascript(String)
          use appendJavascript(String javascript) instead 
wicket.markup.html.BodyContainer.addOnLoadModifier(IModel)
          use BodyContainer.addOnLoadModifier(IModel, Component) instead 
wicket.markup.html.BodyContainer.addOnLoadModifier(String)
          use BodyContainer.addOnLoadModifier(String, Component) instead 
wicket.markup.html.BodyContainer.addOnUnLoadModifier(IModel)
          use BodyContainer.addOnUnLoadModifier(IModel, Component) instead 
wicket.markup.html.BodyContainer.addOnUnLoadModifier(String)
          use BodyContainer.addOnUnLoadModifier(String, Component) instead 
wicket.markup.html.PackageResource.bind(Application, Class, Pattern)
          Since Wicket 1.2.1 this method is effectively a no-op. package resources are automatically tried and bound as shared resources so that they don't have to be pre-registered anymore. Will be removed in 2.0 
wicket.markup.html.PackageResource.bind(Application, Class, Pattern, boolean)
          Since Wicket 1.2.1 this method is effectively a no-op. package resources are automatically tried and bound as shared resources so that they don't have to be pre-registered anymore. Will be removed in 2.0 
wicket.Page.checkAccess()
          this method is to be removed in future version in favor of instances of IAuthorizationStrategy such as AbstractPageAuthorizationStrategy. It isn't called anymore and made final so that people see what must be changed. 
wicket.util.crypt.ICrypt.decrypt(String)
            
wicket.util.crypt.ICrypt.encrypt(String)
            
wicket.behavior.HeaderContributor.forCss(Class)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.behavior.HeaderContributor.forCss(Class, Pattern)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.behavior.HeaderContributor.forCss(Class, Pattern, boolean)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.behavior.HeaderContributor.forJavaScript(Class)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.behavior.HeaderContributor.forJavaScript(Class, Pattern)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.behavior.HeaderContributor.forJavaScript(Class, Pattern, boolean)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.markup.html.PackageResource.get(Class, Pattern)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.markup.html.PackageResource.get(Class, Pattern, boolean)
          Will be removed in 2.0; contribute resources one by one instead 
wicket.Application.getAjaxSettings()
          use Application.getDebugSettings() instead 
wicket.Component.getApplicationPages()
            
wicket.Component.getApplicationSettings()
          will be removed after 1.2 
wicket.markup.html.form.upload.FileUpload.getFile()
          - this method was very counterintuitive. its been replaced by getClientFileName(). see bug 1372481. 
wicket.behavior.AbstractAjaxBehavior.getImplementationId()
          The mechanism will be changed for Wicket 2.0, where doubles are filtered in (future) class IHeaderResponse. 
wicket.markup.html.link.Link.getOnClickScript(String)
          this method will be removed by Link.getOnClickScript(CharSequence) shortly. Please override that method instead. 
wicket.markup.html.list.ListView.getOptimizeItemRemoval()
          Use ListView.getReuseItems() instead 
wicket.markup.html.tree.Tree.getOptimizeItemRemoval()
          Will be replaced by Tree.getReuseItems() 
wicket.markup.html.link.PopupSettings.getPageMap()
          will be removed in Wicket 2.0; use PopupSettings.getPageMap(Component) instead 
wicket.protocol.http.MockHttpServletRequest.getRealPath(String)
          Use ServletContext.getRealPath(String) instead. 
wicket.request.target.resource.ResourceStreamRequestTarget.getResponseType()
          Will be removed in 2.0. Response type can be determined by looking at the resource stream 
wicket.protocol.http.MockHttpSession.getSessionContext()
            
wicket.Application.getSettings()
          will be made private after 1.2 
wicket.settings.IExceptionSettings.getThrowExceptionOnMissingResource()
          use IResourceSettings.getThrowExceptionOnMissingResource() instead 
wicket.settings.IExceptionSettings.getUnexpectedExceptionDisplay()
          will be moved to IApplicationSettings in 2.0 
wicket.protocol.http.MockHttpSession.getValue(String)
          use getAttribute(String) instead 
wicket.protocol.http.MockHttpSession.getValueNames()
          use getAttributeNames() instead 
wicket.markup.html.form.FormComponent.inputAsStringArray()
          Use FormComponent.getInputAsArray() instead 
wicket.Component.isAncestorOf(Component)
          use getParent().contains(component, false) 
wicket.protocol.http.WebApplication.mountBookmarkablePage(String, PageMap, Class)
          You won't be able to use this mount. Use WebApplication.mountBookmarkablePage(String, String, Class) instead 
wicket.Component.onBeginRequest()
          use onAttach() instead. This method will be removed in 1.3 
wicket.Component.onEndRequest()
          This method will be removed in Wicket 1.3. It will PROBABLY be replaced by onEndRender or afterRender with different semantics. Instead of calling it after a request is done like is currently the case, that new method will be called after this component is rendered, which is a more precise scope. This semantical change shouldn't have a noticable impact on it's use I believe. 
wicket.Component.onRender()
          since 1.2 Please implement onRender(MarkupStream) instead 
wicket.protocol.http.MockHttpSession.putValue(String, Object)
          Use setAttribute(String, Object) instead 
wicket.protocol.http.MockHttpSession.removeValue(String)
          Use removeAttribute(String) instead 
wicket.markup.html.list.ListView.setOptimizeItemRemoval(boolean)
          Use ListView.setReuseItems(boolean) instead 
wicket.markup.html.tree.Tree.setOptimizeItemRemoval(boolean)
          Will be replaced by Tree.setReuseItems(boolean) 
wicket.protocol.http.MockHttpServletResponse.setStatus(int, String)
            
wicket.settings.IExceptionSettings.setThrowExceptionOnMissingResource(boolean)
          use IResourceSettings.setThrowExceptionOnMissingResource(boolean) instead 
wicket.settings.IExceptionSettings.setUnexpectedExceptionDisplay(IExceptionSettings.UnexpectedExceptionDisplay)
          will be moved to IApplicationSettings in 2.0 
wicket.behavior.AbstractAjaxBehavior.writeJsReference(Response, PackageResourceReference)
          use AbstractAjaxBehavior.writeJsReference(Response, ResourceReference) instead 
 

Deprecated Constructors
wicket.request.target.resource.ResourceStreamRequestTarget(IResourceStream, String)
          Will be removed in 2.0. Response type can be determined from resource stream 
 



Copyright © 2004-2007 Wicket developers. All Rights Reserved.