Re: How to switch the center view of DockLayoutPanel?

2010-03-20 Thread zggame
Thank you very much. That is a good idea. I found SimplePanel does not interact well with DeckLayoutPanel in term of sizing. I switch to LayoutPanel and it works better. On Mar 16, 10:55 am, ome max.okoro...@gmail.com wrote: Well, I did it like this. 1. In LayoutView.ui.xml I have a

How to switch the center view of DockLayoutPanel?

2010-03-16 Thread zggame
Hi, I am new to gwt. I had a page with footer/header/content. The center content changes with different selection in the menu in header. I try to use the DockLayoutPanel. How can I change the view of the center content. It can only add once? Is that the correct widget to use? Thanks. --

Re: How to switch the center view of DockLayoutPanel?

2010-03-16 Thread ome
Well, I did it like this. 1. In LayoutView.ui.xml I have a DockLayoutPanel : g:center g:SimplePanel ui:field=content / /g:center 2. In LayoutView: public class LayoutView extends Composite implements LayoutPresenter.Display { @UiField SimplePanel