AjaxIncludeScript Class Reference

Inherits er::ajax::AjaxDynamicElement.

Collaboration diagram for AjaxIncludeScript:

Collaboration graph
base refererrect $classer_1_1ajax_1_1_ajax_dynamic_element.html 7,83 156,107rect $interfaceer_1_1ajax_1_1_i_ajax_element.html 31,8 132,32
[legend]

List of all members.

Public Member Functions

 AjaxIncludeScript (String name, NSDictionary associations, WOElement children)
WOActionResults handleRequest (WORequest request, WOContext context)

Protected Member Functions

void addRequiredWebResources (WOResponse res, WOContext context)

Private Attributes

WOAssociation _framework
WOAssociation _name


Detailed Description

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.

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"


Constructor & Destructor Documentation

AjaxIncludeScript ( String  name,
NSDictionary  associations,
WOElement  children 
)


Member Function Documentation

void addRequiredWebResources ( WOResponse  response,
WOContext  context 
) [protected, virtual]

Override this method to append the needed scripts for this component.

Implements AjaxDynamicElement.

WOActionResults handleRequest ( WORequest  request,
WOContext  context 
) [virtual]

Override this method to return the response for an Ajax request.

Parameters:
request 
context 

Implements AjaxDynamicElement.


Member Data Documentation

WOAssociation _framework [private]

WOAssociation _name [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:38 2012 for Project Wonder by  doxygen 1.5.8