Deprecated API


Contents
Deprecated Classes
org.apache.wicket.validation.validator.AbstractValidator
          with changes to ValidationError in 6.0 this class serves very little purpose. Validators should implement IValidator directly and extend Behavior where needed. 
org.apache.wicket.core.util.string.UrlUtils
          Use UrlUtils instead. 
 

Deprecated Methods
org.apache.wicket.validation.ValidationError.addMessageKey(String)
          use ValidationError.addKey(String) 
org.apache.wicket.Session.cleanupFeedbackMessages()
          see IApplicationSettings.setFeedbackMessageCleanupFilter(org.apache.wicket.feedback.IFeedbackMessageFilter) for cleanup during testing see BaseWicketTester.cleanupFeedbackMessages() 
org.apache.wicket.markup.head.filter.JavaScriptFilteredIntoFooterHeaderResponse.createFooterFilter(String, FilteringHeaderResponse.IHeaderResponseFilter)
          no longer part of the API 
org.apache.wicket.markup.head.filter.JavaScriptFilteredIntoFooterHeaderResponse.createHeaderFilter(String)
          no longer part of the API 
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getChannel()
          Use AjaxRequestAttributes 
org.apache.wicket.ajax.markup.html.AjaxLink.getChannel()
           
org.apache.wicket.ajax.markup.html.AjaxFallbackLink.getChannel()
           
org.apache.wicket.ajax.markup.html.form.AjaxFallbackButton.getChannel()
          Use #updateAjaxAttributes() instead 
org.apache.wicket.ajax.markup.html.form.AjaxButton.getChannel()
           
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getFailureScript()
           
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getPreconditionScript()
          Use AjaxRequestAttributes 
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.getPreconditionScript()
           
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.ajax.AbstractDefaultAjaxBehavior.getSuccessScript()
           
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.request.cycle.RequestCycle.isCleanupFeedbackMessagesOnDetach()
          see IApplicationSettings.getFeedbackMessageCleanupFilter() TODO 7.0 remove 
org.apache.wicket.markup.html.SecurePackageResourceGuard.newCache()
          Pass the cache as a parameter to the constructor 
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.core.util.string.UrlUtils.rewriteToContextRelative(String, RequestCycle)
          use UrlUtils.rewriteToContextRelative(String, org.apache.wicket.request.IRequestCycle) instead 
org.apache.wicket.request.cycle.RequestCycle.setCleanupFeedbackMessagesOnDetach(boolean)
          see RequestCycle.isCleanupFeedbackMessagesOnDetach() TODO 7.0 remove 
org.apache.wicket.protocol.http.mock.MockHttpServletResponse.setStatus(int, String)
            
 

Deprecated Constructors
org.apache.wicket.behavior.AttributeAppender(String, boolean, IModel, String)
          use AttributeAppender.AttributeAppender(String, IModel) instead. 
org.apache.wicket.AttributeModifier(String, boolean, IModel)
          AttributeModifier will now always add the attribute if not present, use AttributeModifier.AttributeModifier(String, IModel) instead 
 



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.