com.esri.gpt.framework.jsf.components
Class PrepareViewTag
java.lang.Object
javax.faces.webapp.UIComponentTagBase
javax.faces.webapp.UIComponentClassicTagBase
javax.faces.webapp.UIComponentTag
com.esri.gpt.framework.jsf.components.PrepareViewTag
- All Implemented Interfaces:
- BodyTag, IterationTag, JspIdConsumer, JspTag, Tag
public class PrepareViewTag
- extends UIComponentTag
Initializes view of the page.
Calls actionListener to initialize page and updates error/success messages.
Tag has only one attribute: actionListener which is a required
attribute.
Example of tag usage is as follows:
<gpt:pageViewInit actionListener="#{Controller.method}"/>
- See Also:
UIPrepareView
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase |
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrepareViewTag
public PrepareViewTag()
getComponentType
public String getComponentType()
- Gets component type.
- Specified by:
getComponentType
in class UIComponentTagBase
- Returns:
- component type (
UIPrepareView.COMPONENT_TYPE
)
getRendererType
public String getRendererType()
- Gets renderer type.
- Specified by:
getRendererType
in class UIComponentTagBase
- Returns:
null
release
public void release()
- Releases tag.
- Specified by:
release
in interface Tag
- Overrides:
release
in class UIComponentTag
setProperties
protected void setProperties(UIComponent component)
- Sets properties.
- Overrides:
setProperties
in class UIComponentTag
- Parameters:
component
- component
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.