-
Notifications
You must be signed in to change notification settings - Fork 1
BeansBindingConditional
Ladislav Gazo edited this page Aug 29, 2015
·
1 revision
Binding.alter(boundPanel).enable(panel.perilLevelBox).when(ForestBeanWrapper.TIGERS_IN_VICINITY)
.isNotNull();
There are possibilities to control:
- visibility
- enable
by calling methods on BindingActions object available from alter method. You can set up the condition against a field of a bean either by using predefined methods:
- isNotNull
- isNotEmpty
- equalTo
- ...
or by implementing custom condition applied through calling matches method.