Hello Kyle,

I faced a close issue before when I had to generate XML from JAXB-
generated beans. If JAXB-generated beans can be used on GWT client
side and converted in Javascript without concern, not are the JAXB
(un)marshallers for those beans. Unfortunately, there is not, as far
as I know, a possible straight translation of these (un)marshallers
into Javascript. GWT does not enable reflection; some frameworks
propose to work around it but I hardly think they can help to
implement an efficient JAXB translation.

Why not make the server do the job and push/pull data through RPC
calls ?

Alexandre.

On 3 sep, 20:21, Kyle Anderson <[email protected]> wrote:
> I have an XML Schema defined in XSD format.  Basically, there are a
> whole lot of objects with attributes associated with them.  The
> attributes have various types (strings, enumerated types, integers).
> The restrictions on these attributes are all defined in the XSD
> format.   I would like to create an "editor" in GWT which allows the
> user to edit a file in XSD format.  The editor should be able to
> create a form using the XSD.  For example, if there is an enumerated
> type attribute, the editor should create a drop down menu.
>
> I experimented with JAXB to generate the java bean classes from the
> XSD format.  The problem with this is that you cannot do reflection in
> GWT, so there's no great way to view the attributes of the class in
> order to create the editor window.
>
> I imagine people have done similar things before.
>
> Thanks!!
> Kyle

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