How to make a dynamic menu with ui-binder depending on a state?
Hi,
how could I best create a menu whose entries depend on eg a login state of a user?
Afaik I cannot use the ui-binder to render the menu by conditions, as it does not support any if-else logic.
Is the only approach to define my login-specific ui-elements with visible="false" and show them when the user logs in?
Could I do better?
Thanks
--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home