|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @UseWith(value={COMPONENT,MIXIN,PAGE}) public @interface Import
Annotations to control the importing of JavaScript stacks and libraries as well as stylesheets. This annotation may
be placed on a class, in which case importing will occur as part of the SetupRender
render phase.
Alternately, the annotation maybe placed on any method (though typically it will be placed on a render phase
method) and the import operations will be associated of that method.
PageLifecycleAdapter.containingPageDidLoad()
lifecycle
method.
JavaScriptSupport
Optional Element Summary | |
---|---|
String[] |
library
JavaScript libraries to import. |
String[] |
stack
JavaScript Stacks to import. |
String[] |
stylesheet
Stylesheets to import. |
public abstract String[] stack
JavaScriptStack
,
JavaScriptSupport.importStack(String)
public abstract String[] library
JavaScriptSupport.importJavaScriptLibrary(org.apache.tapestry5.Asset)
public abstract String[] stylesheet
JavaScriptSupport.importStylesheet(org.apache.tapestry5.Asset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |