Interface JavaScriptCallback
-
public interface JavaScriptCallback
A callback used withAjaxResponseRenderer.addCallback(JavaScriptCallback)
.- Since:
- 5.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(JavaScriptSupport javascriptSupport)
Perform some work with the support object, which is typically to invokeJavaScriptSupport.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 invokeJavaScriptSupport.addInitializerCall(String, org.apache.tapestry5.json.JSONObject)
to setup some client-side behavior.- Parameters:
javascriptSupport
- the JavaScriptSupport environmental object, passed as a convenience.
-
-