Wednesday, September 22, 2010

Re: DialogBox & UiBinder - how to get a hidden DialogBox by default?

On Sep 23, 1:11 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 22 sep, 22:47, "marius.andreiana" <marius.andrei...@gmail.com>
> wrote:
>
> > On Sep 22, 11:21 pm, Gal Dolber <gal.dol...@gmail.com> wrote:> As it is a popup it is hidden by default.
>
> > For me, with gwt 2.0.4, it's shown by default.
> > I'm declaring <g:DialogBox> inside a UiBinder HTMLPanel tag, among
> > other widgets.
>
> That's probably the reason: you add the DialogBox to some widget, so
> it's shown as any other widget. Would you do an
> myHtmlPanel.add(myDialogBox) in Java?
No :) I prefer to declare the DialogBox with it's inner elements
inside the UiBinder view. It is markup+style, it belongs in UiBinder
xml.

Thanks for explaining the reason why this happens though.
Should I file an issue on gwt to make it hidden by default when used
in UiBinder?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment