for ur second point ...u can create your custom command implement all the logic in one execute block
On Fri, Apr 23, 2010 at 1:04 AM, Stefan Bachert <stefanbach...@yahoo.de>wrote: > Hi, > > you can create a new window. (Window.open) > But as far as I remember, you can not control whether the new browser > window is a further tab or a separate window. > > Stefan Bachert > http://gwtworld.de > > On 21 Apr., 20:10, Vik <vik....@gmail.com> wrote: > > Hie > > > > I am using menu like: > > > > MenuBar aboutMenu = new MenuBar(true); > > aboutMenu.addItem("Dreamweavers...", new Command(){ > > > > @Override > > public void execute() { > > Window.Location.replace("http://sakshum.blogspot.com"); > > } > > > > }); > > > > But this opens the link at the same place. how to open in a new tab? > > > > Also do i have to write this much code for each menu item i create? > > > > Thankx and Regards > > > > Vik > > Founderwww.sakshum.comwww.sakshum.blogspot.com<http://founderwww.sakshum.comwww.sakshum.blogspot.com/> > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > > To post to this group, send email to google-web-toolkit@googlegroups.com > . > > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group athttp:// > groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.