|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScript
An object that can convert a set of symbols into a collection of JavaScript statements.
IScript implementation must be threadsafe.
Method Summary | |
---|---|
void |
execute(IComponent target,
IRequestCycle cycle,
IScriptProcessor processor,
Map symbols)
Executes the script, which will read and modify the symbols Map . |
void |
execute(IRequestCycle cycle,
IScriptProcessor processor,
Map symbols)
Deprecated. To be removed in Tapestry 4.2. Use the new execute(IComponent, IRequestCycle, IScriptProcessor, Map) method instead. |
org.apache.hivemind.Resource |
getScriptResource()
Returns the location from which the script was loaded. |
Method Detail |
---|
org.apache.hivemind.Resource getScriptResource()
void execute(IRequestCycle cycle, IScriptProcessor processor, Map symbols)
execute(IComponent, IRequestCycle, IScriptProcessor, Map)
method instead.
Map
. The
script works with the IScriptProcessor
to get the generated JavaScript
included on the page.
cycle
- the current request cycleprocessor
- an object that processes the results of the script, typically
an instance of Body
symbols
- Map of input symbols; execution of the script may modify the map,
creating new output symbolsTapestryUtils.getPageRenderSupport(IRequestCycle, IComponent)
void execute(IComponent target, IRequestCycle cycle, IScriptProcessor processor, Map symbols)
Map
. The
script works with the IScriptProcessor
to get the generated JavaScript
included on the page.
target
- The component this script is being executed by/forcycle
- the current request cycleprocessor
- an object that processes the results of the script, typically
an instance of Body
symbols
- Map of input symbols; execution of the script may modify the map,
creating new output symbolsTapestryUtils.getPageRenderSupport(IRequestCycle, IComponent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |