Deprecated API


Contents
Deprecated Interfaces
org.apache.wicket.markup.html.link.IPageLink
          Use PageProvider 
org.apache.wicket.IRedirectListener
          Removed in Wicket 7.0. As replacement use RequestCycle.urlFor(org.apache.wicket.request.resource.ResourceReference, org.apache.wicket.request.mapper.parameter.PageParameters). 
 

Deprecated Classes
org.apache.wicket.util.iterator.AbstractHierarchyIterator
          Hierarchy iterators are deprecated because they have problems with pages with deep component tree. Use IVisitor instead. 
org.apache.wicket.util.iterator.AbstractHierarchyIteratorWithFilter
          Hierarchy iterators are deprecated because they have problems with pages with deep component tree. Use IVisitor instead. 
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.util.iterator.ComponentHierarchyIterator
          Hierarchy iterators are deprecated because they have problems with pages with deep component tree. Use IVisitor instead. 
org.apache.wicket.markup.resolver.FragmentResolver
          no auto component is needed for a fragment tag 
org.apache.wicket.util.iterator.GenericComponentHierarchyIterator
          Hierarchy iterators are deprecated because they have problems with pages with deep component tree. Use IVisitor instead. 
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
          Not used since WICKET-5232 (6.9.0) 
org.apache.wicket.ajax.form.OnChangeAjaxBehavior.EVENT_INPUTCHANGE
           
 

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.util.tester.TagTester.createTagByAttribute(String, String)
          use TagTester.createTagByName(String, String) instead 
org.apache.wicket.util.tester.TagTester.createTagsByAttribute(String, String, String)
           
org.apache.wicket.request.handler.render.WebPageRenderer.getAndRemoveBufferedResponse(Url)
          Will be removed in Wicket 7.0. Use WebApplication.getAndRemoveBufferedResponse(String, org.apache.wicket.request.Url) instead 
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getChannel()
          Use AjaxRequestAttributes 
org.apache.wicket.ajax.markup.html.form.AjaxButton.getChannel()
           
org.apache.wicket.ajax.markup.html.form.AjaxFallbackButton.getChannel()
          Use #updateAjaxAttributes() instead 
org.apache.wicket.ajax.markup.html.AjaxFallbackLink.getChannel()
           
org.apache.wicket.ajax.markup.html.AjaxLink.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.Application.getMarkupIdGenerator()
          In Wicket 7.x this method is part of MarkupSettings 
org.apache.wicket.markup.WicketTag.getNameAttribute()
          This method is obsolete since a long time 
org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.getPageParametersForListener(PageInfo, PageParameters)
          In Wicket 7.x use Component#canCallListenerInterfaceAfterExpiry() 
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.request.mapper.CryptoMapper.getWrappedMapper()
          Since 6.18.0, to be removed in 7.0.0. Use CryptoMapper.getDelegateMapper() instead. 
org.apache.wicket.markup.head.JavaScriptHeaderItem.internalRenderJavaScriptReference(Response, String, String, boolean, String, String)
          This method is here just for backward compatibility. Use the one with support for 'async'. 
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.WicketTag.isFragementTag()
          Use WicketTag.isFragmentTag() instead 
org.apache.wicket.util.cookies.CookieUtils.joinValues(String...)
          Cookies with multiple values are no more supported (WICKET-5648). This method will be removed in Wicket 7.x 
org.apache.wicket.markup.html.SecurePackageResourceGuard.newCache()
          Pass the cache as a parameter to the constructor 
org.apache.wicket.markup.resolver.HtmlHeaderResolver.newHtmlHeaderContainer(String)
          Use #newHtmlHeaderContainer(String, ComponentTag) instead 
org.apache.wicket.markup.html.form.FormComponent.onRequired(ComponentTag)
           
org.apache.wicket.markup.html.form.EnumChoiceRenderer.postprocess(String)
          Override #getDisplayValue() method and do the postprocessing after calling super.getDisplayValue(). 
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.Application.setMarkupIdGenerator(IMarkupIdGenerator)
          In Wicket 7.x this method is part of MarkupSettings 
org.apache.wicket.protocol.http.mock.MockHttpServletResponse.setStatus(int, String)
            
org.apache.wicket.util.cookies.CookieUtils.splitValue(String)
          Cookies with multiple values are no more supported (WICKET-5648). This method will be removed in Wicket 7.x 
org.apache.wicket.util.tester.BaseWicketTester.startComponent(Component)
          Use BaseWicketTester.startComponentInPage(Component) instead. WICKET-5097 
org.apache.wicket.MarkupContainer.visitChildren()
          ComponentHierarchyIterator is deprecated. Use MarkupContainer.visitChildren(org.apache.wicket.util.visit.IVisitor) instead 
org.apache.wicket.MarkupContainer.visitChildren(Class)
          ComponentHierarchyIterator is deprecated. Use MarkupContainer.visitChildren(Class, org.apache.wicket.util.visit.IVisitor) instead. 
org.apache.wicket.request.resource.AbstractResource.WriteCallback.writeStream(IResource.Attributes, InputStream)
          Not used since 6.20.0. Removed in 7.0.0 
 

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–2016 Apache Software Foundation. All rights reserved.