You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Bean Shell Form Binder allows you to dictate how Form Data should be loaded and stored.

Figure 1: Bean Shell Form Binder Properties

NameDescription
Script

Script in Java. See Bean Shell Programming Guide for example.

Quick Example

Sample Load Binder that will populate field with id "description" with the value "hello world".

import org.joget.apps.form.model.*;

FormRowSet f = new FormRowSet();
FormRow r1 = new FormRow();
r1.put("description", "hello world");
f.add(r1);

return f;
Use AJAX for cascade options?

Not applicable for Form Binder. Only available when used as an Options Binder.

  • No labels