
Public Member Functions | |
| AjaxTabbedPanel (String name, NSDictionary associations, WOElement template) | |
| void | appendToResponse (WOResponse response, WOContext context) |
| WOActionResults | handleRequest (WORequest request, WOContext context) |
Protected Member Functions | |
| void | addRequiredWebResources (WOResponse response, WOContext context) |
Private Member Functions | |
| void | findTabs (WODynamicGroup template) |
Private Attributes | |
| WOAssociation | busyDiv |
| WOElement | content |
| WOAssociation | id |
| WOAssociation | onLoad |
| WOAssociation | onSelect |
| NSMutableArray | tabs = new NSMutableArray() |
| Class Name | Used For |
|---|---|
| ajaxTabbedPanel | The UL containing the tabs. |
| ajaxTabbedPanelTab-selected | The LI representing the selected tab and the A element that is the clickable title. |
| ajaxTabbedPanelTab-unselected | The LI representing the selected tab(s) and the A element that is the clickable title. |
| ajaxTabbedPanelPanes | The UL containing the panels (panes). |
| ajaxTabbedPanelPane-selected | The LI representing the selected panel. |
| ajaxTabbedPanelPane-unselected | The LI representing the unselected panel(s). </table id required, String the id of the UL that wraps the tabs busyDiv optional, String the id of a div that should be shown when a tab is loading onLoad optional, String JavaScript to execute after the whole tabbed panel loads onSelect optional, String JavaScript to execute after a different tab is selected. This will not get called when this is first rendered. Use onLoad if you need that.
|
| AjaxTabbedPanel | ( | String | name, | |
| NSDictionary | associations, | |||
| WOElement | template | |||
| ) |
| void addRequiredWebResources | ( | WOResponse | response, | |
| WOContext | context | |||
| ) | [protected, virtual] |
Override this method to append the needed scripts for this component.
Implements AjaxDynamicElement.
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
Creates the tabs and pane control.
Reimplemented from AjaxDynamicElement.
| void findTabs | ( | WODynamicGroup | template | ) | [private] |
Looks through the child components to locate the AjaxTabbedPanelTabs that are controlled by this panel. Tabs without an explicit id attributed are assigned a calculated one.
| template | the graph of elements passed to the constructor. |
| WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements AjaxDynamicElement.
WOAssociation busyDiv [private] |
WOElement content [private] |
WOAssociation id [private] |
WOAssociation onLoad [private] |
WOAssociation onSelect [private] |
NSMutableArray tabs = new NSMutableArray() [private] |
1.5.8