Tuesday, October 25, 2011

Re: Nested Editor creation question

On Tue, Oct 25, 2011 at 5:20 PM, opn <opencow@gmx.net> wrote:
Hello,

To make it clear: I have to instantiate the UserEditor myself (via new UserEditor( ) or injection) while UiBinder is able to create the "child editor" of the UserEditor itself.
Why is that?


If you can create your UserEditor, with 'new UserEditor() ' you don't need to use the 'provided=true'. UiBinder can create it for you. 
provided=true is for when UiBinder cannot create an instance of the object itself, either because it needs constructor arguments, or you want it to use a specific instance.

--
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