org.apache.beehive.netui.tags.html
Class RetrievePopupOutput

Object
  extended by TagSupport
      extended by BodyTagSupport
          extended by AbstractClassicTag
              extended by RetrievePopupOutput
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, INetuiTag

public class RetrievePopupOutput
extends AbstractClassicTag

Causes a value to be retrieved when a popup window closes.

See Also:
Serialized Form
Example
     <netui:anchor action="getCityZipFromNestedPageFlow" popup="true">
         Get a city and zip code
         <netui:configurePopup resizable="false" width="400" height="200">
             <netui:retrievePopupOutput tagIdRef="zipCodeField" dataSource="outputFormBean.zipCode" />
             <netui:retrievePopupOutput tagIdRef="cityField" dataSource="outputFormBean.city" />
         </netui:configurePopup>
     </netui:anchor>

Field Summary
 
Fields inherited from class AbstractClassicTag
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT
 
Fields inherited from class BodyTagSupport
bodyContent
 
Fields inherited from class TagSupport
id, pageContext
 
Fields inherited from interface BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RetrievePopupOutput()
           
 
Method Summary
 int doStartTag()
           
 String getTagName()
          Return the name of the Tag.
protected  void localRelease()
          Release any acquired resources.
 void setDataSource(String dataSource)
          Sets an expression to be evaluated and retrieved from the popup window.
 void setTagIdRef(String tagIdRef)
          Sets the ID of the form field to populate with a popup output.
 
Methods inherited from class AbstractClassicTag
applyNamingChain, getErrorsReport, getIdForTagId, getNamingChain, getNextId, getScriptReporter, getUserLocale, hasErrors, qualifyAttribute, registerTagError, registerTagError, reportAndExit, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Tag
getParent, setPageContext, setParent
 

Constructor Detail

RetrievePopupOutput

public RetrievePopupOutput()
Method Detail

getTagName

public String getTagName()
Return the name of the Tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractClassicTag
Returns:
the name of the tag.

setTagIdRef

public void setTagIdRef(String tagIdRef)
Sets the ID of the form field to populate with a popup output.

Parameters:
tagIdRef - - the ID of the form field to populate with a popup output.

setDataSource

public void setDataSource(String dataSource)
Sets an expression to be evaluated and retrieved from the popup window.

Parameters:
dataSource - - an expression to be evaluated and retrieved from the popup window.

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException - if a JSP exception has occurred

localRelease

protected void localRelease()
Release any acquired resources.

Overrides:
localRelease in class AbstractClassicTag