|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--lw.login
Holds all methods for login handling before actually calling the AJAX emulator.
Defined in lwlogin.js
| Constructor Summary | |
lw.login
()
Holds all methods for login handling. |
|
| Method Summary | |
<static> void
|
addHidden(<Node> form, <Object> obj)
Puts all elements from an object into a form. |
<static> void
|
focus(<String> id)
Sets the focus to the specified node. |
<static> String
|
getParam(name, <String> id)
Returns an URI encoded query parameter. |
<static> String
|
getValue(<String> id)
Returns the text value of the specified HTML node. |
<static> boolean
|
isChecked(<String> id)
Returns the checked state of the specified radio button or checkbox. |
<static> Object
|
isEnabled(<String> id)
Checks if the specified HTML node is enabled. |
<static> boolean
|
isVisible(<String> id)
Returns if the specified HTML node is visible. |
<static> void
|
setChecked(<String> id, <boolean> checked)
Checks or unchecks the specified radio button or checkbox. |
<static> void
|
setEnabled(<String> id, <boolean> enabled)
Enables of disables the specified HTML node. |
<static> void
|
setValue(<String> id, <String> value)
Sets the text value of the specified HTML node. |
<static> void
|
setVisible(<String> id, <boolean> visible)
Displays or hides the specified HTML node. |
<static> void
|
toggle(<String> id)
Toggles the visibility of the specified HTML node. |
<static> void
|
toggle2(<String> idRadio, <String> idTable)
Toggles the specified radio button and the visibility of the specified HTML node. |
| Constructor Detail |
lw.login()
| Method Detail |
<static> void addHidden(<Node> form, <Object> obj)
form - the form
obj - the object
<static> void focus(<String> id)
id - the HTML node's id
<static> String getParam(name, <String> id)
id - the HTML node's id that holds the parameter value.
the - parameter name
<static> String getValue(<String> id)
id - the HTML node's id.
<static> boolean isChecked(<String> id)
id - the HTML node's id.
<static> Object isEnabled(<String> id)
id - the HTML node's id.
<static> boolean isVisible(<String> id)
id - the HTML node's id.
true if the node exists and is displayed
<static> void setChecked(<String> id, <boolean> checked)
id - the HTML node's id.
checked - the new checked state of the radio button or checkbox
<static> void setEnabled(<String> id, <boolean> enabled)
id - the HTML node's id.
enabled - the new enabled state of the HTML node
<static> void setValue(<String> id, <String> value)
id - the HTML node's id.
value - the new text value of the specified node.
<static> void setVisible(<String> id, <boolean> visible)
id - the HTML node's id.
visible - if true the node is displayed, else it is hidden
<static> void toggle(<String> id)
id - the HTML node's id.
<static> void toggle2(<String> idRadio, <String> idTable)
idRadio - the radion button's id.
idTable - the HTML node's id.
|
LogWeb V3 Default Emulator (AJAX based) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||