Hello everyone,

I am fairly new to Google Web Toolkit, but I love the Polymer&GWT 
combination. Now I wanted to add widgets to a container. I couldn't figure 
out what was wrong because it kept giving shitty umbrellaexceptions: 
"Cannot find element with id "gwt-uid-<n>". Perhaps it is not attached to 
the document body."

Could anyone possible help me?

Container:
<c:ServerList ui:field="serverList"> 
</c:ServerList>

Function to add server:
@UiHandler("addServerButton") /*This is a PaperFab button fyi*/ 
public void onAddServerButtonClick(ClickEvent event){ 
serverList.addServer(); 
}

Function in ServerList class
public void addServer(){ 
root.add(new Server()); 
}



-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to