Project Wonder 5.0

er.extensions.components.javascript
Class ERXClickableContainer

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by com.webobjects.appserver._private.WODynamicGroup
              extended by com.webobjects.appserver._private.WOHTMLDynamicElement
                  extended by com.webobjects.appserver._private.WOGenericElement
                      extended by com.webobjects.appserver._private.WOGenericContainer
                          extended by 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
           

Field Summary
 
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
 

Constructor Detail

ERXClickableContainer

public ERXClickableContainer(java.lang.String name,
                             com.webobjects.foundation.NSDictionary associations,
                             com.webobjects.appserver.WOElement template)
Method Detail

_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

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.