You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by James Carman <ja...@carmanconsulting.com> on 2010/06/30 22:03:13 UTC
Re: How make to what a row the a datatable has two event: onClick y
onSelect
How do you click vs. select?
On Wed, Jun 30, 2010 at 3:04 PM, Alis <aj...@yahoo.es> wrote:
>
> Hello! How are you?
>
> I´m implement a DataTable, and the rows is link, i need make click the row
> and implement a process and when select row do other process. Help me,
> please and very thank.
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-make-to-what-a-row-the-a-datatable-has-two-event-onClick-y-onSelect-tp2272766p2272766.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by Alis <aj...@yahoo.es>.
Hello, thank you. Ok, i will do a Ajaxcheckbox by each row. I need know when
the user does check in the Ajaxcheckbox.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-make-to-what-a-row-the-a-datatable-has-two-event-onClick-y-onSelect-tp2272766p2275094.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by Martijn Dashorst <ma...@gmail.com>.
On Thu, Jul 1, 2010 at 1:47 PM, James Carman <ja...@carmanconsulting.com> wrote:
> But, if they scroll, won't the marker just stay where it is on the
> monitor and then the selection will change? Perhaps we should require
> that they wipe off the marker first, then scroll, then re-underline.
> That should do the trick. Better yet, the user should use a permanent
> marker on their monitor. They should write "This row is selected ->"
> and all they have to do is scroll their screen so that the row they
> want to select is pointed to by the marker. That way, it can be
> re-used on any web page with no code changes!
That is why I have a roll of transparent plastic foil attached to the
top of my monitor. This way I can scroll the marking with what's on
screen. It also comes in very handy for performing code reviews (red
marker here I come!). Video chats also become much more fun when you
can draw mustaches on your screen.
Martijn
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by James Carman <ja...@carmanconsulting.com>.
On Thu, Jul 1, 2010 at 3:57 AM, Martijn Dashorst
<ma...@gmail.com> wrote:
>> But how does your user "select" the row? Clicking a checkbox or what? Do
>> you need an ajax event for each?
>
> The user has to underline the row with a marker to select it.
But, if they scroll, won't the marker just stay where it is on the
monitor and then the selection will change? Perhaps we should require
that they wipe off the marker first, then scroll, then re-underline.
That should do the trick. Better yet, the user should use a permanent
marker on their monitor. They should write "This row is selected ->"
and all they have to do is scroll their screen so that the row they
want to select is pointed to by the marker. That way, it can be
re-used on any web page with no code changes!
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by Martijn Dashorst <ma...@gmail.com>.
> But how does your user "select" the row? Clicking a checkbox or what? Do
> you need an ajax event for each?
The user has to underline the row with a marker to select it.
Martijn
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by Jeremy Thomerson <je...@wickettraining.com>.
On Wed, Jun 30, 2010 at 3:25 PM, Alis <aj...@yahoo.es> wrote:
>
> Yes, yes, need i make a simula of its two event, because if the user do
> click the row, i have what make a accions and if make select row other
> accion-
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-make-to-what-a-row-the-a-datatable-has-two-event-onClick-y-onSelect-tp2272766p2274175.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
But how does your user "select" the row? Clicking a checkbox or what? Do
you need an ajax event for each?
--
Jeremy Thomerson
http://www.wickettraining.com
Re: How make to what a row the a datatable has two event: onClick y
onSelect
Posted by Alis <aj...@yahoo.es>.
Yes, yes, need i make a simula of its two event, because if the user do
click the row, i have what make a accions and if make select row other
accion-
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-make-to-what-a-row-the-a-datatable-has-two-event-onClick-y-onSelect-tp2272766p2274175.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.