|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageRenderSupport
Extends IScriptProcessor with a handful of additional methods
needed when rendering a page response.
Body,
TapestryUtils.getPageRenderSupport(IRequestCycle, IComponent)| Method Summary | |
|---|---|
String |
getPreloadedImageReference(IComponent target,
IAsset source)
Operates in the same way that getPreloadedImageReference(IComponent, String) does, except
the source is the actual IAsset of an image to preload. |
String |
getPreloadedImageReference(IComponent target,
String url)
Sets up the given URL to preload, and returns a reference to the loaded image, in the form of a snippet of JavaScript expression that can be inserted into some larger block of JavaScript as a function parameter, or as a property assignment. |
String |
getPreloadedImageReference(String url)
Deprecated. To be removed in 4.2, use getPreloadedImageReference(IComponent, String)
or getPreloadedImageReference(IComponent, IAsset) instead. |
| Methods inherited from interface org.apache.tapestry.IScriptProcessor |
|---|
addBodyScript, addBodyScript, addExternalScript, addExternalScript, addInitializationScript, addInitializationScript, addScriptAfterInitialization, getUniqueString, isBodyScriptAllowed, isExternalScriptAllowed, isInitializationScriptAllowed |
| Method Detail |
|---|
String getPreloadedImageReference(String url)
getPreloadedImageReference(IComponent, String)
or getPreloadedImageReference(IComponent, IAsset) instead.
tapestry_preload[7].src.
url - The url to the resource to be preloaded.
String getPreloadedImageReference(IComponent target,
IAsset source)
getPreloadedImageReference(IComponent, String) does, except
the source is the actual IAsset of an image to preload.
target - The component the asset is being loaded for.source - The asset image to preload.
String getPreloadedImageReference(IComponent target,
String url)
tapestry_preload[7].src.
target - The component url being loaded for.url - The asset URL to preload.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||