Deprecated API
Contents
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionIn 5.4; use
InvalidationEventHub.addInvalidationCallback(Runnable)
insteadIn Tapestry 5.4; useMethodAdvice
and other parts of the new (in 5.3) plastic library.Deprecated in 5.4 with no replacement; see release notes about classpath assets moving to /META-INF/assets/. To be removed in 5.5.in 5.3.4In Tapestry 5.3, to be removed in a later release.Deprecated in 5.4, usePerthreadManager.addThreadCleanupCallback(Runnable)
instead.in 5.3.4, replaced withPageLifecycleCallbackHub
Deprecated in 5.4, with no replacement. This will no longer be used in Tapestry 5.5, as all classpath assets will need to be under theMETA-INF/assets
folder (but may be maintained for compatibility reasons until 5.6).Deprecated in 5.4 with no replacement. UseJavaScriptSupport
directly, instead.UseLinkCreationListener2
insteadDeprecated in 5.4 with no replacement; see release notes about classpath assets moving to /META-INF/assets/, and content checksums inside asset URLsDeprecated in 5.3, override or decorateComponentResourceSelector
instead.Deprecated in 5.4 with no replacement, asValidationDecorator
is being phased out.Deprecated in 5.4 with no replacement.
-
Deprecated ClassesClassDescriptionDeprecated in 5.3; use the
AjaxResponseRenderer
service instead of returning an instance of MultiZoneUpdateAs of release 5.4, replaced byOverrideFieldFocus
Deprecated in 5.4 with no replacement.Deprecated in 5.3this class is superseded byTypeCoercedValueEncoderFactory
and scheduled to be removed in Tapestry 5.5In 5.4, with no replacementin 5.3.4, asPageLifecycleListener
has been deprecatedDeprecated in 5.4 (see notes inClasspathAssetAliasManager
).In 5.4, with no replacementIn 5.4, with no replacementIn 5.4, with no replacementplease useJettyRunner
insteadPlease useTomcatRunner
instead
-
Deprecated Annotation TypesAnnotation TypeDescriptionThis rarely used annotation is likely to cause threading issues starting in Tapestry 5.2 (which no longer pools pages but uses shared instances with externalized mutable state)Deprecated in Tapestry 5.3, to be removed in a later release. Use
Inject
instead.Deprecated in 5.4, useImportModule
instead.
-
Deprecated FieldsFieldDescriptionDeprecated in Tapestry 5.4 with no replacement (beyond the name of the value itself).Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement; decoration of fields with validation errors has moved to the client.Deprecated in 5.4 with no replacement; decoration of fields with validation errors has moved to the client.Removed in Tapestry 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Deprecated in 5.4 with no replacement.Use
HibernateSymbols.DEFAULT_CONFIGURATION
insteadUseHibernateSymbols.PROVIDE_ENTITY_VALUE_ENCODERS
instead.useTapestryHttpSymbolConstants.TAPESTRY_VERSION
instead.UseCommonsUtils.EMPTY_STRING_ARRAY
insteadDeprecated in Tapestry 5.4 with no replacement. Do not use.Deprecated in Tapestry 5.4 with no replacement. Do not use.
-
Deprecated MethodsMethodDescriptionin 5.4, use
InvalidationEventHub.addInvalidationCallback(Runnable)
instead}In 5.3.4, useComponentResources.getPageLifecycleCallbackHub()
insteadin 5.3.4, not necessary withPageLifecycleCallbackHub.addPageLoadedCallback(Runnable)
.In 5.4; previously used only for testingDeprecated in 5.4, as this is now special behavior for the "class" attribute.in 5.4, inject the value for symbolSymbolConstants.CONTEXT_PATH
insteadin 5.3.4,in 5.3.4, due to introduction ofPageLifecycleCallbackHub.addPageLoadedCallback(Runnable)
Deprecated in 5.4; useExceptionUtils.toMessage(Throwable)
instead.Deprecated in 5.4, usePerthreadManager.addThreadCleanupCallback(Runnable)
instead.UseJSONArray.size()
instead.The use ofJSONArray.add(Object)
is encouraged.useJSONObject.containsKey(Object)
insteadUseJSONObject.size()
instead.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageAttachedCallback(Runnable)
instead.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageDetachedCallback(Runnable)
instead.in 5.3.4, usePageLifecycleCallbackHub.addPageLoadedCallback(Runnable)
insteadIn Tapestry 5.3, with no replacement (persisted fields now lazily restore their state)org.apache.tapestry5.services.ClientBehaviorSupport.addFormFragment(String, boolean, String, String) In 5.4; use thecore/form-fragment
module instead.org.apache.tapestry5.services.ComponentDefaultProvider.defaultTranslator(String, ComponentResources) Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Use theCookieBuilder
API, obtained withCookies.getBuilder(String, String)
, instead.Deprecated in 5.4 with no replacement; not longer used by Tapestry.Deprecated in 5.4 with no replacement; not longer used by Tapestry.Deprecated in 5.4 with no exact replacement; this default implementation now does nothing. InvokeFormSupport.isClientValidationEnabled()
, and (if true), useJavaScriptSupport
to add necessary modules, and add triggering and configuring attributes to the field'sElement
.Deprecated in Tapestry 5.4; may be removed in a future release. Implementations may return null.Deprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadDeprecated in 5.4; refactor to use JavaScript modules insteadIn 5.4, useLibraryMapping.libraryName
instead.useMarkupWriterFactory.newMarkupWriter(Page)
instead which doesn't rely on the content type alone.useMarkupWriterFactory.newPartialMarkupWriter(Page)
instead which doesn't rely on the content type alone.Deprecated in 5.3; useComponentMessagesSource.getMessages(ComponentModel, ComponentResourceSelector)
instead.Deprecated in 5.4 in favor of the version without a timeoutDeprecated in 5.4 with no replacementDeprecated in 5.4 with no replacement.
-
Deprecated ConstructorsConstructorDescriptionIn 5.3, may be removed in a later release. Use
StylesheetOptions(String)
andStylesheetOptions.withCondition(String)
} instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionDeprecated in 5.4, and no longer supported.Deprecated in 5.4; this is now treated as "earlier than early".Deprecated in 5.4 with no replacement; initialization may be removed in the future.