I am new in the world of GWT and I haven't used UIBinder yet. But when I use DockPanelLayout and center must be replaced, the solution I found on the Internet is overloading DockLayoutPanel and rewriting the "add" method.
Hope this is useful for you. public class DockLayoutPanelReplaceable extends DockLayoutPanel { @Override public void add(Widget widget) { if (getCenter() != null) { remove(getCenter()); } super.add(widget); } } -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.