com.esri.adf.web.faces.renderkit.xml
Class TaskRenderer
java.lang.Object
javax.faces.render.Renderer
com.esri.adf.web.faces.renderkit.xml.TaskRenderer
public class TaskRenderer
- extends javax.faces.render.Renderer
A renderer for the TaskControl
. Generates an XML representation of the control and then uses XSLT to
transform it to the required markup.
Method Summary |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Determines if the request is to be handled by the associated task control. |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Encodes the control. |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Encodes the children of a given context. |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Generates an XML representation of the TaskControl and then encodes it using XSLT to transform to the
required markup. |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_NAME
public static final String PARAM_NAME
- See Also:
- Constant Field Values
ACTION_NAME
public static final String ACTION_NAME
- See Also:
- Constant Field Values
TOOL_NAME
public static final String TOOL_NAME
- See Also:
- Constant Field Values
WINDOW_PROPERTIES
public static final String WINDOW_PROPERTIES
- See Also:
- Constant Field Values
TaskRenderer
public TaskRenderer()
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
- Determines if the request is to be handled by the associated task control. If so, it retrieves the required
parameters from the request and then fires an event on the tast control.
- Overrides:
decode
in class javax.faces.render.Renderer
- Parameters:
facesContext
- the FacesContext
component
- the JSF component
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Generates an XML representation of the
TaskControl
and then encodes it using XSLT to transform to the
required markup. Further, it applies the properties of the control set by the user to the associated Task object.
- Overrides:
encodeEnd
in class javax.faces.render.Renderer
- Parameters:
facesContext
- the FacesContext
component
- the JSF component
- Throws:
IOException
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
- Encodes the control. Currently, this is an empty implementation.
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Parameters:
facesContext
- the FacesContext
component
- the JSF component
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
- Encodes the children of a given context. Currently, this is an empty implementation and throws an IOException.
- Overrides:
encodeChildren
in class javax.faces.render.Renderer
- Parameters:
facesContext
- the FacesContext
component
- the JSF component