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
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
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
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.
...
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
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
__
> 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
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/
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
----------
>
> 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
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
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)
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
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
14 matches
Mail list logo