Has to be since it is not possible to have the same object in two
different places in DOM at one time.
In fact, you can test that by doing:
public void onModuleLoad() {
Button btn = new Button("button");
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
RootPanel.get().add(btn);
}
You'll notice that only one button (well, in your case two because of
some other problem) ever appears.
-jason
On Oct 16, 2008, at 4:05 PM, Ian Bambury wrote:
> Two scripts in the html file, or two entry points in the gwt.xml file.
>
> Probably the latter.
>
> I'm guessing...
>
> Ian
>
> http://examples.roughian.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 [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
-~----------~----~----~----~------~----~------~--~---