Deprecated API


Contents
Deprecated Interfaces
org.apache.tapestry5.services.FieldFilter
          New APIs use Predicate instead 
org.apache.tapestry5.services.MethodFilter
          New APIs use Predicate instead 
org.apache.tapestry5.OptimizedApplicationStateObject
          since 5.1.0.0; use OptimizedSessionPersistedObject instead 
org.apache.tapestry5.PrimaryKeyEncoder
          This interface overlaps with ValueEncoder and has been deprecated in release 5.1. The interface itself will be removed in a later release of Tapestry. The components that used this interface (AjaxFormLoop, Grid, GridRows and Loop) have been changed to expect ValueEncoder instead, and an automatic coercion from PrimaryKeyEncoder to ValueEncoder has been provided. 
 

Deprecated Classes
org.apache.tapestry5.test.AbstractIntegrationTestSuite
          Use SeleniumLauncher and SeleniumTestCase instead. 
org.apache.tapestry5.BaseOptimizedApplicationStateObject
          since 5.1.0.0; use BaseOptimizedSessionPersistedObject instead 
org.apache.tapestry5.util.DefaultPrimaryKeyEncoder
          See deprecation notes for PrimaryKeyEncoder. 
org.apache.tapestry5.test.JettyRunner
          Use Jetty7Runner instead 
 

Deprecated Annotation Types
org.apache.tapestry5.annotations.ApplicationState
          Use SessionState instead 
 

Deprecated Fields
org.apache.tapestry5.hibernate.HibernateConstants.DEFAULT_CONFIGURATION
          Use HibernateSymbols.DEFAULT_CONFIGURATION instead 
org.apache.tapestry5.ioc.IOCConstants.DEFAULT_SCOPE
          Use ScopeConstants.DEFAULT instead. 
org.apache.tapestry5.corelib.components.Form.FAILURE
          Use constant from EventConstants instead. 
org.apache.tapestry5.ioc.IOCConstants.PERTHREAD_SCOPE
          Use ScopeConstants.PERTHREAD instead. 
org.apache.tapestry5.corelib.components.Form.PREPARE
          Use constant from EventConstants instead. 
org.apache.tapestry5.corelib.components.Form.PREPARE_FOR_RENDER
          Use constant from EventConstants instead. 
org.apache.tapestry5.corelib.components.Form.PREPARE_FOR_SUBMIT
          Use constant from EventConstants instead. 
org.apache.tapestry5.hibernate.HibernateConstants.PROVIDE_ENTITY_VALUE_ENCODERS_SYMBOL
          Use HibernateSymbols.PROVIDE_ENTITY_VALUE_ENCODERS instead. 
org.apache.tapestry5.SymbolConstants.SCRIPTS_AT_TOP
          since 5.1.0.1; scripts are now always at the top (see TAP5-544) 
org.apache.tapestry5.corelib.components.Form.SUBMIT
          Use constant from EventConstants instead. 
org.apache.tapestry5.corelib.components.Form.SUCCESS
          Use constant from EventConstants instead. 
org.apache.tapestry5.EventConstants.VALIDATE_FORM
          As of 5.2, this event should no longer be used; the Form component now fires a EventConstants.VALIDATE event. 
org.apache.tapestry5.corelib.components.Form.VALIDATE_FORM
          Use constant from EventConstants instead. 
 

Deprecated Methods
org.apache.tapestry5.services.ClassTransformation.addCatch(TransformMethodSignature, String, String)
          Use TransformMethod.addAdvice(ComponentMethodAdvice) instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.RenderSupport.addClasspathScriptLink(String...)
          Use JavascriptSupport.importJavascriptLibrary(Asset) instead 
org.apache.tapestry5.services.ClassTransformation.addField(int, String, String)
          Use ClassTransformation.createField(int, String, String) instead 
org.apache.tapestry5.RenderSupport.addInit(String, JSONArray)
          Use JavascriptSupport.addInitializerCall(String, JSONObject) instead (which may require changes to your JavaScript initializer function) 
org.apache.tapestry5.RenderSupport.addInit(String, JSONObject)
          Use JavascriptSupport.addInitializerCall(String, JSONObject) instead 
org.apache.tapestry5.RenderSupport.addInit(String, String...)
          Use JavascriptSupport.addInitializerCall(String, JSONObject) instead (which may require changes to your JavaScript initializer function), or (for a single parameter) JavascriptSupport.addInitializerCall(String, String) 
org.apache.tapestry5.services.ClassTransformation.addMethod(TransformMethodSignature, String)
          Use ClassTransformation.getOrCreateMethod(TransformMethodSignature) instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.model.MutableComponentModel.addParameter(String, boolean, boolean, String)
          Use MutableComponentModel.addParameter(String, boolean, boolean, String, boolean) instead. 
org.apache.tapestry5.RenderSupport.addScript(String)
          Use JavascriptSupport.addScript(String, Object...) instead 
org.apache.tapestry5.RenderSupport.addScript(String, Object...)
          Use JavascriptSupport.addScript(String, Object...) instead 
org.apache.tapestry5.RenderSupport.addScriptLink(Asset...)
          Use JavascriptSupport.importJavascriptLibrary(Asset) instead 
org.apache.tapestry5.RenderSupport.addScriptLink(String...)
          Use JavascriptSupport.importJavascriptLibrary(Asset) instead 
org.apache.tapestry5.services.ClassTransformation.addTransformedMethod(TransformMethodSignature, String)
          Use ClassTransformation.getOrCreateMethod(TransformMethodSignature) instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.services.ClassTransformation.advise(TransformMethodSignature, ComponentMethodAdvice)
          Use TransformMethod.addAdvice(ComponentMethodAdvice) instead 
org.apache.tapestry5.RenderSupport.allocateClientId(ComponentResources)
          Use JavascriptSupport.allocateClientId(ComponentResources) instead 
org.apache.tapestry5.RenderSupport.allocateClientId(String)
          Use JavascriptSupport.allocateClientId(String) instead 
org.apache.tapestry5.services.ClassTransformation.claimField(String, Object)
          Use TransformField.claim(Object) instead 
org.apache.tapestry5.services.BeanModelSource.create(Class, boolean, Messages)
          use BeanModelSource.createDisplayModel(Class, org.apache.tapestry5.ioc.Messages) or BeanModelSource.createEditModel(Class, org.apache.tapestry5.ioc.Messages) 
org.apache.tapestry5.ComponentResourcesCommon.createActionLink(String, boolean, Object...)
          Use ComponentResourcesCommon.createEventLink(String, Object[]) instead 
org.apache.tapestry5.ioc.services.ClassFabUtils.createObjectCreatorProxy(ClassFab, Class, ObjectCreator, String)
          Use ClassFactory.createProxy(Class, ObjectCreator, String) instead 
org.apache.tapestry5.ComponentResourcesCommon.createPageLink(Class, boolean, Object...)
          Use PageRenderLinkSource.createPageRenderLink(Class) or PageRenderLinkSource.createPageRenderLinkWithContext(Class, Object[]) instead 
org.apache.tapestry5.ComponentResourcesCommon.createPageLink(String, boolean, Object...)
          Use PageRenderLinkSource.createPageRenderLink(String) or PageRenderLinkSource.createPageRenderLinkWithContext(String, Object[]) instead 
org.apache.tapestry5.services.ComponentDefaultProvider.defaultTranslator(String, ComponentResources)
          Use ComponentDefaultProvider.defaultTranslatorBinding(String, org.apache.tapestry5.ComponentResources) instead 
org.apache.tapestry5.services.ComponentDefaultProvider.defaultValidator(String, ComponentResources)
          Use ComponentDefaultProvider.defaultValidatorBinding(String, org.apache.tapestry5.ComponentResources) instead 
org.apache.tapestry5.services.ClassTransformation.extendConstructor(String)
          Use methods that create or inject fields (directly or indirectly) 
org.apache.tapestry5.services.ClassTransformation.extendExistingMethod(TransformMethodSignature, String)
          Use instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.services.ClassTransformation.extendMethod(TransformMethodSignature, String)
          Use TransformMethod#extend(String) instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.services.ClassTransformation.findFields(FieldFilter)
          Use ClassTransformation.matchFields(Predicate) instead 
org.apache.tapestry5.services.ClassTransformation.findFieldsWithAnnotation(Class)
          Use ClassTransformation.matchFieldsWithAnnotation(Class) instead 
org.apache.tapestry5.services.ClassTransformation.findMethods(MethodFilter)
          Use ClassTransformation.matchMethods(Predicate) instead 
org.apache.tapestry5.services.ClassTransformation.findUnclaimedFields()
          Use ClassTransformation.matchUnclaimedFields() instead 
org.apache.tapestry5.services.ClassTransformation.getFieldAnnotation(String, Class)
          Use AnnotationProvider.getAnnotation(Class) instead 
org.apache.tapestry5.services.ClassTransformation.getFieldModifiers(String)
          Use TransformField.getModifiers() instead 
org.apache.tapestry5.services.ClassTransformation.getFieldType(String)
          Use TransformField.getType() instead 
org.apache.tapestry5.services.ClassTransformation.getMethodAnnotation(TransformMethodSignature, Class)
          Use AnnotationProvider.getAnnotation(Class) instead 
org.apache.tapestry5.services.ClassTransformation.getMethodIdentifier(TransformMethodSignature)
          Use TransformMethod.getMethodIdentifier() instead 
org.apache.tapestry5.dom.Element.getParent()
          since 5.1.0.1, use Node.getContainer() instead 
org.apache.tapestry5.services.ClassTransformation.getResourcesFieldName()
          Obtain the resources from ComponentResourcesAware.getComponentResources() or as passed to ComponentValueProvider.get(ComponentResources) instead 
org.apache.tapestry5.services.ClassTransformation.injectField(String, Object)
          Use TransformField.inject(Object) instead 
org.apache.tapestry5.services.ClassTransformation.isMethodOverride(TransformMethodSignature)
          Use TransformMethod.isOverride() instead 
org.apache.tapestry5.services.ClassTransformation.makeReadOnly(String)
          Use TransformField.replaceAccess(TransformField) instead 
org.apache.tapestry5.services.ClassTransformation.prefixMethod(TransformMethodSignature, String)
          Use TransformMethod.addAdvice(ComponentMethodAdvice) instead. This method is non-functional as of Tapestry 5.2. 
org.apache.tapestry5.services.ClassTransformation.removeField(String)
          This method is non-functional as of Tapestry 5.2 
org.apache.tapestry5.services.ClassTransformation.replaceReadAccess(String, String)
          Use {@link TransformField#replaceAccess(ComponentValueProvider) instead 
org.apache.tapestry5.services.ClassTransformation.replaceWriteAccess(String, String)
          Use {@link TransformField#replaceAccess(ComponentValueProvider) instead 
 

Deprecated Constructors
org.apache.tapestry5.services.PageRenderRequestParameters(String, EventContext)
          Use {@link #PageRenderRequestParameters(String, EventContext, boolean) 
org.apache.tapestry5.internal.TapestryAppInitializer(Logger, SymbolProvider, String, String)
          Use TapestryAppInitializer.TapestryAppInitializer(Logger, SymbolProvider, String, String, String) instead 
 

Deprecated Enum Constants
org.apache.tapestry5.dom.EndTagStyle.OMIT
          Tapestry always renders well formed XML markup (even when a DOCTYPE is not present, or the content type is traditional text/html). 
 



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