er.extensions.components.javascript
Class ERXClickableContainer
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
com.webobjects.appserver._private.WOGenericElement
com.webobjects.appserver._private.WOGenericContainer
er.extensions.components.javascript.ERXClickableContainer
public class ERXClickableContainer
- extends com.webobjects.appserver._private.WOGenericContainer
ERXClickableContainer is a WOGenericContainer with easier support for the
javascript onclick event. For instance,
<wo:ERXClickableContainer action = "$someAction">
would create a div (by default) with an onclick action that executes the
given component action and replaces the page with the results.
- Author:
- mschrag
Bindings |
elementName | the HTML element name to use (div by default) |
action | the action to perform |
actionClass | the class name that contains the direct action |
directActionName | the name of the direct action to execute |
disabled | if true, the onclick is not added to this container |
Fields inherited from class com.webobjects.appserver._private.WOGenericElement |
_elementId |
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization |
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
_children |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
ERXClickableContainer(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
|
Method Summary |
protected static com.webobjects.foundation.NSDictionary |
_processAssociations(com.webobjects.foundation.NSDictionary associations)
|
void |
appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
|
Methods inherited from class com.webobjects.appserver._private.WOGenericContainer |
appendToResponse, invokeAction, takeValuesFromRequest |
Methods inherited from class com.webobjects.appserver._private.WOGenericElement |
_elementNameInContext, toString |
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_appendAttributesFromAssociationsToResponse, _appendCloseTagToResponse, _appendOpenTagToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, urlAttributeAssociations |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXClickableContainer
public ERXClickableContainer(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
_processAssociations
protected static com.webobjects.foundation.NSDictionary _processAssociations(com.webobjects.foundation.NSDictionary associations)
appendAttributesToResponse
public void appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
- Overrides:
appendAttributesToResponse
in class com.webobjects.appserver._private.WOGenericElement
Copyright © 2002 – 2007 Project Wonder.