
Please read "Documentation/Navigation.html" to find out how to use the navigation components.
| ERXModernNavigationMenuItem | ( | WOContext | context | ) |
| NSArray children | ( | ) |
| String contextComponentActionURL | ( | ) |
| WOComponent directActionRedirect | ( | ) |
AK This is only an experiment: when calling up a DA, we use a component action and redirect to the actual DA
| String displayName | ( | ) |
| boolean hasActivity | ( | ) |
| boolean hasActivityAndIsEnabled | ( | ) |
| boolean isDisabled | ( | ) |
| boolean isSelected | ( | ) |
| String itemStyleClass | ( | ) |
| boolean meetsDisplayConditions | ( | ) |
Decides whether the item gets displayed at all. This is done by evaluating the boolean value of a "conditions" array in the definition file. eg: conditions = ("session.user.canEditThisStuff", "session.user.isEditor") will display the item only if the user can edit this stuff *and* is an editor.
| WOComponent menuItemSelected | ( | ) |
Determines whether the menu item is selected, or in the path of the current navigation state.
| NSKeyValueCodingAdditions navigationContext | ( | ) |
| ERXNavigationItem navigationItem | ( | ) |
Gets the ERXNavigationItem that provides the backing store for the properties of this menu item.
| String navigationItemID | ( | ) |
| String navigationItemWidth | ( | ) |
| ERXNavigationState navigationState | ( | ) |
| void reset | ( | ) |
Reimplemented from ERXStatelessComponent.
| Object resolveValue | ( | String | key | ) |
| boolean shouldDisplay | ( | ) |
Determines if the item should be displayed in the UI, based upon the disabled status. You may disable display of items that do not meet their display conditions or are explicitly disabled.
Boolean _hasActivity [protected] |
Boolean _isDisabled [protected] |
Boolean _isSelected [protected] |
boolean _linkDirectlyToDirectActions = true [protected] |
Boolean _meetsDisplayConditions [protected] |
ERXNavigationItem _navigationItem [protected] |
ERXNavigationState _navigationState [protected] |
WOComponent _redirect [protected] |
final String EMPTY_STRING = "" [static, private] |
final String SHOULD_DISPLAY_DISABLED_MENU_ITEMS = "ERXModernNavigationMenuItem.shouldDisplayDisabledMenuItems" [static] |
final String STYLE_CLASS_DISABLED = "disabled" [static, protected] |
final String STYLE_CLASS_SELECTED = "selected" [static, protected] |
final String STYLE_CLASS_SUB = "sub" [static, protected] |
1.5.8