|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptTagDeclaration
This tag adds script files to include into the rendered page.
Deprecated (because of CSP): This tag adds client side script to the rendered page.
Method Summary | |
---|---|
void |
setFile(String file)
File name to include into the rendered page. |
void |
setOnexit(String onexit)
Deprecated. Since 2.0.0. Please include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_EXIT); |
void |
setOnload(String onload)
Deprecated. Since 2.0.0. Please include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.DOCUMENT_READY); or
Tobago.registerListener(myFunction, Tobago.Phase.WINDOW_LOAD); |
void |
setOnsubmit(String onsubmit)
Deprecated. Since 2.0.0. Please include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_SUBMIT); |
void |
setOnunload(String onunload)
Deprecated. Since 2.0.0. Please include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_UNLOAD); |
void |
setScript(String script)
Deprecated. Since 2.0.0. Please include a custom script file via the file attribute. |
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId |
---|
setId |
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding |
---|
setBinding |
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered |
---|
setRendered |
Method Detail |
---|
void setFile(String file)
file
- A JavaScript file.@Deprecated void setOnload(String onload)
Tobago.registerListener(myFunction, Tobago.Phase.DOCUMENT_READY);
or
Tobago.registerListener(myFunction, Tobago.Phase.WINDOW_LOAD);
@Deprecated void setOnunload(String onunload)
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_UNLOAD);
@Deprecated void setOnexit(String onexit)
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_EXIT);
@Deprecated void setOnsubmit(String onsubmit)
Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_SUBMIT);
@Deprecated void setScript(String script)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |