AjaxModalContainer Class Reference

Inherits er::ajax::AjaxDynamicElement.

Inherited by AjaxIBoxComponentContent.

Collaboration diagram for AjaxModalContainer:

Collaboration graph
base refererrect $classer_1_1ajax_1_1_ajax_dynamic_element.html 7,83 156,107rect $interfaceer_1_1ajax_1_1_i_ajax_element.html 31,8 132,32
[legend]

List of all members.

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)


Detailed Description

Shows a link and wraps an area that is later presented as a modal window. Alternately, when you bind action then the content is used as the link.

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.

Author:
timo

ak


Constructor & Destructor Documentation

AjaxModalContainer ( String  name,
NSDictionary  associations,
WOElement  children 
)


Member Function Documentation

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.

Parameters:
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  ) 


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

Generated on Sat May 26 06:42:38 2012 for Project Wonder by  doxygen 1.5.8