Going from Table to XML file
Would I have to make a function to read each node on the grid, and put the <quoteNum> nodefromgird </quoteNum> around each line, or is there an easier way to do this?
- the XML data will be updated automatically thanks to the table.setText() method. But you still have to serialise the XML and send back to the server somehow.
So my debug console will look like the XML file. (Just so i can visually see it, I will take out the debug console when I finish the project. And from there, I just send the 'dumptemp' to an URL template and off she goes.
I just wanted to know if I had to make up the function (like I did above, or if there was a commmand like
var newXML = table.returnValues
But from the looks of things, the function is good enough for what I need.
var xml = table.getXML();
to get access to XML object.
What can I do with that?
To populate select boxes from an XML file, would you first load the XML file into a table, and then do the....
.addOption( "table.getText(1,1)", "table.getText(1,0)");
If I make a button and put the .addOption codes in there, it works fine, because by the time I go and click the button, the xml data is loaded.
But I don't want the user to click a button evertime the page gets loaded.
and within your function, make a boolean varible, so it only loads the function once.
It would be nice if the grid waited for the dropdown talbes to load first, before it will display. Is it something to do with the table.request ?
hai I need the the proper code for display the xml file using jsp.
how can i do it ?
I have one table. ex. employee.xml I have to display this xml file in jsp. kindly send
the code in email@example.com. Please.......
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.