|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
er.ajax.AjaxFunctionLink
public class AjaxFunctionLink
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.
| 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) |
| Field Summary |
|---|
| Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
|---|
_associations, _class, _constantAttributeAssociations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization, _generatedId, _id, _prefix, _rendered, _secure, _style, _suffix, _title, DontEscapeHTML, EscapeHTML |
| Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
|---|
_children |
| Fields inherited from class com.webobjects.appserver.WODynamicElement |
|---|
_ConstructorParameters |
| Constructor Summary | |
|---|---|
AjaxFunctionLink(String aName,
NSDictionary associations,
WOElement template)
|
|
| Method Summary | |
|---|---|
static void |
_appendAttributesToResponse(WOResponse response,
WOContext context,
WOAssociation actionAssociation,
WOAssociation updateContainerIDAssociation)
|
protected void |
_appendCloseTagToResponse(WOResponse response,
WOContext context)
|
protected void |
_appendOpenTagToResponse(WOResponse response,
WOContext context)
|
void |
appendAttributesToResponse(WOResponse response,
WOContext context)
|
protected static NSDictionary |
processAssociations(NSDictionary associations)
|
| Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
|---|
__otherQueryDictionaryInContext, __queryDictionaryInContext, _appendAttributesFromAssociationsToResponse, _appendClassAndIdToResponse, _appendTagAttributeAndValueToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendHiddenFieldToResponse, appendNonURLAttributesToResponse, appendToResponse, appendURLAttributesToResponse, classInContext, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributeAssociations, constantAttributesRepresentation, elementName, escapeHTML, hasContent, idInContext, isRenderedInContext, nonUrlAttributeAssociations, prefixInContext, secureInContext, stringValueInContext, styleInContext, suffixInContext, titleInContext, 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 |
| Constructor Detail |
|---|
public AjaxFunctionLink(String aName,
NSDictionary associations,
WOElement template)
| Method Detail |
|---|
protected void _appendOpenTagToResponse(WOResponse response,
WOContext context)
_appendOpenTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement
protected void _appendCloseTagToResponse(WOResponse response,
WOContext context)
_appendCloseTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement
public void appendAttributesToResponse(WOResponse response,
WOContext context)
appendAttributesToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElement
public static void _appendAttributesToResponse(WOResponse response,
WOContext context,
WOAssociation actionAssociation,
WOAssociation updateContainerIDAssociation)
protected static NSDictionary processAssociations(NSDictionary associations)
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||