Sometimes you have some logic that you want to execute after an attribute has been changed. For this we introduced the PostAttributeChange annotation to be used on a method in your Customization Java Class.
This annotation will monitor an attribute based on the method signature.
Code Block | ||
---|---|---|
| ||
@PostAttrChange public void salaryChanged(AttrChangeEvent event) { event.getElement().putInternal("commissionPercentage", null); } |
...