PDA

View Full Version : JDOM with GXT



Salah91
28 Jan 2010, 9:47 AM
Hello

Is there a way to use JDOM with GXT ?
I'd like to get datas from a XML file with JDOM but I always got this message in the compilation log :


No source code is available for type org.jdom.Document; did you forget to inherit a required module?
[ERROR] Line 151: No source code is available for type org.jdom.Element; did you forget to inherit a required module?
[ERROR] Line 152: No source code is available for type org.jdom.input.SAXBuilder; did you forget to inherit a required module?
[ERROR] Line 154: No source code is available for type java.io.File; did you forget to inherit a required module

What module do I have to add in the XML file ?

Thanks

micgala
29 Jan 2010, 6:46 AM
Hi.

This is not a GXT question, but GWT.

You can not use external java libraries with GWT. Unless they are themselves prepared for GWT as well.

You better ask this kind of questions in some GWT forum.

Regards,
Michel.

Salah91
29 Jan 2010, 7:11 AM
Oh, sorry I didn't know that.

So how can we get datas from XML into Strings and not ListStore<ModelData> like in the GXT samples ? :-?