Passwordpublic class Password extends TextField
Render an HTML input tag of type password.
Examples
In this example, a password control is displayed. For the label, we are calling ActionSupport's getText() to
retrieve password label from a resource bundle.
<s:password label="%{text('password')}" name="password" size="10" maxlength="15" />
|
Fields Summary |
---|
public static final String | TEMPLATE | protected String | showPassword |
Methods Summary |
---|
public void | evaluateExtraParams()
super.evaluateExtraParams();
if (showPassword != null) {
addParameter("showPassword", findValue(showPassword, Boolean.class));
}
| protected java.lang.String | getDefaultTemplate()
return TEMPLATE;
| public void | setShowPassword(java.lang.String showPassword)
this.showPassword = showPassword;
|
|