Re: General question about menus and enabling/disabling items

2009-05-10 Thread Salvador Diaz
Looking at the javadoc and the source code, I don't think there's a way to tell when a menu is being opened. I'd suggest you put the conditions in your menu item command and style the menu item to show whether it's enabled or not (you'll have to keep references to your menu items somewhere to be a

General question about menus and enabling/disabling items

2009-05-10 Thread Luciano
Hi, I'm creating my first GWT app, I have a menu bar and I need to enable/ disable elements according to the current app context. In desktop apps I used to check whether menu items should be enabled or not when clicking on the parent menu, i.e. when I click on "File", I check all items of the fi