nl.imsystems.atag.tags
Class PanelTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
nl.imsystems.atag.tags.ATagBase
nl.imsystems.atag.tags.ContainerBase
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PanelTag
public PanelTag()
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