Friday, November 25, 2011

Reusing widgets across mvp views

Hi,

I am attempting to share widgets across various views in mvp. The
widgets are created in my clientfactory, and when the view is created
it picks the common widgets from there. Some widgets are unique and
used by all views, eg map panel, banner. Obviously this doesn't work
really well after leaving and coming to teh same view ;-) as it gets
detached and not reattached!

I was wondering if there was a best practice to make it work, ie in
the OnLoad function or something like that, or if it is just a plain
bad idea and I should not try this at all?

Thanks,

Thomas

(I hope this wasn't sent twice... apologies if it has)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment