PSPasswordClass

Objects of this class are server-side representations of text box controls on the client side.

If you enable the 4GL server-side event model for your JSP Web pages and if the Server Side Scriptable check box on the text box control property sheet is selected, you can bind parameters or components to objects of this class in the PowerBuilder HTML editor.

Properties

PSPasswordClass property

Datatype

Description

name

String

The name of the control. Because this is a read-only property, changing the name in the server-side script has no effect other than potentially causing confusion.

enabled

boolean

Whether or not the control can be edited. This property works only in browsers that support the DISABLED attribute.

value

String

The text in the password control.

visible

boolean

Whether or not the client control is generated. If not visible, there is no access to the client control.

Events

PSPasswordClass event

Description

ItemChanged

This event is triggered when the value of the control has changed and passed validation.

Validate

This event occurs when the client changes a value of a text control. The event is passed the new value.

ValidationError

This event is triggered when the Validate event fails. It is passed the user-entered value from the Validate event.