public class RememberMeCheckBoxTagSupport extends IsRememberedUserTagSupport
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
.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 |
static java.lang.String |
CHECKED
This constant indicates that the check box default behaviour is checked.
|
Constructor and Description |
---|
RememberMeCheckBoxTagSupport()
This is the default constructor for this class.
|
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.
|
doCatch, doFinally
public static final java.lang.String CHECK_BOX
HTML to create the remember me check box. The
substitution parameters are based on the input of the tag and conditions regarding remember me.
public static final java.lang.String BLANK
public static final java.lang.String CHECKED
public RememberMeCheckBoxTagSupport()
public int doStartTag() throws javax.servlet.jsp.JspException
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
.doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class IsRememberedUserTagSupport
JSTL
tag.javax.servlet.jsp.JspException
- Declared by the parent signature and thrown only if there
is an IOException
when writing the HTML
.Tag.doStartTag()
public void setId(java.lang.String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
id
- The id to associate with the HTML
check box input field.