|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.form.BasePassword
public abstract class BasePassword
The BasePassword is an abstract TransformationBean for creating a password input field.
The Password element is like the TextEntry element, but the input text is rendered in such a way as to hide the characters (e.g., a series of asterisks).
This control type is often used for sensitive input such as passwords. Please note that the current value is the text entered by the user, not the text rendered by the user agent.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:Password custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary |
---|
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement |
---|
RB_KEY |
Constructor Summary | |
---|---|
BasePassword()
|
Method Summary | |
---|---|
boolean |
isAutoComplete()
Returns true if auto complete is turned on the input element, false otherwise. |
void |
setAutoComplete(boolean value)
Sets the state of the autoComplete on this input element. |
Methods inherited from class com.sas.servlet.tbeans.form.BaseInput |
---|
getInitialText, getMaximumLength, getSize, getText, isReadOnly, setInitialText, setMaximumLength, setReadOnly, setSize, setText |
Constructor Detail |
---|
public BasePassword()
Method Detail |
---|
public void setAutoComplete(boolean value)
setAutoComplete
in class BaseTextEntry
value
- the state of the input field's auto completionpublic boolean isAutoComplete()
isAutoComplete
in class BaseTextEntry
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |