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

Compare with Current View Page History

« Previous Version 7 Current »

Introduction

Do You Know?

Bean Shell Form Data Store works as Load and Store Data Store too.

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

Bean Shell Options Properties

Configure Bean Shell Options

NameDescription
ScriptA script in Java. See Bean Shell Programming Guide > Form Options Data Store 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 a tremendous amount of selections. Read more at Ajax Cascading Drop-Down List.

Only available when used as an Options Data Store. An array "values" is passed to the script automatically. See Bean Shell Programming Guide > Form Ajax Options Data Store for example.

Form Options Caching

NameDescription
Sync Cache Interval

How often to activate cache synchronization (in seconds).

For example, when set to 180 seconds, background synchronization in the server will take place every 180 seconds to refresh with the new/latest data.

Pause sync after idle

How long to wait to pause synchronization after idle.

Tip

This may be used in conjunction with User Options to return all the users into a dropdown selection. If the user records are large (in the tens of thousands), it is recommended to set "Pause sync after idle" to a larger value and the sync will continue to update the cache in the background. If the dropdown selections are unlikely to change in a very short interval, it is recommended to set the "Sync Cache Interval" to a larger value too so that the server does not perform a new cache again in a short span of time.

  • No labels