public class AjaxModalContainer extends AjaxDynamicElement
| Name | Description |
|---|---|
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. |
ERXDynamicElement.ContextData<T>log| Constructor and Description |
|---|
AjaxModalContainer(String name,
NSDictionary associations,
com.webobjects.appserver.WOElement children) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_containerID(com.webobjects.appserver.WOContext context)
Override this method and return an update container ID this element should react on.
|
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Overridden to call
AjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext). |
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Override this method to return the response for an Ajax request.
|
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
Execute the request, if it's coming from our action, then invoke the ajax handler and put the key
AJAX_REQUEST_KEY in the request userInfo dictionary (request.userInfo()). |
boolean |
shouldHandle(com.webobjects.appserver.WOContext context) |
addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, shouldHandleRequestafterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBindingaddChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvalueForBinding, valueForBindingpublic AjaxModalContainer(String name, NSDictionary associations, com.webobjects.appserver.WOElement children)
public boolean shouldHandle(com.webobjects.appserver.WOContext context)
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
AjaxDynamicElementAJAX_REQUEST_KEY in the request userInfo dictionary (request.userInfo()).invokeAction in class AjaxDynamicElementworequest - the current requestwocontext - context of the transactionpublic void appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementAjaxDynamicElement.addRequiredWebResources(WOResponse, WOContext).appendToResponse in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionprotected void addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementaddRequiredWebResources in class AjaxDynamicElementresponse - the current responsecontext - context of the transactionprotected String _containerID(com.webobjects.appserver.WOContext context)
AjaxDynamicElement_containerID in class AjaxDynamicElementcontext - context of the transactionnullpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
AjaxDynamicElementhandleRequest in interface IAjaxElementhandleRequest in class AjaxDynamicElementrequest - the current requestcontext - context of the transactionCopyright © 2002 – 2020 Project Wonder.