Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

编写一个Bean Shell脚本,可以根据自己的需求/来源填充一个Form元素的选项。

Image Added

图1:Bean Shell表单绑定器属性

名称描述
ScriptJava中的脚本。请参阅

Writing a Bean Shell script enables one to populate a Form element's options based on their own requirements/sources.

Image Removed

Figure 1: Bean Shell Form Binder Properties

NameDescription
ScriptScript in Java. See Bean Shell Programming Guide > Form Load Binder for example.
Use AJAX for cascade options?

When checked, this allows these fields to dynamically load available options based on the other field value (grouping column) when dealing with tremendous amount of selections. Read more at 选中时,这允许这些字段在处理大量选择时动态地根据其他字段值(分组列)来   加载可用  选项。阅读更多在 Ajax Cascading Drop-Down List.

Only available when used as an Options Binder. An array "values" is passed to the script automatically. See 仅在用作选项活页夹时才可用。数组“values”被自动传递给脚本。请参阅 Bean Shell Programming Guide > Form Ajax Options Binder for example.