er.ajax
Class AjaxFunctionLink
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
er.ajax.AjaxFunctionLink
public class AjaxFunctionLink
- extends com.webobjects.appserver._private.WOHTMLDynamicElement
AjaxFunctionLink is a convenience for calling javascript functions in response to
an onclick. 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:AjaxFunctionLink action = "edit">
to go into edit mode.
- Author:
- mschrag
Bindings |
disabled | if true, disables the link |
onclick | the javascript to execute when the link is clicked. |
onClick | synonym of onclick |
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) |
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 |
AjaxFunctionLink(java.lang.String aName,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
|
Method Summary |
static void |
_appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
com.webobjects.appserver.WOAssociation actionAssociation,
com.webobjects.appserver.WOAssociation updateContainerIDAssociation)
|
protected void |
_appendCloseTagToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
|
protected void |
_appendOpenTagToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
|
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, _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 |
AjaxFunctionLink
public AjaxFunctionLink(java.lang.String aName,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement template)
_appendOpenTagToResponse
protected void _appendOpenTagToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
- Overrides:
_appendOpenTagToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
_appendCloseTagToResponse
protected void _appendCloseTagToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
- Overrides:
_appendCloseTagToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
appendAttributesToResponse
public void appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
- Overrides:
appendAttributesToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
_appendAttributesToResponse
public static void _appendAttributesToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
com.webobjects.appserver.WOAssociation actionAssociation,
com.webobjects.appserver.WOAssociation updateContainerIDAssociation)
processAssociations
protected static com.webobjects.foundation.NSDictionary processAssociations(com.webobjects.foundation.NSDictionary associations)
Copyright © 2002 – 2007 Project Wonder.