nl.imsystems.atag.tags
Class PanelTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by nl.imsystems.atag.tags.ATagBase
              extended by nl.imsystems.atag.tags.ContainerBase
                  extended by nl.imsystems.atag.tags.PanelTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class PanelTag
extends ContainerBase

Tag handler for <a:panel/> tag.

A <a:panel/> tag is used to define the html souce of a panel.
<a:panel/> is always the root element of the jsp file that contains the panel definition.

Attributes

This tag has no attributes.

Supported By

<a:panel/> is always the root element of a jsp file.

Supports

<a:panelRef/>
Is used to reference another panel definition from within a panel definition.
<a:componentRef/>
Is used to reference a component definition from within a panel definition.
<a:wrapper/>
Is used in order to include components inline directly within a panel definition.

Variables Exported

The following variables are available during the scope of a <a:panel/> tag:

Name Type Description
id java.lang.String id attribute assigned to the refering reference. This is typically used as the id of the component.
Id java.lang.String As above with the first char capitalized.
bindPath java.lang.String bind attribute assigned to the refering reference. This is used to dereference a model object from one of the scopes using PageContext.findAttribute().
value java.lang.Object The object dereferenced by bidPath variable
params java.util.Properties User defined custom parameters added to the refering reference.

Author:
kayvan

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
PanelTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Default implementation that returns EVAL_BODY_BUFFERED.
 void release()
          Resets the Tag handler.
 
Methods inherited from class nl.imsystems.atag.tags.ContainerBase
addAction, addDependent, addParam, addReference, compileActions, getActions, getActions, getContollerUrl, getDependentsList, getParams, getParamsCSV, getViewUrl, isParentDependent, setControllerUrl, setDependents, setViewUrl
 
Methods inherited from class nl.imsystems.atag.tags.ATagBase
getAlias, getATagContext, getContextPath, getNamingContext, getParentTag, getRefererId, getRequest, getResponse, getTagId, popContext, pushContext, resolveRelativeName
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
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
getParent, setPageContext, setParent
 

Constructor Detail

PanelTag

public PanelTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Description copied from class: ContainerBase
Default implementation that returns EVAL_BODY_BUFFERED.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class ContainerBase
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException

release

public void release()
Description copied from class: ContainerBase
Resets the Tag handler.

Specified by:
release in interface Tag
Overrides:
release in class ContainerBase