Hello,

Here my problematic. I have a UIBinder XML template, which will be
linked to several Widget class. The name of the template fields are
"generic" (not biz terms), as the widgets which will
used this template are very various.

<g:Label ui:field='additionalData' ... />

But in the widgets it's easier to manipulate meaningful class member
names.

@UiField Label ownerAge;

So... do you see a way, even not trivial, to bind field with with a
name different between template and Java class?

I thought to extends UIField annotation allowing doing something like:
@UIField("additionalData") Label ownerAge
and, then, fiddle with the UIBinder.createAndBindUi() method... but
how?

Thank you for the time you spent helping me.
Kind regards,

Mat (France)

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

Reply via email to