Deprecated API


Contents
Deprecated Interfaces
org.apache.wicket.extensions.markup.html.tree.table.IColumn
           
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). 
org.apache.wicket.extensions.markup.html.tree.ITreeState
           
org.apache.wicket.extensions.markup.html.tree.ITreeStateListener
           
 

Deprecated Classes
org.apache.wicket.extensions.markup.html.tree.table.AbstractColumn
           
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.extensions.markup.html.tree.AbstractTree
           
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.util.visit.AllVisitFilter
          use IVisitFilter.ANY 
org.apache.wicket.util.lang.Arrays
          Use Arrays instead 
org.apache.wicket.extensions.markup.html.tree.BaseTree
           
org.apache.wicket.examples.ajax.builtin.tree.BaseTreePage
           
org.apache.wicket.markup.html.border.BoxBorder
          WICKET-4966 remove in Wicket 7 
org.apache.wicket.ajax.json.CDL
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.util.ClassProvider
          Use org.apache.wicket.util.reference.ClassReference instead 
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.ajax.json.Cookie
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.CookieList
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree
           
org.apache.wicket.examples.ajax.builtin.tree.EditableTreeTablePage
           
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.ajax.json.HTTP
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.HTTPTokener
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONML
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JsonSequenceStringer
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONWriter
          since 6.27.0/7.7.0 for legal reasons. Use JSONStringer instead. 
org.apache.wicket.extensions.markup.html.tree.LabelTree
           
org.apache.wicket.extensions.markup.html.tree.LinkTree
           
org.apache.wicket.examples.ajax.builtin.tree.SimpleTreePage
           
org.apache.wicket.extensions.markup.html.tree.Tree
           
org.apache.wicket.extensions.markup.html.tree.table.TreeTable
          Use TableTree instead 
org.apache.wicket.examples.ajax.builtin.tree.TreeTablePage
           
org.apache.wicket.core.util.string.UrlUtils
          Use UrlUtils instead. 
org.apache.wicket.extensions.markup.html.tree.WicketTreeModel
           
org.apache.wicket.ajax.json.XML
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.XMLTokener
          since 6.27.0/7.7.0 for legal reasons. 
 

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.util.lang.Arrays.copyOf(T[], int)
          Use Arrays.copyOf(Object[], int) 
org.apache.wicket.util.lang.Arrays.copyOfRange(T[], int, int)
          Use Arrays.copyOfRange(Object[], int, int) 
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.extensions.markup.html.repeater.data.table.PropertyColumn.createLabelModel(IModel)
          since 6.2.0, scheduled for removal in 7.0.0. Please use PropertyColumn.getDataModel(org.apache.wicket.model.IModel) instead. 
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.ajax.json.JSONObject.doubleToString(double)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONTokener.end()
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.extensions.yui.calendar.DateTimeField.getAmOrPm()
          valid during rendering only 
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.AjaxFallbackLink.getChannel()
           
org.apache.wicket.ajax.markup.html.AjaxLink.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.extensions.yui.calendar.DateTimeField.getDate()
          valid during rendering only 
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.extensions.yui.calendar.DateTimeField.getHours()
          valid during rendering only 
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.extensions.yui.calendar.DateTimeField.getMinutes()
          valid during rendering only 
org.apache.wicket.markup.WicketTag.getNameAttribute()
          This method is obsolete since a long time 
org.apache.wicket.ajax.json.JSONObject.getNames(Object)
          since 6.27.0/7.7.0 for legal reasons. 
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.atmosphere.AtmosphereBehavior.getUUID(AtmosphereResource)
          use AtmosphereResource.uuid() 
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.MarkupStream.hasMore()
          use MarkupStream.isCurrentIndexInsideTheStream() instead 
org.apache.wicket.ajax.json.JSONObject.increment(String)
          since 6.27.0/7.7.0 for legal reasons. 
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.request.Url.isAbsolute()
          Use #isContextAbsolute() or #isFull() 
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.ajax.json.JSONArray.put(int, Map)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONArray.put(Map)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONObject.put(String, Collection)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONObject.put(String, Map)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONObject.putOnce(String, Object)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.protocol.http.mock.MockHttpSession.putValue(String, Object)
          Use setAttribute(String, Object) instead 
org.apache.wicket.ajax.json.JSONObject.quote(String, Writer)
          since 6.27.0/7.7.0 for legal reasons. 
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.ajax.json.JSONObject.stringToValue(String)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONObject.testValidity(Object)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.request.mapper.ICompoundRequestMapper.unmount(String)
          since 6.18.0. To be removed in Wicket 7.0.0. See WebApplication.unmount(). 
org.apache.wicket.request.mapper.CompoundRequestMapper.unmount(String)
          since 6.18.0. To be removed in Wicket 7.0.0. See WebApplication.unmount(). 
org.apache.wicket.ajax.json.JSONObject.valueToString(Object)
          since 6.27.0/7.7.0 for legal reasons. 
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.ajax.json.JSONObject.write(Writer)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONArray.write(Writer)
          since 6.27.0/7.7.0 for legal reasons. 
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.ajax.json.JSONObject(Object, String[])
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONObject(String, Locale)
          since 6.27.0/7.7.0 for legal reasons. 
org.apache.wicket.ajax.json.JSONTokener(InputStream)
          since 6.27.0/7.7.0 for legal reasons. 
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 
org.apache.wicket.devutils.inspector.SessionSizeModel(Session)
           
 



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