Good morning everyone! I work with smartgwt. Could someone help me on how to create a dynamic menu bar in GWT. I researched a lot about using the Internet but not the MenuItem.enableIf encountered examples.When trying to to use setEnabled ( true /false ) presents problems with the dynamism of css, is only updated if placing the cursor mouse over the item. And it only works if the initial status being css enabled to true and then I set a false otherwise not working (in the case placing the cursor over the item in question). In my research in internet forums said that the GWT has this same problem and should be used MenuItem.enableIf for the dynamic, but found no examples. Can anyone help me?
Can someone help me with a simple code using a menubar like this: In the case menuitem1 already enabled, and is the only one, when clicked enables menuitem2 and disables the menuitem1. Clicking the menuitem2, enables menuitem1 and menuitem3, and disables menuitem2. In the case in the drawing below menuitem3 is part of menu2. ------------------------------------------------ |menu1 | menu2 | ----------------------------------------------- menuitem1 | menuitem3 menuitem2 | ------------------------------------------------ Thanks! Victor -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
