Thursday, January 27, 2011

UIBinder, widget creation factory

Is it possible to have a UIBinder template as follows.

<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:widget='urn:import:com.widget'>
<g:HTMLPanel>
<widget:Factory name='MyWidget' />
<g:HTMLPanel>
</ui:UiBinder>

Where the class com.widget.Factory can create the the Widget MyWidget
and
return that as the widget injected into the HTMLPanel div ?

-John Gentilin

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate