org.apache.tapestry5.services.ajax
Interface JavaScriptCallback


public interface JavaScriptCallback

A callback used with AjaxResponseRenderer.addCallback(JavaScriptCallback).

Since:
5.3

Method Summary
 void run(JavaScriptSupport javascriptSupport)
          Perform some work with the support object, which is typically to invoke JavaScriptSupport.addInitializerCall(String, org.apache.tapestry5.json.JSONObject) to setup some client-side behavior.
 

Method Detail

run

void run(JavaScriptSupport javascriptSupport)
Perform some work with the support object, which is typically to invoke JavaScriptSupport.addInitializerCall(String, org.apache.tapestry5.json.JSONObject) to setup some client-side behavior.

Parameters:
javascriptSupport - the JavaScriptSupport environmental object, passed as a convenience.


Copyright © 2003-2012 The Apache Software Foundation.