On 08/08/2011 03:37 AM, "Ionuț G. Stan" wrote:
> Is there anything similar to ui:field that can appear multiple times
> inside a template? I have several SPAN placeholders inside the template
> and I'd like their innerText value to be the same on every update.
> 
> The only solution that I see (other than having different UI fields for
> what would otherwise be the same element) is to build a custom widget
> and have a UiFactory that would provide the same instance for all
> occurrences of the widget inside the template.
> 
> Any other suggestions?

Create your own entities

http://google-web-toolkit.googlecode.com/svn-history/r6913/trunk/user/test/com/google/gwt/uibinder/test/client/WidgetBasedUi.ui.xml

> Thanks!

You're welcome.

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