Ticket #1355 (closed defect: fixed)
Table fires false ValueChangeEvents when contained properties are changed
| Reported by: | Matti Tahvonen | Owned by: | Joonas Lehtinen |
|---|---|---|---|
| Priority: | blocker | Milestone: | User Interface Library 5.1.0 RC |
| Component: | Server-side framework | Version: | 5.0.0-pre |
| Keywords: | Cc: | joonas.lehtinen@… | |
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description (last modified by Matti Tahvonen) (diff)
Table's valueChange(Property.ValueChangeEvent? event) function overrides the one in select. It is there to fire repaint when container property has changed (in action it is a column in table). The one in select notifies listeners that are interested in changes in selection and receive excessive amount of false value changes.
valueChange method should check if source is table itself or from container.
Tree and Select has similar problem.
Joonas, please review the becoming change.
Change History
Note: See
TracTickets for help on using
tickets.
