Is this method working? It's not returning a value for a table even though the table is working for populating a grid:
var tablesrc = new AW.XML.Table;
var xml = tablesrc.getXML();
var obj = new AW.UI.Grid;
var label = new AW.UI.Label;
label.setControlText( xml );
The value of xml is "undefined".
Thursday, August 24, 2006
Yes, this method does work. To correct your example you should add -
otherwise the request is asynchronous and the xml data will not be available immediately after the request.
Friday, August 25, 2006
I've also got the same probleme, I'm using a Vortex script called xml1 that ouputs an xml file and I am then using this AW script to show the xml. I get the same error message as Curt even with "table.setAsync(false);" set.
vortex script for for the xml file.
file name : xml1
<!-- Global settings -->
<DB = "reflink">
<TIMEOUT = -1>
Your action exceeded the time limit.