AW.XML.Table getValue getText in RC1
I am getting a "method not supported" when using either getValue or getText to access a column/row value in an AW.XML.Table object:
itsSessionTable.setURL("test2.xml"); // Simple companies from the exmpl.
itsSessionTable.setRows("//companies/company");
itsSessionTable.setColumns(["ticker"]);
Then in the response handler:
itsSessionTable.response = function(data){
// Handle the response
defaultResponse.call(this, data);
// Set the IP
alert(data.xml); // XML displayed
alert(itsSessionTable.getValue(0,0)); // JavaScript ERROR.
}
The same happens for getText.
itsSessionTable.setURL("test2.xml"); // Simple companies from the exmpl.
itsSessionTable.setRows("//companies/company");
itsSessionTable.setColumns(["ticker"]);
Then in the response handler:
itsSessionTable.response = function(data){
// Handle the response
defaultResponse.call(this, data);
// Set the IP
alert(data.xml); // XML displayed
alert(itsSessionTable.getValue(0,0)); // JavaScript ERROR.
}
The same happens for getText.
Karl Thoroddsen
February 3,