Thursday, January 30, 2014

Re: MenuBar: How to open MenuItem in new tab/window?

Just create a MenuItem with

new MenuItem("< a href="someURL">The Text</a>, true, (ScheduledCommand)null)

Et voilà you're done.
 
Am Donnerstag, 30. Januar 2014 16:32:28 UTC+1 schrieb kibu Kuhn:
hi,

as MenuItem does not render a html link but just peforms a function call when you click onto an item, you can't open the new page in a new tab or window (A menu item here does not perform a place change but just opens a new page from the server). How can I achieve this?

TIA
kibu


--
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.

No comments:

Post a Comment