
Public Member Functions | |
| void | appendToResponse (WOResponse r, WOContext c) |
| ERDEditPassword (WOContext context) | |
| void | fail (String errorCode) |
| String | password () |
| boolean | passwordConfirmationValidates () |
| boolean | passwordExists () |
| void | setObject (EOEnterpriseObject newObject) |
| void | setPassword (String value) |
| boolean | synchronizesVariablesWithBindings () |
| void | takeValuesFromRequest (WORequest r, WOContext c) |
Static Public Attributes | |
| static final String | passwordPropertyKey = "ERDEditPassword.propertyKey" |
Protected Member Functions | |
| void | updateContextValues () |
Protected Attributes | |
| String | _password |
| Boolean | _passwordConfirmationValidates |
Static Private Attributes | |
| static final Logger | log = Logger.getLogger(ERDEditPassword.class) |
context.mutableUserInfo. From where it can be confirmed against a second edit field. In case you don't need a second field, then the routine is: if no password is set or it is set and there is a value given, then the object is asked to validate this value. This behaviour prevents having to enter the password multiple times.object the object to edit propertyKey the key of the object to edit length the length of the text field passwordConfirmationValidates if true, then the property key validation is left to the confirmation component. Otherwise the validation occurs here. length the length of the text field
| ERDEditPassword | ( | WOContext | context | ) |
Public constructor
| context | the context |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.
| response | to which we are appending | |
| context | context of the response |
Reimplemented from ERDCustomComponent.
| void fail | ( | String | errorCode | ) |
| String password | ( | ) |
| boolean passwordConfirmationValidates | ( | ) |
| boolean passwordExists | ( | ) |
| void setObject | ( | EOEnterpriseObject | newObject | ) |
Reimplemented from ERDCustomEditComponent.
| void setPassword | ( | String | value | ) |
| boolean synchronizesVariablesWithBindings | ( | ) |
Overridden from superclass to turn on component synching, which is the default.
Reimplemented from ERDCustomEditComponent.
| void takeValuesFromRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Calls resetCachedBindingsInStatefulComponent prior to super.takeValuesFromRequest.
| request | from which the values will be taken | |
| context | of the request |
Reimplemented from ERXNonSynchronizingComponent.
| void updateContextValues | ( | ) | [protected] |
Boolean _passwordConfirmationValidates [protected] |
final Logger log = Logger.getLogger(ERDEditPassword.class) [static, private] |
logging support
Reimplemented from ERDCustomEditComponent.
final String passwordPropertyKey = "ERDEditPassword.propertyKey" [static] |
1.5.8