|
RichFaces Core API 4.1.0.20110805-M1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaScriptService
This service stores JavaScript objects for deffered rendering, as described on http://community.jboss.org/wiki/RichFacesJavaScripthandling
Method Summary | ||
---|---|---|
|
addPageReadyScript(javax.faces.context.FacesContext facesContext,
S script)
This method adds script that has to be executed in page.onready event listener, as required by jQuery components. |
|
|
addScript(javax.faces.context.FacesContext facesContext,
S script)
Adds new script to render at the end of page. |
|
ScriptsHolder |
getScriptsHolder(javax.faces.context.FacesContext context)
Get object with collection of scripts designeted for deffered rendering. |
Method Detail |
---|
<S> S addScript(javax.faces.context.FacesContext facesContext, S script)
Adds new script to render at the end of page. Is the same script already set to render ( lookup by equals() method ), no new object added.
facesContext
- TODOscript
-
<S> S addPageReadyScript(javax.faces.context.FacesContext facesContext, S script)
This method adds script that has to be executed in page.onready event listener, as required by jQuery components.
S
- facesContext
- TODOscript
-
ScriptsHolder getScriptsHolder(javax.faces.context.FacesContext context)
Get object with collection of scripts designeted for deffered rendering.
context
-
|
RichFaces Core API 4.1.0.20110805-M1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |