Hi Guys,

Sure, it's easy with UIBinder to add an "anonymous"/"on the fly" child
widget without declaring  '*...@uifield Label blah;*' in the java class or *'**
ui:Field="blah"' *in the ui.xml template.

For example, here there is no '*...@uifield Label blah;*' in the java class and
there is no  *'**ui:Field="blah"' *in the ui.xml template.

 <g:Label TEXT="Here's a Label widget that's not declared or annoated in the
containing java code"/>

The problem:
I do not want '*...@uifield Label blah;*' in the java class, this is in
complete contradiction to the MVP pattern we're trying out best to follow.
So, declaring these anonymously (as above is great). But at the same time,
we don't want to just use some anonymous "Label" instance that the UIBinder
creates for me. Can I programatically work with the UIBinder so that I can
provide the "Label" I want it to use without '*...@uifield Label blah;*' in the
containing java (parent/widget) class?

Cheers
--AH

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

Reply via email to