Re: How to use a ComplexPanel with an ActivityManager

2011-06-15 Thread Corey
Ok, so when I was having this problem I was just experimenting with the very simple UI that comes with the sample app. I also tried keeping the SimplePanel and having the Activity return a HeaderPanel consisting of a label and an image (the second method mentioned in Ashton's Answer). I thought

Re: How to use a ComplexPanel with an ActivityManager

2011-06-11 Thread Chris McBrien
Ate you perhaps using a layoutpanel? I believe simplepanel descends from panel. For layoutpanels use rootlaylout.get sorry for my poor typing. I'm trying to tap this out quickly on my mobile. Corey corey.nel...@gmail.com wrote: I'm trying to modify the GWT 2.1 HelloMVP example code to use

How to use a ComplexPanel with an ActivityManager

2011-06-09 Thread Corey
I'm trying to modify the GWT 2.1 HelloMVP example code to use a more complex UI. http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-hellomvp-2.1.zip My problem is that ActivityManager.setDisplay only accepts objects that implement AcceptsOneWidget. LayoutPanel and other