Class SingletonTag

java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.deltava.taglib.content.SingletonTag
All Implemented Interfaces:
JspTag, SimpleTag

public class SingletonTag extends SimpleTagSupport
A JSP tag to create a singleton collection.
Since:
5.1
Version:
5.1
Author:
Luke
  • Constructor Details

    • SingletonTag

      public SingletonTag()
  • Method Details

    • setVar

      public void setVar(String varName)
      Sets the page attribute to store the result in.
      Parameters:
      varName - the page attribute name
    • setValue

      public void setValue(Object o)
      Sets the value.
      Parameters:
      o - the value
    • doTag

      public void doTag()
      Saves the collection in the request.
      Specified by:
      doTag in interface SimpleTag
      Overrides:
      doTag in class SimpleTagSupport