com.ibm.commerce.taglibs.rememberme.tag

Class RememberMeLogonFieldTagSupport

  • 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 RememberMeLogonFieldTagSupport
    extends IsRememberedUserTagSupport
    This method creates the logon input field required for the logonId parameter. If the current request is associated with a remembered user then the default value of the parameter will be the found value. This will also be the case if the logonId parameter is found on the URL.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String DEFAULT_SIZE
      This is the default value of the input text field.
      static java.lang.String LOGON_FIELD
      This field contains the produced HTML to create the remember me logon input field.
      • 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 logon input field required for the logonId parameter.
      void setId(java.lang.String id)
      This method sets the id to associated with the logon input field.
      void setSize(java.lang.String size)
      This method sets the size of the logon field if the default value is not desired.
      • 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

      • LOGON_FIELD

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

        public static final java.lang.String DEFAULT_SIZE
        This is the default value of the input text field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RememberMeLogonFieldTagSupport

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

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        This method creates the logon input field required for the logonId parameter. If the current request is associated with a remembered user then the default value of the parameter will be the found value. This will also be the case if the logonId 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 to associated with the logon input field.
        Overrides:
        setId in class javax.servlet.jsp.tagext.TagSupport
        Parameters:
        id - The id to associate with the HTML logon input field.
      • setSize

        public void setSize(java.lang.String size)
        This method sets the size of the logon field if the default value is not desired.
        Parameters:
        size - The size of the logon field if the default value is not desired.