ERXModernNavigationMenu Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXModernNavigationMenu:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse r, WOContext c)
 ERXModernNavigationMenu (WOContext context)
WOActionResults invokeAction (WORequest r, WOContext c)
NSKeyValueCoding navigationContext ()
ERXNavigationState navigationState ()
void reset ()
ERXNavigationItem rootNode ()
void setUpMenu ()
void takeValuesFromRequest (WORequest r, WOContext c)

Public Attributes

int _renderLevelCount
ERXNavigationItem aNavigationItem

Static Public Attributes

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

Protected Attributes

boolean _menuIsSetUp = false
NSKeyValueCoding _navigationContext
ERXNavigationState _navigationState


Detailed Description

This is an updated ERXNavigationMenu component that should simplify common usage. Used in conjunction with the ERXModernNavigationMenuItem, it creates a navigation menu structure from the entries in the NavigationMenu.plist configuration file. This structure is a "standard" unordered list of (possibly nested) navigation links.

Please read "Documentation/Navigation.html" to find out how to use the navigation components.

Author:
Travis Cripps

Constructor & Destructor Documentation

ERXModernNavigationMenu ( WOContext  context  ) 


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.

Parameters:
response to which we are appending
context context of the response

Reimplemented from ERXNonSynchronizingComponent.

WOActionResults invokeAction ( WORequest  request,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.invokeAction.

Parameters:
request for which the action is invoked
context of the request
Returns:
the result of invoking the action

Reimplemented from ERXNonSynchronizingComponent.

NSKeyValueCoding navigationContext (  ) 

ERXNavigationState navigationState (  ) 

void reset (  ) 

Reimplemented from ERXStatelessComponent.

ERXNavigationItem rootNode (  ) 

void setUpMenu (  ) 

void takeValuesFromRequest ( WORequest  request,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.takeValuesFromRequest.

Parameters:
request from which the values will be taken
context of the request

Reimplemented from ERXNonSynchronizingComponent.


Member Data Documentation

boolean _menuIsSetUp = false [protected]

NSKeyValueCoding _navigationContext [protected]

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

logging support


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

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