Interface JavaScriptCallback
public interface JavaScriptCallback
A callback used with
AjaxResponseRenderer.addCallback(JavaScriptCallback).- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(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 Details
-
run
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.
-