public class ScriptRenderer extends Renderer
Description:
Render a stylesheet link for the value of our component's
path attribute, prefixed by the context path of this
web application.
Based on example code by Sun Microsystems.
Copyright: Copyright (c) 2004
Organization: Sakai Project
| Constructor and Description |
|---|
ScriptRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(FacesContext context,
UIComponent component) |
void |
encodeBegin(FacesContext context,
UIComponent component) |
void |
encodeChildren(FacesContext context,
UIComponent component) |
void |
encodeEnd(FacesContext context,
UIComponent component)
Faces render output method to output script tag.
|
boolean |
supportsComponentType(UIComponent component) |
convertClientId, getConvertedValue, getRendersChildrenpublic boolean supportsComponentType(UIComponent component)
public void decode(FacesContext context, UIComponent component)
public void encodeChildren(FacesContext context, UIComponent component) throws IOException
encodeChildren in class RendererIOExceptionpublic void encodeBegin(FacesContext context, UIComponent component) throws IOException
encodeBegin in class RendererIOExceptionpublic void encodeEnd(FacesContext context, UIComponent component) throws IOException
Faces render output method to output script tag.
Method Generator: org.sakaiproject.tool.assessment.devtoolsRenderMaker
encodeEnd in class Renderercontext - FacesContext for the current requestcomponent - UIComponent being renderedIOException - if an input/output error occursCopyright © 2003–2014 University of Michigan. All rights reserved.