...
- call button.requestUpdate(true) on ribbon action item
- call window.requestRibbonRender() on window component.
6.2. listeners
6.2.1 view listener structure
Listeners are methods that will be executed when specified event is fired. Every listener has structure:
...
- eventname - name of event on which this lisiner is waiting
- className - class (path + name) which contains listener method
- beanMethod - name of listener method that should be executed when event is fired
6.2.2 view listener event names
name | usage | |||||
---|---|---|---|---|---|---|
onInputChange |
| |||||
onSelectedEntityChange |
|
For more informations about listeners see 'view listeners section'.
Anchor | ||||
---|---|---|---|---|
|
6.3. row style resolvers
Grid's row Row style resolvers returns set of CSS clas names for given row entity. You can use them to mark specified grid rows, e.g. whith negative balance of some arbitrary values.
Resolver method is invoked for each of grid's entity.
...
Where:
- className - class (package path + name) which contains resolver method
- beanMethod - name of resolver method that should be executed for each of row entity
For more informations about row style resolvers see 'row style resolvers section'.
6.4. criteria modifiers
Criteria modifiers allow you to modify state of SearchCriteriaBuilder used by given view component to fetch row entities.
Info |
---|
Currently criteria modifiers can be used only with grid or lookup component. |
Every modifier has structure:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<criteriaModifier class="className" method="beanMethod" />
|
Where:
- className - class (package path + name) which contains modifier method
- beanMethod - name of method
For more informations about criteria modifier see 'criteria modifier section'.