:: Forum >>

cell links via AW.XML.Table?

Hello:

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
Saturday, March 18, 2006
http://www.activewidgets.com/javascript.forum.9812.5/setcelllink-in-2-0.html
Alex (ActiveWidgets)
Tuesday, March 21, 2006

This topic is archived.


Back to support forum

Forum search