FocusText Class Reference

Inherits er::extensions::components::_private::ERXWOText.

Collaboration diagram for FocusText:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse response, WOContext context)
 FocusText (String tagname, NSDictionary nsdictionary, WOElement woelement)
String id (WOComponent component, WOContext context)

Protected Member Functions

void _appendAttributesFromAssociationsToResponse (WOResponse woresponse, WOContext wocontext, NSDictionary nsdictionary)

Protected Attributes

WOAssociation _focus
WOAssociation _onEnter
WOAssociation _onKeyPress
WOAssociation _selectAll


Detailed Description

Focus text is a convenience version of ERXWOText that provides support for grabbing default focus via javascript.

Author:
mschrag
id the id the textfield selectAll if true, the text will default to be selected focus if false, focus will not be grabbed onEnter javascript to execute when the enter key is pressed

Constructor & Destructor Documentation

FocusText ( String  tagname,
NSDictionary  nsdictionary,
WOElement  woelement 
)


Member Function Documentation

void _appendAttributesFromAssociationsToResponse ( WOResponse  woresponse,
WOContext  wocontext,
NSDictionary  nsdictionary 
) [protected]

void appendToResponse ( WOResponse  response,
WOContext  context 
)

String id ( WOComponent  component,
WOContext  context 
)


Member Data Documentation

WOAssociation _focus [protected]

WOAssociation _onEnter [protected]

WOAssociation _onKeyPress [protected]

WOAssociation _selectAll [protected]


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

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