Class RegionTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.layout.RegionTag
- All Implemented Interfaces:
Serializable,IterationTag,JspTag,Tag
A JSP tag to render page layouts in a user-specific way.
- Since:
- 1.0
- Version:
- 8.2
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Writes the layout element's closing tag to the JSP output stream.intWrites the layout element's opening tag to the JSP output stream.voidrelease()Releases the tag's state variables.voidsetClassName(String cName) Sets the CSS class name(s) of the Region element.voidSets the DOM ID of the Region element.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
-
Constructor Details
-
RegionTag
public RegionTag()
-
-
Method Details
-
setId
Sets the DOM ID of the Region element.- Overrides:
setIdin classTagSupport- Parameters:
id- the ID
-
setClassName
Sets the CSS class name(s) of the Region element.- Parameters:
cName- the CSS class names
-
release
public void release()Releases the tag's state variables.- Specified by:
releasein interfaceTag- Overrides:
releasein classTagSupport
-
doStartTag
Writes the layout element's opening tag to the JSP output stream.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classTagSupport- Returns:
- TagSuppport.EVAL_BODY_INCLUDE always
- Throws:
JspException- if an error occurs
-
doEndTag
Writes the layout element's closing tag to the JSP output stream.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- TagSuppport.EVAL_PAGE always
- Throws:
JspException- if an error occurs
-