Deprecated API


Contents
Deprecated Interfaces
org.apache.wicket.markup.html.link.IPageLink
          Use PageProvider 
 

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.markup.html.border.BoxBorder
          WICKET-4966 remove in Wicket 7 
org.apache.wicket.core.util.string.UrlUtils
          Use UrlUtils instead. 
 

Deprecated Exceptions
org.apache.wicket.core.util.io.SerializableChecker.WicketNotSerializableException
          ObjectCheckException is thrown instead 
 

Deprecated Fields
org.apache.wicket.core.util.string.ComponentRenderer.COMP_ID
          Unused since WICKET-5232 
 

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.markup.html.navigation.paging.AjaxPagingNavigationIncrementLink.getEventHandler(String)
          This method is not used since Wicket 6.0.0 
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getFailureScript()
           
org.apache.wicket.markup.parser.filter.InlineEnclosureHandler.getInlineEnclosureAttribute(ComponentTag)
          This method always uses 'wicket:' as a namespace. It will be removed in Wicket 7 
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.core.util.io.SerializableChecker.isAvailable()
          Use ObjectChecker#isAvailable() instead 
org.apache.wicket.request.cycle.RequestCycle.isCleanupFeedbackMessagesOnDetach()
          see IApplicationSettings.getFeedbackMessageCleanupFilter() TODO 7.0 remove 
org.apache.wicket.Session.isCurrentRequestValid(RequestCycle)
          Not used since Wicket 1.5.0 
org.apache.wicket.markup.html.SecurePackageResourceGuard.newCache()
          Pass the cache as a parameter to the constructor 
org.apache.wicket.markup.html.form.FormComponent.onRequired(ComponentTag)
           
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)
            
org.apache.wicket.util.tester.BaseWicketTester.startComponent(Component)
          Use BaseWicketTester.startComponentInPage(Component) instead. WICKET-5097 
 

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 
org.apache.wicket.markup.html.form.AutoLabelTagHandler()
          Use #AutoLabelResolver(MarkupResourceStream) instead 
org.apache.wicket.core.request.mapper.HomePageMapper(ClassProvider)
           
org.apache.wicket.core.request.mapper.HomePageMapper(ClassProvider, IPageParametersEncoder)
           
org.apache.wicket.session.HttpSessionStore.SessionBindingListener(String)
          Use #SessionBindingListener(String, Session) instead 
org.apache.wicket.core.request.mapper.MountedMapper(String, ClassProvider)
           
org.apache.wicket.core.request.mapper.MountedMapper(String, ClassProvider, IPageParametersEncoder)
           
org.apache.wicket.markup.parser.filter.RootMarkupFilter(IXmlPullParser)
          Use #RootMarkupFilter(IXmlPullParser, MarkupResourceStream) instead 
 



Copyright © 2006–2014 Apache Software Foundation. All rights reserved.