I am quite sure you cannot do that... but it you take a look at the uiBinder generator it shouldn't be hard to modify it to do that
2010/7/17 shankar_1979 <shankar.pach...@gmail.com> > Hi GWT team, > Is there a way to directly create a GWT widget from an XML string > that conforms to the > xmlns:g="urn:import:com.google.gwt.user.client.ui"? > > My requirement is to provide different UIs based on changing > conditions. I was planning to use this approach to first create the > XML string based on the GWT layouts and then render it to a RootPanel > widget in the UI. > > I appreciate any comments on the feasibility? > Thanks in advance > - Shankar. > > -- > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- http://ajax-development.blogspot.com/ -- 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-tool...@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.