|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavascriptManager
Manages javascript files of 3rd party libraries.
Method Summary | |
---|---|
List |
getAssets()
The javascript files that should always be included. |
IAsset |
getFirstAsset()
|
IAsset |
getFirstFormAsset()
|
IAsset |
getFirstWidgetAsset()
|
List |
getFormAssets()
The javascript files that provide form-related functionality. |
IAsset |
getPath()
The base path to the javascript files. |
IAsset |
getTapestryAsset()
The tapestry js file. |
IAsset |
getTapestryPath()
The base path to the tapestry js files. |
List |
getWidgetAssets()
The javascript files that provide widget-related functionality. |
void |
renderLibraryAdaptor(IMarkupWriter writer,
IRequestCycle cycle)
Output the resources needed for tapestry in order to use the current javascript library. |
void |
renderLibraryResources(IMarkupWriter writer,
IRequestCycle cycle,
boolean hasForm,
boolean hasWidget)
Output the resources (could be .js, .css, e.t.c. |
Method Detail |
---|
List getAssets()
IAsset
s.IAsset getFirstAsset()
List getFormAssets()
IAsset
s.IAsset getFirstFormAsset()
List getWidgetAssets()
IAsset
s.IAsset getFirstWidgetAsset()
IAsset getPath()
IAsset getTapestryAsset()
IAsset getTapestryPath()
void renderLibraryResources(IMarkupWriter writer, IRequestCycle cycle, boolean hasForm, boolean hasWidget)
writer
- cycle
- hasForm
- true if current page includes forms.hasWidget
- true if current page includes widgets.void renderLibraryAdaptor(IMarkupWriter writer, IRequestCycle cycle)
writer
- cycle
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |