bind.callback="function(event,ui,u) {u.addContext(event.target.parentNode.childNodes[3].innerHTML);}"
________________________________ From: Thiago H de Paula Figueiredo <thiag...@gmail.com> To: Tapestry users <users@tapestry.apache.org> Sent: Wednesday, 4 September 2013 7:45 AM Subject: Re: JQuery Datatable Bind Mixin On Wed, 04 Sep 2013 02:24:45 -0300, john c <john998...@yahoo.com> wrote: > bind.callback="function(event,ui,u) {u.addContext(${currRow.fileID}); > bind.callback="function(event,ui,u) {u.addContext(currRow.fileID); > > But it doesn't work. currRow is Null. That's the expected result. You're adding a callback, which will be called later, which is using a value which is set only during the rendering. Your function needs to extract the data from the HTML DOM nodes. -- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org