Ticket #857 (closed Defect: fixed)
Make GUIToolkit Menu select() more strict
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8 |
Component: | DeepaMehta Standard Distribution | Version: | 4.7 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 3 | Area: | Application Framework / API |
Module: | deepamehta-webclient |
Description (last modified by jri) (diff)
Currently when you're calling Menu's select() method with an item which doesn't exist in the menu GUIToolkit ignores that call silently. It should throw an exception instead.
Calling select() with an invalid item typically means your view is not in-sync with your view model. Currently the GUIToolkit ignores such an erroneous state instead of forcing the programmer to correct it.
Change History
Note: See
TracTickets for help on using
tickets.