cell links via AW.XML.Table?
Hello:
I'd like to get my cell links dynamically from the server (something like the following):
However, when I do that, I'm getting an error out of the system/model join function (at least that's where I think the error is coming from).
Question I have is.. is it possible to set a data model on an AW.UI.Link? Pretty sure that is the source of my problem, because if I comment out the
statement, I don't get the error (obviously my links don't get set, either).
Any ideas?
I'd like to get my cell links dynamically from the server (something like the following):
var reportLink_0 = new AW.UI.Link;
reportGrid.setCellLink(reportLink_0,0);
reportGrid.setCellTemplate(new AW.Templates.Link, 0);
var reportLink_0_data = new AW.XML.Table;
reportLink_0_data.setURL('/my_data/url/sourceLink');
reportLink_0.setModel(reportLink_0_data);
reportLink_0_data.request();
However, when I do that, I'm getting an error out of the system/model join function (at least that's where I think the error is coming from).
Question I have is.. is it possible to set a data model on an AW.UI.Link? Pretty sure that is the source of my problem, because if I comment out the
reportLink_0.setModel(reportLink_0_data);
statement, I don't get the error (obviously my links don't get set, either).
Any ideas?
Gary
March 18,