You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Federico Fanton <ff...@ibc.it> on 2007/08/20 17:24:21 UTC
Double clicking on a table row
Hi everyone!
I'm looking for a little help.. I need to add an "ondblclick" functionality to a DataTable, so that doubleclicking on a row would jump to another page (passing information about the clicked row)..
I subclassed DataTable so that I could override newRowItem to let it return a modified Item, but I'd like to avoid hardcoding Javascript, so I'd like to ask, what is the "Wicket way" to do this?
Many thanks in advance!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Double clicking on a table row
Posted by Federico Fanton <ff...@ibc.it>.
On Mon, 20 Aug 2007 15:53:15 -0300
"Damian Mendez Romera" <da...@gmail.com> wrote:
> Have you tried with AjaxEventBehavior("ondblclick") on the "newRowItem"?
I thought about it but for some reason the idea of a trip to the server led me away.. X-) Many thanks for your help!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Double clicking on a table row
Posted by Damian Mendez Romera <da...@gmail.com>.
Have you tried with AjaxEventBehavior("ondblclick") on the "newRowItem"?
2007/8/20, Federico Fanton <ff...@ibc.it>:
> Hi everyone!
> I'm looking for a little help.. I need to add an "ondblclick" functionality to a DataTable, so that doubleclicking on a row would jump to another page (passing information about the clicked row)..
> I subclassed DataTable so that I could override newRowItem to let it return a modified Item, but I'd like to avoid hardcoding Javascript, so I'd like to ask, what is the "Wicket way" to do this?
> Many thanks in advance!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org