Service implemented by RenderKits that provide further support for per-page rendering actions, like including scripts global to a page or short-circuiting rendering altogether. Developers should always retrieve an instance using {@link org.apache.myfaces.trinidad.util.Service#getService}, passing in the current RenderKit, or with {@link org.apache.myfaces.trinidad.util.Service#getRenderKitService},
Example: The following code will add a script to be rendered during the following request:
ExtendedRenderKitService service = Service.getRenderKitService(facesContext, ExtendedRenderKitService.class); service.addScript(facesContext, "alert('foo');");@author The Oracle ADF Faces Team
|
|