nl.imsystems.atag.tags
Class ComponentTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
nl.imsystems.atag.tags.ATagBase
nl.imsystems.atag.tags.ComponentTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class ComponentTag
- extends ATagBase
Tag handler for <a:component/>
tag.
A <a:component/>
tag is used to define the
html souce of a component.
<a:component/>
is always the root element
of the jsp file that contains the component definition.
Attributes
This tag has no attributes.
Supported By
<a:component/>
is always the root element
of a jsp file.
Supports
<a:autoRefresh/>
<a:autoRefresh/>
can be added to a component
in order to automatically refresh the component at regular intervals.
Variables Exported
The following variables are available during the scope of
a <a:component/>
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.
|
name
|
java.lang.String
|
paramName attribute assigned to the refering reference.
This value is typically used as the name of the component.
|
bindPath
|
java.lang.String
|
bind attribute assigned to the refering reference.
This is used to dereference a model object from one
of the scopes.
|
value
|
java.lang.Object
|
The object dereferenced by bindPath variable
using PageContext.findAttribute() .
|
params
|
java.util.Properties
|
User defined custom parameters added to the refering
reference.
|
- Author:
- kayvan
- See Also:
- Serialized Form
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 |
ComponentTag
public ComponentTag()
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BodyTagSupport
- 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()
- Specified by:
release
in interface Tag
- Overrides:
release
in class BodyTagSupport