I am a little confused over the best practice use of DialogBox when using UIBinders.
In UIBinder xml, you can include a DialogBox element, and configure it using, say, the caption element or text attributes. This seems to hint that you can embed a full DialogBox definition, letting a widget carry its own DialogBox to pop on demand. However, doing so results in the dialog box being shown as part of the page on load, and some comments seem to indicate that "you're not supposed to do this". If, on the other hand, you extend DialogBox as its own stand-alone widget, you only get to define the *contents* of the dialog box in the ui.xml, forcing you to set things like caption and glass pane in the Java code, which seems to defy the purpose of a uibinder in the first place. What am I missing? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
