nl.imsystems.atag.tags
Class AutoRefreshTag
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.AutoRefreshTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag
public class AutoRefreshTag
- extends ContainerBase
Tag handler for <a:autoRefresh/> tag.
This tag is used inside a component definition, and depending
on the value of the interval attribute will cause the
component to be automatically refereshed. An interval
value of less than 1 disables auto refresh on the component.
Attributes
|
Name
|
Required
|
Default
|
Description
|
|
interval
|
Yes
|
|
Sets the time in seconds for auto refresh interval
|
Supported By
<a:component/>
<a:autoRefresh/> can only be placed inside
a <a:component/> tag.
Supports
<a:param/>
<a:param/> tags can be added to
<a:autoRefresh/> and will be posted back
along with the auto refresh event.
- Author:
- kayvan
- See Also:
- Serialized Form
| Methods inherited from class nl.imsystems.atag.tags.ContainerBase |
addAction, addDependent, addParam, addReference, compileActions, getActions, getActions, getContollerUrl, getDependentsList, getParams, getParamsCSV, getViewUrl, isParentDependent, release, 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 |
AutoRefreshTag
public AutoRefreshTag()
setInterval
public void setInterval(String interval)
getInterval
public String getInterval()
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