com.ideo.sweetdevria.taglib.zone
Class ZoneRefresherTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ideo.sweetdevria.taglib.AbstractTagDrawer
com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
com.ideo.sweetdevria.taglib.BaseTagSupport
com.ideo.sweetdevria.taglib.zone.ZoneRefresherTag
- All Implemented Interfaces:
- Hideable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ZoneRefresherTag
- extends BaseTagSupport
- implements IRiaTag, Hideable
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
BUILDER_ID
Builder Id. |
protected java.lang.String |
url
|
protected java.lang.String |
zoneId
|
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 |
Method Summary |
int |
doStartTag()
Default processing of the start tag. |
java.lang.String |
getBuilderId()
Return the targeted builder id for this component as specified in the configuration file. |
java.lang.String |
getUrl()
|
java.lang.String |
getZoneId()
|
boolean |
isMultiRefresh()
|
void |
release()
Release method which must call super.release ! |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Used by HTTP container. |
void |
setUrl(java.lang.String url)
Set the url that will be loaded in the targeted zone |
void |
setZoneId(java.lang.String zoneId)
Set the targeted zone id |
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport |
checkId, doAfterBody, doEndTag, doInitBody, getBodyContent, getId, isRendered, refractorContext, setBodyContent, setId, setRendered |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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.BodyTag |
doInitBody, setBodyContent |
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag |
doAfterBody |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setParent |
BUILDER_ID
protected static final java.lang.String BUILDER_ID
- Builder Id.
- See Also:
- Constant Field Values
zoneId
protected java.lang.String zoneId
url
protected java.lang.String url
ZoneRefresherTag
public ZoneRefresherTag()
- Constructor.
release
public void release()
- Description copied from interface:
IRiaTag
- Release method which must call super.release !
- Specified by:
release
in interface IRiaTag
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BaseTagSupport
- See Also:
BaseTagSupport.release()
setPageContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
- Description copied from interface:
IRiaTag
- Used by HTTP container. We should release tag here.
- Specified by:
setPageContext
in interface IRiaTag
- Specified by:
setPageContext
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
setPageContext
in class AbstractTagDrawer
- See Also:
com.ideo.sweetdevria.taglib
getBuilderId
public java.lang.String getBuilderId()
- Description copied from interface:
IRiaTag
- Return the targeted builder id for this component as specified in the configuration file.
- Specified by:
getBuilderId
in interface IRiaTag
- Specified by:
getBuilderId
in class AbstractTagDrawer
- Returns:
- id targeted builder id
- See Also:
com.ideo.sweetdevria.taglib
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from interface:
IRiaTag
- Default processing of the start tag.
- Specified by:
doStartTag
in interface IRiaTag
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class AbstractComponentTagSupport
- Returns:
- EVAL_BODY_AGAIN, EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY or SKIP_PAGE.
- Throws:
javax.servlet.jsp.JspException
- See Also:
IRiaTag.doStartTag()
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
- Set the url that will be loaded in the targeted zone
- Parameters:
url
- The url to load in the zone (absolute, relative, or application root)
getZoneId
public java.lang.String getZoneId()
setZoneId
public void setZoneId(java.lang.String zoneId)
- Set the targeted zone id
- Parameters:
zoneId
- The zone to act on
isMultiRefresh
public boolean isMultiRefresh()
Copyright © 2010 Ideo Technologies. All Rights Reserved.