er.ajax
Class AjaxFunctionButton
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
er.ajax.AjaxFunctionButton
public class AjaxFunctionButton
- extends com.webobjects.appserver._private.WOHTMLDynamicElement
AjaxFunctionButton is a convenience for calling javascript functions in response to an onclick on a button. When the
link is inside of an AjaxUpdateContainer, you do not need to specify the ID of the container.
So for instance, if you are inside of an AjaxInPlace with the id "blogForm" you can do
<:wo:AjaxFunctionButton action = "edit">
to go into edit mode.
- Author:
- mschrag
Bindings |
disabled | if true, the button is disabled |
onclick | the javascript to execute when the button is clicked. |
action | the type of event to fire ("update", "save", "edit", "cancel") |
updateContainerID | the id of the container to fire the event to (optional if inside of the container) |
value | the text of the button |
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 |
AjaxFunctionButton(java.lang.String aName,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
|
Method Summary |
void |
appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
|
protected static com.webobjects.foundation.NSDictionary |
processAssociations(com.webobjects.foundation.NSDictionary associations)
|
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_appendAttributesFromAssociationsToResponse, _appendCloseTagToResponse, _appendOpenTagToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, toString, urlAttributeAssociations |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AjaxFunctionButton
public AjaxFunctionButton(java.lang.String aName,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
appendAttributesToResponse
public void appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
- Overrides:
appendAttributesToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
processAssociations
protected static com.webobjects.foundation.NSDictionary processAssociations(com.webobjects.foundation.NSDictionary associations)
Copyright © 2002 – 2007 Project Wonder.