Re: [qooxdoo-devel] Listview Data Value

2006-07-06 Thread Jim Hunter
I agree with Derrel. Whenever I create compound controls, I always surface properties and methods of the sub-controls to the parent control. In this way, you don't have to know how a control is build, you just need to know the properties and methods that it provides. I don't believe that you should

Re: [qooxdoo-devel] Listview Data Value

2006-07-06 Thread Andreas Ecker
Hi, Derrell! > This seems silly. The fact that there is a ListViewPane object embedded in a > ListView object is purely an internal architectural issue. The user shouldn't > need to know or care. The user should operate purely on the ListView object, > and if, internally, information needs to b

Re: [qooxdoo-devel] Listview Data Value

2006-07-05 Thread sharmaprateek
Thanks Everyone for a quick and kind response! :) -- View this message in context: http://www.nabble.com/Listview-Data-Value-tf1896111.html#a5193400 Sent from the qooxdoo-devel forum at Nabble.com. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: [qooxdoo-devel] Listview Data Value

2006-07-05 Thread ACampelo
Sharmaprateek, I had the same problem yesterday and I solved in this way: First, the code where I load the source array.: for (var i = 0; i < nodesXML.length; i++) { Lines.push( { id : { text : nodesXML[i].childNodes[0].firstChild

Re: [qooxdoo-devel] Listview Data Value

2006-07-05 Thread Derrell . Lipman
Christian Boulanger <[EMAIL PROTECTED]> writes: > lv.addEventListener('click', function(e){ > >var row = this.getPane().getSelectedItems()[0]; > alert ("ID = " + row.id.text); > },this); Sebastian, Andreas, et al, This seems silly. The fact that there is a ListViewPane object embedded i

Re: [qooxdoo-devel] Listview Data Value

2006-07-05 Thread Christian Boulanger
Hello sharmaprateek, lv.addEventListener('click', function(e){ var row = this.getPane().getSelectedItems()[0]; alert ("ID = " + row.id.text); },this); sharmaprateek schrieb: > Hi, > > I am using a simple listview control in one of my apps.. I am able to attach > a handler to it.. but I am