Em sábado, 16 de fevereiro de 2013 00h39min15s UTC-2, MAQ escreveu: > > 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. >
By created you mean object allocated + constructor called? You can always add an init() method for initialization delayed to some point in the future. If you have a Resource object of some kind, you can think about this as "dependency injection". -- P. -- 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 [email protected]. To post to this group, send email to [email protected]. 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.
