Re: In MVP should/could the view depends on the presenter to be initialised?
Thanks Thomas for your help and your work on GWT, I really think that GWT wouldn't be as great as it is now without you.
It's probably better to make the that into the view instead of the presenter. I was overcomplicating things.
Cheers
On Sunday, February 17, 2013 12:53:34 PM UTC+3, Thomas Broyer wrote:
On Sunday, February 17, 2013 12:53:34 PM UTC+3, Thomas Broyer wrote:
On Saturday, February 16, 2013 3:39:15 AM UTC+1, MAQ wrote:Hi,In my view there's a ListBox that its content should depend on the user's locale. I'm confused on whether the deferred binding (to create the list's internationalised content) should be in the presenter or in the view.I feel it should be in the presenter, however in my code the view is created before the presenter (as it should be I guess), so I can't initialise the view this way.I know I can make things work, but I would like to learn the best practice way.I'm sorry if I'm not making much sense, as I'm new to MVP, I18N and GWT in general.If the values are fixed, and only their label change (i18n), then in my book it's only about the view, not the presenter. The presenter should deal with "logic" (presentation logic, business logic), and i18n is not part of it.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home