with UIBinder you can define a complex menu structure very quiclkly:
<g:MenuItem ui:field="itm_Account" text="Account">
<g:MenuItem ui:field="itm_Login" text="Login"/>
<g:MenuItem ui:field="itm_Logout" text="Logout"/>
But to use these structures in real-life projects you have to blow them with a lot of boilerplate code like this:
new ScheduledCommand ()
public void execute ()
Window.alert ("process command: Login");
This can be very painful If you have a complex menu structure, especially when thinking about roles and rights.
Are there any methods to do this in a more compact way?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.