Uses of Interface
org.apache.tapestry5.services.javascript.JavaScriptSupport
Packages that use JavaScriptSupport
Package
Description
Base components intended to be extended by other components rather than
used directly in templates.
[INTERNAL USE ONLY] AJAX support services; API subject to change
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
[INTERNAL USE ONLY] various utility classes; API subject to change.
Utilities for handling Ajax-oriented requests, including partial render requests.
Support for Javascript (and CSS), including dynamically-added JavaScript and
services that manage dynamically-added links to JavaScript (and CSS) assets.
Support for testing Tapestry pages
Validators for use by Tapestry (and custom) form field components.
-
Uses of JavaScriptSupport in org.apache.tapestry5.beanvalidator.modules
Methods in org.apache.tapestry5.beanvalidator.modules with parameters of type JavaScriptSupportModifier and TypeMethodDescriptionstatic void
BeanValidatorModule.contributeClientConstraintDescriptorSource
(JavaScriptSupport javaScriptSupport, Configuration<ClientConstraintDescriptor> configuration) -
Uses of JavaScriptSupport in org.apache.tapestry5.corelib.base
Fields in org.apache.tapestry5.corelib.base declared as JavaScriptSupportModifier and TypeFieldDescriptionprotected JavaScriptSupport
AbstractField.javaScriptSupport
protected JavaScriptSupport
BaseClientElement.javaScriptSupport
-
Uses of JavaScriptSupport in org.apache.tapestry5.internal.services.ajax
Classes in org.apache.tapestry5.internal.services.ajax that implement JavaScriptSupportMethods in org.apache.tapestry5.internal.services.ajax that return JavaScriptSupportModifier and TypeMethodDescriptionJavaScriptSupportImpl.autofocus
(FieldFocusPriority priority, String fieldId) JavaScriptSupportImpl.importJavaScriptLibrary
(String libraryURL) JavaScriptSupportImpl.importJavaScriptLibrary
(Asset asset) JavaScriptSupportImpl.importStack
(String stackName) JavaScriptSupportImpl.importStylesheet
(Asset stylesheet) JavaScriptSupportImpl.importStylesheet
(StylesheetLink stylesheetLink) Constructors in org.apache.tapestry5.internal.services.ajax with parameters of type JavaScriptSupportModifierConstructorDescriptionAjaxResponseRendererImpl
(PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController, TypeCoercer typeCoercer, JavaScriptSupport javaScriptSupport, RequestPageCache requestPageCache, Request request) -
Uses of JavaScriptSupport in org.apache.tapestry5.internal.transform
Constructors in org.apache.tapestry5.internal.transform with parameters of type JavaScriptSupportModifierConstructorDescriptionImportWorker
(JavaScriptSupport javascriptSupport, SymbolSource symbolSource, AssetSource assetSource, ResourceChangeTracker resourceChangeTracker, PropertyValueProviderWorker propertyValueProviderWorker) -
Uses of JavaScriptSupport in org.apache.tapestry5.internal.translator
Constructors in org.apache.tapestry5.internal.translator with parameters of type JavaScriptSupportModifierConstructorDescriptionNumericTranslatorSupportImpl
(TypeCoercer typeCoercer, ThreadLocale threadLocale, JavaScriptSupport javascriptSupport) -
Uses of JavaScriptSupport in org.apache.tapestry5.internal.util
Constructors in org.apache.tapestry5.internal.util with parameters of type JavaScriptSupportModifierConstructorDescriptionAutofocusValidationDecorator
(ValidationDecorator delegate, ValidationTracker tracker, JavaScriptSupport javascriptSupport) -
Uses of JavaScriptSupport in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules that return JavaScriptSupportModifier and TypeMethodDescriptionJavaScriptModule.buildJavaScriptSupport()
Builds a proxy to the currentJavaScriptSupport
inside this thread'sEnvironment
. -
Uses of JavaScriptSupport in org.apache.tapestry5.services.ajax
Methods in org.apache.tapestry5.services.ajax with parameters of type JavaScriptSupportModifier and TypeMethodDescriptionvoid
JavaScriptCallback.run
(JavaScriptSupport javascriptSupport) Perform some work with the support object, which is typically to invokeaddInitializerCall(String, org.apache.tapestry5.json.JSONObject)
to setup some client-side behavior. -
Uses of JavaScriptSupport in org.apache.tapestry5.services.javascript
Methods in org.apache.tapestry5.services.javascript that return JavaScriptSupportModifier and TypeMethodDescriptionJavaScriptSupport.autofocus
(FieldFocusPriority priority, String fieldId) Invoked to set focus on a rendered field.JavaScriptSupport.importJavaScriptLibrary
(String libraryURL) Import a Javascript library with an arbitrary URL.JavaScriptSupport.importJavaScriptLibrary
(Asset asset) Imports a JavaScript library as part of the rendered page.JavaScriptSupport.importStack
(String stackName) Imports aJavaScriptStack
by name, a related set of JavaScript libraries and stylesheets.JavaScriptSupport.importStylesheet
(Asset stylesheet) A convenience method that wraps the Asset as aStylesheetLink
.JavaScriptSupport.importStylesheet
(StylesheetLink stylesheetLink) Imports a Cascading Style Sheet file as part of the rendered page. -
Uses of JavaScriptSupport in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return JavaScriptSupportModifier and TypeMethodDescriptionprotected final JavaScriptSupport
TapestryTestCase.mockJavaScriptSupport()
-
Uses of JavaScriptSupport in org.apache.tapestry5.validator
Fields in org.apache.tapestry5.validator declared as JavaScriptSupportModifier and TypeFieldDescriptionprotected final JavaScriptSupport
AbstractValidator.javaScriptSupport
Constructors in org.apache.tapestry5.validator with parameters of type JavaScriptSupportModifierConstructorDescriptionprotected
AbstractValidator
(Class<C> constraintType, Class<T> valueType, String messageKey, JavaScriptSupport javaScriptSupport) Checked
(JavaScriptSupport javaScriptSupport, Html5Support html5Support) Email
(JavaScriptSupport javaScriptSupport, Html5Support html5Support) Max
(JavaScriptSupport javaScriptSupport, Html5Support html5Support) MaxLength
(JavaScriptSupport javaScriptSupport) Min
(JavaScriptSupport javaScriptSupport, Html5Support html5Support) MinLength
(JavaScriptSupport javaScriptSupport) Regexp
(JavaScriptSupport javaScriptSupport) Required
(JavaScriptSupport javaScriptSupport, Html5Support html5Support) Unchecked
(JavaScriptSupport javaScriptSupport, Html5Support html5Support)