Deprecated API

Deprecated Classes
org.apache.tapestry.request.RequestContext
          To be removed in 4.1. Use injection to gain access to the necessary objects. 
 

Deprecated Interfaces
org.apache.tapestry.engine.IComponentClassEnhancer
          To be removed in 4.1 
org.apache.tapestry.event.PageRenderListener
          To be removed in 4.1. Use PageBeginRenderListener and/or PageEndRenderListener. 
 

Deprecated Fields
org.apache.tapestry.IForm.ATTRIBUTE_NAME
          To be removed; use TapestryUtils.FORM_ATTRIBUTEinstead. 
org.apache.tapestry.TapestryConstants.EXCEPTION_PAGE
          To be removed in 4.1. 
org.apache.tapestry.TapestryConstants.HOME_PAGE
          To be removed in 4.1. 
org.apache.tapestry.Tapestry.PARAMETERS_QUERY_PARAMETER_NAME
          To be removed in 4.1. Use ServiceConstants.PARAMETERinstead. 
org.apache.tapestry.parse.SpecificationParser.SERVICE_NAME_PATTERN
          As of release 4.0, the <service> element (in 3.0 DTDs) is no longer supported. 
org.apache.tapestry.Tapestry.SERVICE_QUERY_PARAMETER_NAME
          To be removed in 4.1. Use ServiceConstants.SERVICEinstead. 
 

Deprecated Methods
org.apache.tapestry.IPage.addPageRenderListener(PageRenderListener)
          To be removed in 4.1 Use IPage.addPageBeginRenderListener(PageBeginRenderListener)or IPage.addPageEndRenderListener(PageEndRenderListener). 
org.apache.tapestry.AbstractPage.beginResponse(IMarkupWriter, IRequestCycle)
          To be removed in 4.0. Implement PageRenderListenerinstead. 
org.apache.tapestry.IRequestCycle.discardPage(String)
          To be removed in 4.1. Use IRequestCycle.forgetPage(String). 
org.apache.tapestry.form.Form.get(IRequestCycle)
          Use TapestryUtils.getForm(IRequestCycle, IComponent) instead. 
org.apache.tapestry.html.Body.get(IRequestCycle)
          To be removed in 4.1. Use org.apache.tapestry.TapestryUtils#getPageRenderSupport(IRequestCycle) instead. 
org.apache.tapestry.IEngine.getClassResolver()
          To be removed in 4.1. This value can be injected (into services). 
org.apache.tapestry.IEngine.getGlobal()
          To be removed in 4.1. Application state objects can now be injected. 
org.apache.tapestry.link.AbstractLinkComponent.getLink(IRequestCycle, String, Object)
          To be removed in 4.1; links may now have the necessary engine service injected. 
org.apache.tapestry.IEngine.getPropertySource()
          To be removed in 4.1. This value can now be injected. 
org.apache.tapestry.IRequestCycle.getRequestContext()
          To be removed in 4.1. 
org.apache.tapestry.IEngine.getScriptSource()
          To be removed in 4.1. This value can now be injected. 
org.apache.tapestry.IEngine.getService(String)
          To be removed in 4.1. Engine services can now be injected. 
org.apache.tapestry.spec.ILibrarySpecification.getServiceClassName(String)
          to be removed in release 4.1 
org.apache.tapestry.spec.ILibrarySpecification.getServiceNames()
          to be removed in release 4.1 
org.apache.tapestry.IRequestCycle.getServiceParameters()
          To be removed in 4.1. Use IRequestCycle.getListenerParameters()instead. 
org.apache.tapestry.spec.LibrarySpecification.getServices()
          To be removed in release 4.1. 
org.apache.tapestry.IEngine.getSpecification()
          To be removed in 4.1. This value can be injected. 
org.apache.tapestry.IEngine.getSpecificationSource()
          To be removed in 4.1. This value can be injected. 
org.apache.tapestry.IEngine.getVisit()
          To be removed in 4.1. Application state objects can now be injected. 
org.apache.tapestry.IEngine.getVisit(IRequestCycle)
          To be removed in 4.1. Application state objects can now be injected. 
org.apache.tapestry.AbstractPage.initialize()
          To be removed in 4.1 with no replacement. 
org.apache.tapestry.Tapestry.isBlank(String)
          To be removed in Tapestry 4.1. Use HiveMind.isBlank(java.lang.String) instead. 
org.apache.tapestry.Tapestry.isNonBlank(String)
          To be removed in Tapestry 4.1. Use HiveMind.isNonBlank(java.lang.String) instead. 
org.apache.tapestry.services.DataSqueezer.register(String, Class, ISqueezeAdaptor)
          as DataSqueezer evolves into a service. 
org.apache.tapestry.IPage.removePageRenderListener(PageRenderListener)
          To be removed in 4.1. Use IPage.removePageBeginRenderListener(PageBeginRenderListener)or IPage.removePageEndRenderListener(PageEndRenderListener). 
org.apache.tapestry.spec.ILibrarySpecification.setServiceClassName(String, String)
          To be removed in release 4.1. 
org.apache.tapestry.IRequestCycle.setServiceParameters(Object[])
          To be removed in 4.1. Use IRequestCycle.setListenerParameters(Object[])instead. 
org.apache.tapestry.spec.LibrarySpecification.setServices(Map)
          To be removed in release 4.1. 
org.apache.tapestry.IEngine.setVisit(Object)
          To be removed in 4.1. Application state objects can now be injected. 
 

Deprecated Constructors
org.apache.tapestry.asset.PrivateAsset(ClasspathResource, Location)
          To be removed (someday). Use PrivateAsset.PrivateAsset(ClasspathResource, IEngineService, Location) instead. 
org.apache.tapestry.parse.SpecificationParser(ClassResolver, SpecFactory)
          to be removed in release 4.1