net.sf.tacos.ajax
Interface AjaxInvocation

All Known Subinterfaces:
AjaxSubmitInvocation
All Known Implementing Classes:
AbstractSubmit, AjaxDirectLink, AjaxEventSubmit, AjaxForm, AjaxImageSubmit, AjaxLinkSubmit, AjaxSubmit, Refresh

public interface AjaxInvocation

Hold parameters in an ajax call.

Author:
Felix Sun

Method Summary
 AjaxDirectService getAjaxEngine()
          Injected ajax service
 org.apache.tapestry.engine.ILink getAjaxLink()
          Generates ajax link for form submission via javascript
 AjaxInvocation getBackLink()
          Back button action
 String getEffects()
          Effects parameter
 String getEncodingType()
          Should return null if current form is not a AjaxForm.
 AjaxInvocation getForwardLink()
          Forward button action
 String getPopup()
          Set popup parameter if you want it popup
 String getPreEffects()
          Pre-effects parameter
 String getStatusElement()
          Update status element id parameter
 Collection getUpdateComponents()
          Components to update in request
 String getUpdateObject()
          Javascript object to call ajaxUpdate on
 

Method Detail

getEffects

String getEffects()
Effects parameter


getStatusElement

String getStatusElement()
Update status element id parameter


getPreEffects

String getPreEffects()
Pre-effects parameter


getPopup

String getPopup()
Set popup parameter if you want it popup


getUpdateObject

String getUpdateObject()
Javascript object to call ajaxUpdate on


getUpdateComponents

Collection getUpdateComponents()
Components to update in request


getAjaxEngine

AjaxDirectService getAjaxEngine()
Injected ajax service


getBackLink

AjaxInvocation getBackLink()
Back button action


getForwardLink

AjaxInvocation getForwardLink()
Forward button action


getAjaxLink

org.apache.tapestry.engine.ILink getAjaxLink()
Generates ajax link for form submission via javascript

Returns:
ILink to be used in async io javascript calls

getEncodingType

String getEncodingType()
Should return null if current form is not a AjaxForm.

Returns:
encoding type