com.ibm.commerce.taglibs.rememberme.tag

Class RememberMeCheckBoxTagSupport

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally


    public class RememberMeCheckBoxTagSupport
    extends IsRememberedUserTagSupport
    This class creates the check box required for the rememberMe parameter. If the current request is associated with a remembered user then the default state of the check box will be checked. This will also be the case if the rememberMe parameter is found on the URL.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String BLANK
      This constant indicates a blank parameter.
      static java.lang.String CHECK_BOX
      This field contains the produced HTML to create the remember me check box.
      static java.lang.String CHECKED
      This constant indicates that the check box default behaviour is checked.
      • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int doStartTag()
      This method creates the check box required for the rememberMe parameter.
      void setId(java.lang.String id)
      This method sets the id associated with the check box field.
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CHECK_BOX

        public static final java.lang.String CHECK_BOX
        This field contains the produced HTML to create the remember me check box. The substitution parameters are based on the input of the tag and conditions regarding remember me.
        See Also:
        Constant Field Values
      • BLANK

        public static final java.lang.String BLANK
        This constant indicates a blank parameter.
        See Also:
        Constant Field Values
      • CHECKED

        public static final java.lang.String CHECKED
        This constant indicates that the check box default behaviour is checked.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RememberMeCheckBoxTagSupport

        public RememberMeCheckBoxTagSupport()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        This method creates the check box required for the rememberMe parameter. If the current request is associated with a remembered user then the default state of the check box will be checked. This will also be the case if the rememberMe parameter is found on the URL.
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class IsRememberedUserTagSupport
        Returns:
        This method returns whether to skip the body of the JSTL tag.
        Throws:
        javax.servlet.jsp.JspException - Declared by the parent signature and thrown only if there is an IOException when writing the HTML.
        See Also:
        Tag.doStartTag()
      • setId

        public void setId(java.lang.String id)
        This method sets the id associated with the check box field.
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport
        Parameters:
        id - The id to associate with the HTML check box input field.