Inherited by AjaxIBoxComponentContent.

Public Member Functions | |
| AjaxModalContainer (String name, NSDictionary associations, WOElement children) | |
| void | appendToResponse (WOResponse response, WOContext context) |
| WOActionResults | handleRequest (WORequest request, WOContext context) |
| WOActionResults | invokeAction (WORequest worequest, WOContext wocontext) |
| boolean | shouldHandle (WOContext context) |
Protected Member Functions | |
| String | _containerID (WOContext context) |
| void | addRequiredWebResources (WOResponse response, WOContext context) |
label label for the link class class for the link style style for the link value value for the link (??) id id for the link containerID container ID for non-Ajax WOComponentContent closeLabel string for the close link title title string for the link label and the window href when it is bound, the content of the url will be fetched into an iframe. directActionName the direct action to fetch action when it is bound, the content of the url will be fetched into a div ajax (optional) when true, the contents are only rendered during the Ajax request, using ajax=true is the preferred way to use this open if true, the container is rendered already opened (currently only workings, i think, with ajax=true) locked if true, the container will be "locked" and will not close unless you explicitly close it secure (only applicable for directAtionName) if true, the generated url will be https skin the name of the skin to use (lightbox or darkbox right now)
If your content changes height and you want to autosize your iBox, you can add <script>iBox.contentChanged()</script> into your AjaxUpdateContainer to trigger an iBox resize.
| AjaxModalContainer | ( | String | name, | |
| NSDictionary | associations, | |||
| WOElement | children | |||
| ) |
| String _containerID | ( | WOContext | context | ) | [protected] |
Reimplemented from AjaxDynamicElement.
| 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 | |||
| ) |
Overridden to call addRequiredWebResources(WOResponse, WOContext).
Reimplemented from AjaxDynamicElement.
| WOActionResults handleRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) | [virtual] |
Override this method to return the response for an Ajax request.
| request | ||
| context |
Implements AjaxDynamicElement.
| WOActionResults invokeAction | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
Execute the request, if it's comming from our action, then invoke the ajax handler and put the key AJAX_REQUEST_KEY in the request userInfo dictionary (request.userInfo()).
Reimplemented from AjaxDynamicElement.
| boolean shouldHandle | ( | WOContext | context | ) |
1.5.8