use of org.apache.tapestry5.ClientElement in project flowlogix by flowlogix.
the class DisableAfterSubmit method enableSubmitProcessing.
public static void enableSubmitProcessing(ClientElement clientElement, FormSupport fs, JavaScriptSupport js) {
JSONObject spec = new JSONObject();
spec.put("elementId", clientElement.getClientId());
spec.put("formId", fs.getClientId());
js.addInitializerCall("disableAfterSubmit", spec);
}
Aggregations