Re: JQuery Datatable Bind Mixin

2013-09-11 Thread Barry Books
nday, 9 September 2013 7:05 PM > Subject: Re: JQuery Datatable Bind Mixin > > > See the element parameter. It takes a jQuery selector > > > On Mon, Sep 9, 2013 at 10:16 AM, john c wrote: > > > One more question with this jquery/bind mixin How can I make it apply

Re: JQuery Datatable Bind Mixin

2013-09-10 Thread john c
Is there a link to some documentation or sample somewhere? From: Barry Books To: Tapestry users ; john c Sent: Monday, 9 September 2013 7:05 PM Subject: Re: JQuery Datatable Bind Mixin See the element parameter. It takes a jQuery selector On Mon, Sep 9

Re: JQuery Datatable Bind Mixin

2013-09-09 Thread Barry Books
See the element parameter. It takes a jQuery selector On Mon, Sep 9, 2013 at 10:16 AM, john c wrote: > One more question with this jquery/bind mixin How can I make it apply > for the tbody only? Only the rows? I don't want the event to be fired > when clicking on a column name. It is in

Re: JQuery Datatable Bind Mixin

2013-09-09 Thread john c
One more question with this jquery/bind mixin How can I make it apply for the tbody only?   Only the rows?   I don't want the event to be fired when clicking on a column name. It is interfering  with the sorting.    Thanks.      ...

Re: JQuery Datatable Bind Mixin

2013-09-04 Thread john c
bind.callback="function(event,ui,u) {u.addContext(event.target.parentNode.childNodes[3].innerHTML);}" From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Wednesday, 4 September 2013 7:45 AM Subject: Re: JQuery Datatable Bind Mixin On W

Re: JQuery Datatable Bind Mixin

2013-09-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Sep 2013 02:24:45 -0300, john c 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

Re: JQuery Datatable Bind Mixin

2013-09-04 Thread Barry Books
__ > From: Barry Books > To: Tapestry users ; john c < > john998...@yahoo.com> > Sent: Friday, 30 August 2013 4:15 PM > Subject: Re: JQuery Datatable Bind Mixin > > > The callback is javascript. The bind mixin has no way of know what value > you would like to

Re: JQuery Datatable Bind Mixin

2013-09-04 Thread Nourredine K.
Hi, > My datatable is set to ajax mode (t:mode="true"). After searching the forums > it says I need @Environmental on the row variable. Added that then got other > errors. FYI, in last tapestry5-jquery release, there's no more need to use @Environmental on the row (see https://github.com/got5/

Re: JQuery Datatable Bind Mixin

2013-09-03 Thread john c
s. From: Barry Books To: Tapestry users ; john c Sent: Friday, 30 August 2013 4:15 PM Subject: Re: JQuery Datatable Bind Mixin The callback is javascript. The bind mixin has no way of know what value you would like to pass back so the callback gets the

Re: JQuery Datatable Bind Mixin

2013-08-30 Thread Barry Books
---------- > > Now with the callback, where does this Java code go? > > > > > > From: Barry Books > To: Tapestry users > Sent: Friday, 30 August 2013 8:59 AM > Subj

Re: JQuery Datatable Bind Mixin

2013-08-30 Thread john c
8:59 AM Subject: Re: JQuery Datatable Bind Mixin You will need to provide a javascript callback function to the mixin that puts the value into the url. It's called like this if ( callback ) {                      // TODO should work if value is array   u.addContext = function(value

Re: JQuery Datatable Bind Mixin

2013-08-30 Thread Barry Books
You will need to provide a javascript callback function to the mixin that puts the value into the url. It's called like this if ( callback ) { // TODO should work if value is array u.addContext = function(value) { u.url = u.url.replace(u.context,value)

Re: JQuery Datatable Bind Mixin

2013-08-29 Thread Taha Hafeez Siddiqi
Try curRow.fileID instead of ${curRow.fileID} as parameter to bind.context Sent from my iPhone On 30-Aug-2013, at 3:26 AM, john c wrote: > I am attempting to use the jquery/bind mixin with a datatable, but not having > success. > The relevant code is below. Basically I want to click a row and

JQuery Datatable Bind Mixin

2013-08-29 Thread john c
I am attempting to use the jquery/bind mixin with a datatable, but not having success. The relevant code is below. Basically I want to click a row and have it create a tapestry event, with the fileID. I have tested and found the event occurs, but I can't seem to pass the fileID context. Any idea