
Public Member Functions | |
| AjaxFunctionButton (String aName, NSDictionary associations, WOElement template) | |
| void | appendAttributesToResponse (WOResponse response, WOContext context) |
Static Protected Member Functions | |
| static NSDictionary | processAssociations (NSDictionary associations) |
Private Member Functions | |
| boolean | isDisabled (WOContext context) |
Private Attributes | |
| WOAssociation | _action |
| WOAssociation | _disabled |
| WOAssociation | _updateContainerID |
So for instance, if you are inside of an AjaxInPlace with the id "blogForm" you can do
<:wo:AjaxFunctionButton action = "edit">
to go into edit mode.
disabled if true, the button is disabled onclick the javascript to execute when the button is clicked. action the type of event to fire ("update", "save", "edit", "cancel") updateContainerID the id of the container to fire the event to (optional if inside of the container) value the text of the button
| AjaxFunctionButton | ( | String | aName, | |
| NSDictionary | associations, | |||
| WOElement | template | |||
| ) |
| void appendAttributesToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
| boolean isDisabled | ( | WOContext | context | ) | [private] |
| static NSDictionary processAssociations | ( | NSDictionary | associations | ) | [static, protected] |
WOAssociation _action [private] |
WOAssociation _disabled [private] |
WOAssociation _updateContainerID [private] |
1.5.8