hi all, i am evaluating 2.5 for a project we are undertaking, basically we want
to read an xml schema and allow the user to editing that tree structure via a web app. smartGWT seems like a good fit for this. they would be able to change values of existing nodes and even add/remove new nodes (hopefully have it validated somehow)
so i downloaded LGPL version and got hello world up and running and now I want to move onto the Editing TreeGrid example.
so I went to the showcase that is here
http://www.smartclient.com/smartgwt/showcase/#tree_editing
and tried to bring the
1) TreeEditingSample.java
2) EmployeeXmlDS.java
3) employees.data.xml
into my project and run it
I am unsure where smartGWT expects to find employees.data.xml?
i see that the EmployeeXmlDS.java tries to load the xml via
setDataURL("ds/test_data/employees.data.xml");
and it blows up in the places i put it, i guess it cannot find it
although there is no "file not found message"
I tried to place employees.data.xml in root above (client and server pkg)
com.vzw.mytest.ds.test_data
also tried other places but i get.
12:47:20.076:XRP7:WARN:DataSource:employeesDS:one-time fetch failed with status: -90 and messsage: [object Object]. Initializing an empty Array as testData.
com.smartgwt.client.core.JsObject$SGWT_WARN: 12:47:20.076:XRP7:WARN:DataSource:employeesDS:one-time fetch failed with status: -90 and messsage: [object Object]. Initializing an empty Array as testData.
can someone please help me fix this, maybe with a few words of explanation
thanks
to read an xml schema and allow the user to editing that tree structure via a web app. smartGWT seems like a good fit for this. they would be able to change values of existing nodes and even add/remove new nodes (hopefully have it validated somehow)
so i downloaded LGPL version and got hello world up and running and now I want to move onto the Editing TreeGrid example.
so I went to the showcase that is here
http://www.smartclient.com/smartgwt/showcase/#tree_editing
and tried to bring the
1) TreeEditingSample.java
2) EmployeeXmlDS.java
3) employees.data.xml
into my project and run it
I am unsure where smartGWT expects to find employees.data.xml?
i see that the EmployeeXmlDS.java tries to load the xml via
setDataURL("ds/test_data/employees.data.xml");
and it blows up in the places i put it, i guess it cannot find it
although there is no "file not found message"
I tried to place employees.data.xml in root above (client and server pkg)
com.vzw.mytest.ds.test_data
also tried other places but i get.
12:47:20.076:XRP7:WARN:DataSource:employeesDS:one-time fetch failed with status: -90 and messsage: [object Object]. Initializing an empty Array as testData.
com.smartgwt.client.core.JsObject$SGWT_WARN: 12:47:20.076:XRP7:WARN:DataSource:employeesDS:one-time fetch failed with status: -90 and messsage: [object Object]. Initializing an empty Array as testData.
can someone please help me fix this, maybe with a few words of explanation
thanks
Comment