ERDEditStringWithChoices Class Reference

Inherits er::directtoweb::components::ERDCustomEditComponent.

Collaboration diagram for ERDEditStringWithChoices:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSArray availableElements ()
 ERDEditStringWithChoices (WOContext context)
boolean isStateless ()
void reset ()
ERXKeyValuePair selectedElement ()
void setSelectedElement (Object value)
boolean synchronizesVariablesWithBindings ()
void takeValuesFromRequest (WORequest r, WOContext c)

Public Attributes

ERXKeyValuePair currentElement
String entityForReportName

Static Public Attributes

static final Logger log = Logger.getLogger(ERDEditStringWithChoices.class)

Protected Attributes

NSArray _availableElements


Detailed Description

Provides a toOne relationship-like component except the value is pushed in as a string.
The coices can be either given as an NSDictionary with {key1=val1;key2=val2...}, an NSArray of NSDictionaries with ({key1=val1;},{key2=val2;}...) or a means not yet clear to me (ak:).

Constructor & Destructor Documentation

ERDEditStringWithChoices ( WOContext  context  ) 


Member Function Documentation

NSArray availableElements (  ) 

boolean isStateless (  ) 

component is not stateless

Reimplemented from ERDCustomEditComponent.

void reset (  ) 

Used by stateless subclasses.

Reimplemented from ERDCustomEditComponent.

ERXKeyValuePair selectedElement (  ) 

void setSelectedElement ( Object  value  ) 

boolean synchronizesVariablesWithBindings (  ) 

Overridden from superclass to turn on component synching, which is the default.

Reimplemented from ERDCustomEditComponent.

void takeValuesFromRequest ( WORequest  r,
WOContext  c 
)

Extends the parent implementation in order to force validation.

Reimplemented from ERXNonSynchronizingComponent.


Member Data Documentation

NSArray _availableElements [protected]

ERXKeyValuePair currentElement

final Logger log = Logger.getLogger(ERDEditStringWithChoices.class) [static]

logging support

Reimplemented from ERDCustomEditComponent.


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

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