WRNestedList Class Reference

Inherits com::webobjects::appserver::WOComponent.

Collaboration diagram for WRNestedList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Number currentLevel ()
String listTagName ()
boolean notSublistConditional ()
void popLevel ()
void pushLevel ()
void setCurrentLevel (Number aChildLevel)
boolean synchronizesVariablesWithBindings ()
void takeValuesFromRequest (WORequest r, WOContext c)
 WRNestedList (WOContext aContext)


Constructor & Destructor Documentation

WRNestedList ( WOContext  aContext  ) 


Member Function Documentation

Number currentLevel (  ) 

Method to return the current level. This method always returns null and is basically a no-op, but it is required by Key-Value coding (since we have a setCurrentLevel method).

String listTagName (  ) 

Method to return the tag name for the list. If the 'isOrdered' binding is present, the list is an ORDERED-LIST (

, otherwise the list is an UNORDERED LIST (
. This information populates the elementName of the generic element for the list.

boolean notSublistConditional (  ) 

void popLevel (  ) 

Method to push the current level (always 0) into the parent; this always happens at the bottom/end of a list (to let the parent know we are done with the list

void pushLevel (  ) 

Method to push the current level (always 1) into the parent; this always happens at the top/beginning of a list (to let the parent know we are in the list

void setCurrentLevel ( Number  aChildLevel  ) 

Method to set the current level (based on the child level). Whatever the child passes in, we add one (to represent another level deep in the order). By the time the value get to the root, it reflects the total number of levels between the top and bottom.

boolean synchronizesVariablesWithBindings (  ) 

Override of method for synchronization of local instance variables with bindings (pushing and pulling values from the bindings). Here we turn OFF synchronization.

void takeValuesFromRequest ( WORequest  r,
WOContext  c 
)


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

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