ERXWOPasswordField Class Reference

Inherits com::webobjects::appserver::_private::WOInput.

Collaboration diagram for ERXWOPasswordField:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXWOPasswordField (String name, NSDictionary associations, WOElement template)
void takeValuesFromRequest (WORequest request, WOContext context)

Protected Member Functions

void _appendCloseTagToResponse (WOResponse response, WOContext context)
void _appendValueAttributeToResponse (WOResponse response, WOContext context)
String hiddenValueInContext (WOContext context, WOComponent component)
boolean isDisabledInContext (WOContext context)
boolean isReadonlyInContext (WOContext context)
String type ()

Private Attributes

WOAssociation _hashValue
WOAssociation _hiddenValue
WOAssociation _readonly

Static Private Attributes

static final String HIDDEN_STRING = "_@secret@_"


Detailed Description

ERXWOPasswordField is just like WOPasswordField except that it doesn't show the actualy password as the value in the input. Instead, it replaces it with a "hidden value" (defaults to '_'). When the form posts back, the value binding is only set if the posted value is different than the hidden value. If you view the source of your html page, you will only see the hidden value (which appears as *'s to the end-user anyway) rather than the actual value. This is not a substitute by any means for SSL. It just adds one small additional amount of security to your HTML.

value the actual password value (required) hiddenValue the string to display when hidden (optional) disabled whether or not the input field is disabled (optional) name the name of the input field (optional) readonly whether or not the input field is readonly (optional)

Author:
mschrag

Constructor & Destructor Documentation

ERXWOPasswordField ( String  name,
NSDictionary  associations,
WOElement  template 
)


Member Function Documentation

void _appendCloseTagToResponse ( WOResponse  response,
WOContext  context 
) [protected]

void _appendValueAttributeToResponse ( WOResponse  response,
WOContext  context 
) [protected]

String hiddenValueInContext ( WOContext  context,
WOComponent  component 
) [protected]

boolean isDisabledInContext ( WOContext  context  )  [protected]

boolean isReadonlyInContext ( WOContext  context  )  [protected]

void takeValuesFromRequest ( WORequest  request,
WOContext  context 
)

String type (  )  [protected]


Member Data Documentation

WOAssociation _hashValue [private]

WOAssociation _hiddenValue [private]

WOAssociation _readonly [private]

final String HIDDEN_STRING = "_@secret@_" [static, private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:06 2012 for Project Wonder by  doxygen 1.5.8