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 java.lang.String PARAM_NAME
- See Also:
- Constant Field Values
ACTION_NAME
public static final java.lang.String ACTION_NAME
- See Also:
- Constant Field Values
TOOL_NAME
public static final java.lang.String TOOL_NAME
- See Also:
- Constant Field Values
WINDOW_PROPERTIES
public static final java.lang.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.
- Parameters:
facesContext - the FacesContextcomponent - the JSF component
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.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.
- Parameters:
facesContext - the FacesContextcomponent - the JSF component
- Throws:
java.io.IOException
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Encodes the control. Currently, this is an empty implementation.
- Parameters:
facesContext - the FacesContextcomponent - the JSF component
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Encodes the children of a given context. Currently, this is an empty
implementation and throws an IOException.
- Parameters:
facesContext - the FacesContextcomponent - the JSF component
- Throws:
java.io.IOException