|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.login.html.Login
public class Login
Login is a TransformationBean that is composed of other TransformationBeans which are used to generate HTML code which can render the login bean. This is a composite tbean consisting of a form, labels, textentry and password, and a pushbutton.
The Login is one of several TransformationBeans that are considered composite components. A composite component allows a developer to design custom components that are made up of a combination of other components, such as TextEntry, ListBox, and Label TransformationBeans. The visual layout of a composite component can be easily controlled through a template. For more information on composite TransformationBeans, refer to the AppDev Studio Developer Site. You'll find a useful reference document entitled Composite TransformationBeans as well as the TransformationBean Component and Style Reference.
Note that the toString() method on this class calls the write
method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Examples for this class may be found on the Examples Site.
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 .
BaseLogin
,
Serialized FormField Summary | |
---|---|
protected Label |
passwordLabelBean
|
protected Password |
passwordTextEntryBean
|
protected PushButton |
submitButtonBean
|
protected Label |
titleLabelBean
|
protected Label |
usernameLabelBean
|
protected TextEntry |
usernameTextEntryBean
|
Fields inherited from class com.sas.servlet.tbeans.login.BaseLogin |
---|
failureURL, loginBean, submitURL, successURL |
Constructor Summary | |
---|---|
Login()
Constructor of the Login |
Method Summary | |
---|---|
protected void |
init()
Initialization. |
void |
setId(java.lang.String id)
Sets the id for this Login component. |
void |
write(java.io.PrintWriter out)
Writes the HTML representation of the Login bean. |
Methods inherited from class com.sas.servlet.tbeans.login.BaseLogin |
---|
getFailureURL, getModel, getSubmitURL, getSuccessURL, setFailureURL, setModel, setSubmitURL, setSuccessURL |
Field Detail |
---|
protected Label titleLabelBean
protected Label usernameLabelBean
protected TextEntry usernameTextEntryBean
protected Label passwordLabelBean
protected Password passwordTextEntryBean
protected PushButton submitButtonBean
Constructor Detail |
---|
public Login()
Method Detail |
---|
protected void init()
public void write(java.io.PrintWriter out) throws java.io.IOException
request
and response
back to null.
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseTransformation
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void setId(java.lang.String id)
setId
in interface TransformationInterface
setId
in class BaseTransformation
id
- the new id for this component
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |