Class SingletonTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.deltava.taglib.content.SingletonTag
A JSP tag to create a singleton collection.
- Since:
- 5.1
- Version:
- 5.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
SingletonTag
public SingletonTag()
-
-
Method Details
-
setVar
Sets the page attribute to store the result in.- Parameters:
varName
- the page attribute name
-
setValue
-
doTag
public void doTag()Saves the collection in the request.- Specified by:
doTag
in interfaceSimpleTag
- Overrides:
doTag
in classSimpleTagSupport
-