If you parse the XML string into run-time Java calls. That's not
unreasonable. Create some widgets ahead of time that correspond to your
custom XML elements, then tailor the widgets based on the XML element
content or attribute values.
The translation of the GWT ui XML occurs at compile-time, not run-time.
On Sat, Jul 17, 2010 at 2:41 AM, shankar_1979 shankar.pach...@gmail.comwrote:
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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
--
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.