You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by miro <mi...@yahoo.com> on 2008/11/03 18:11:48 UTC

onclick event in a listview

I have  two tables side by side  in my page .   
Table 1  has two columns name, age

Table 2 has  details column    like sex, address etc

when user selects  a name in table 1 i want  to update table two with
details of selected  name, is this possible , I was looking   for onClick on
listView but did not find , I want the event onlick on a list item 


if it is not there how can I achieve this functionality?
-- 
View this message in context: http://www.nabble.com/onclick---event-in-a-listview-tp20306627p20306627.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: onclick event in a listview

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Add a link to the list item and override onclick

miro wrote:
> I have  two tables side by side  in my page .   
> Table 1  has two columns name, age
>
> Table 2 has  details column    like sex, address etc
>
> when user selects  a name in table 1 i want  to update table two with
> details of selected  name, is this possible , I was looking   for onClick on
> listView but did not find , I want the event onlick on a list item 
>
>
> if it is not there how can I achieve this functionality?
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: onclick event in a listview

Posted by Igor Vaynberg <ig...@gmail.com>.
it is as simple as composition, add a link to the list item. there are
examples in wicket-examples under repeaters.

-igor

On Mon, Nov 3, 2008 at 9:11 AM, miro <mi...@yahoo.com> wrote:
>
> I have  two tables side by side  in my page .
> Table 1  has two columns name, age
>
> Table 2 has  details column    like sex, address etc
>
> when user selects  a name in table 1 i want  to update table two with
> details of selected  name, is this possible , I was looking   for onClick on
> listView but did not find , I want the event onlick on a list item
>
>
> if it is not there how can I achieve this functionality?
> --
> View this message in context: http://www.nabble.com/onclick---event-in-a-listview-tp20306627p20306627.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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