I am new to GWT. Recently I am building a website need to have several
pages of forms with same kind of structures. What I originally do is having
a XML file with information for input attribute, something like
<formInput>
<type>Text</type>
<name>xxxx</name>
<display>xxxx</display>
</formInput>
, and then I have a form template which will read the XML files at client
side and create form input html elements and dynamically add them into the
dom.
I'm not sure if this a better way to create a form template. It seems like
writing raw html in uibinder also can get things done and it will save
times on create event handlers for individual element. I want to create a
template because the website I'm making need to extend to have more forms
in the future. That's why I was thinking about making a template at first
place.
Can anyone give me some suggestions about what's the best practice of
making template or in general creating same structure pages. Any input will
be appreciated.
Thanks!
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.