On Mon, Nov 9, 2009 at 2:46 AM, gwtfanb0y <[email protected]>wrote:
>
> They extend 'com.google.gwt.user.client.ui.Composite'.
>
> "getDisplay().asWidget())" is a method (in use with the MVP) which
> returns only the Widget:
>
> @Override
> public Widget asWidget() {
> return this;
> }
>
>
Thanks for the answer. I don't know what getDisplay() does or where it's
defined, but I figured I didn't really need it. I think I am now doing more
or less the same as you, but my "page view objects" just return their
topmost panel which is set into the app presenter's RootPanel, which in my
case also does the EntryPoint. It seems to work great.
I suppose there's no time benefit to downloading of the application page
views (I think there's some code splitting that may help in the now or in
the future with 2.0), but it does snap nicely between views.
Thanks again...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---