AjaxDroppable Class Reference

Inherits er::ajax::AjaxComponent.

Collaboration diagram for AjaxDroppable:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AjaxDroppable (WOContext _context)
void appendToResponse (WOResponse response, WOContext context)
void awake ()
NSDictionary createAjaxOptions ()
String elementName ()
WOActionResults handleRequest (WORequest request, WOContext context)
boolean isStateless ()
String onDrop ()
boolean synchronizesVariablesWithBindings ()

Protected Member Functions

void addRequiredWebResources (WOResponse res)

Private Attributes

String _actionUrl
String _draggableIDKeyName
String _elementID


Detailed Description

onBeforeDrop the function to execute before notifying the server of the drop onDrop the function to execute after notifying the server of the drop submit if true, drop will perform a form submit formName the name of the form to submit (if submit is true) confirmMessage if set, a confirm dialog with the given message is shown on drop. Allows cancelling a drop. id elementName droppedDraggableID action droppedObject style accept containment hoverclass overlap greedy onHover onComplete updateContainerID evalScripts disabled class

Author:
mschrag

Constructor & Destructor Documentation

AjaxDroppable ( WOContext  _context  ) 


Member Function Documentation

void addRequiredWebResources ( WOResponse  res  )  [protected, virtual]

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

Parameters:
res 

Implements AjaxComponent.

void appendToResponse ( WOResponse  res,
WOContext  ctx 
)

Overridden to call addRequiredWebResources(WOResponse).

Reimplemented from AjaxComponent.

void awake (  ) 

NSDictionary createAjaxOptions (  ) 

String elementName (  ) 

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

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

Parameters:
request 
context 

Implements AjaxComponent.

boolean isStateless (  ) 

String onDrop (  ) 

boolean synchronizesVariablesWithBindings (  ) 


Member Data Documentation

String _actionUrl [private]

String _elementID [private]


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

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