Hi,

in that case, with:

<g:HTMLPanel ui:field="rootDialog">

@UiField private HTMLPanel rootDialog;

rootDialog.add(menu, "leftMenuFilterContainer");

I got the error:

[ERROR] [myprj] - Line 20: The field MyDialog.rootDialog is not
visible

so I tried in the previous way.

The dialog class extends DialogBox and:

public MyDialog() { uiBinder.createAndBindUi(this); }

@UiFactory DialogBox construct() { return this; }

Any idea about the origin of the error above?

Thanks,
Julio

On Mar 7, 4:39 pm, Thomas Broyer <[email protected]> wrote:
> You have an HTMLPanel, so why aren't you using its add(Widget, 
> String)<http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/g...,
> java.lang.String)> method?

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

Reply via email to