Esri Geoportal Server
1.0

com.esri.gpt.framework.jsf.components
Class PrepareViewTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentTag
              extended by 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

Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from class javax.faces.webapp.UIComponentTagBase
log
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Constructor Summary
PrepareViewTag()
           
 
Method Summary
 String getComponentType()
          Gets component type.
 String getRendererType()
          Gets renderer type.
 void release()
          Releases tag.
protected  void setProperties(UIComponent component)
          Sets properties.
 
Methods inherited from class javax.faces.webapp.UIComponentTag
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
 
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 javax.faces.webapp.UIComponentTagBase
getELContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Constructor Detail

PrepareViewTag

public PrepareViewTag()
Method Detail

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

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.