er.ajax
Class AjaxIncludeScript
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
er.ajax.AjaxDynamicElement
er.ajax.AjaxIncludeScript
- All Implemented Interfaces:
- IAjaxElement
public class AjaxIncludeScript
- extends AjaxDynamicElement
AjaxIncludeScript provides an easy way to add an Ajax script dependency. If you use
any of the Wonder Ajax components, they will automatically include their own
dependencies. However, if you want to do custom Ajax javascript, you may want to
include the same library versions that ship in Ajax.framework.
Bindings |
name | The name of the javascript file to include ("prototype.js", "effects.js", etc) |
framework | The framework the javascript file resides in, defaults to "Ajax" |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
AjaxIncludeScript(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement children)
|
Method Summary |
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse res,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component. |
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Override this method to return the response for an Ajax request. |
Methods inherited from class er.ajax.AjaxDynamicElement |
_containerID, addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, appendTagAttributeToResponse, appendToResponse, associations, bindingNamed, booleanValueForBinding, hasBinding, invokeAction, setValueForBinding, shouldHandleRequest, stringValueForBinding, takeValuesFromRequest, valueForBinding, valueForBinding |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AjaxIncludeScript
public AjaxIncludeScript(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement children)
addRequiredWebResources
protected void addRequiredWebResources(com.webobjects.appserver.WOResponse res,
com.webobjects.appserver.WOContext context)
- Description copied from class:
AjaxDynamicElement
- Override this method to append the needed scripts for this component.
- Specified by:
addRequiredWebResources
in class AjaxDynamicElement
handleRequest
public com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
- Description copied from class:
AjaxDynamicElement
- Override this method to return the response for an Ajax request.
- Specified by:
handleRequest
in interface IAjaxElement
- Specified by:
handleRequest
in class AjaxDynamicElement
Copyright © 2002 – 2007 Project Wonder.