you can provide your own impl of listitem that has an attribute that
you set to true when it is clicked. then override oncomponenttag() and
perform any magic there based on the attribute.

-igor

On Tue, Nov 4, 2008 at 8:33 AM, miro <[EMAIL PROTECTED]> wrote:
>
> ListView contains listItem in my case I have links . We have a method onClick
> in a link from which I can know    the link which was clicked , is there a
> way to find among the listItems if a Item was clicked   in method
> renderItem(ListItem item)  ?  I am changing the color of my link to red
> which ever was clicked , now when user clicks the second link i should
> change the color of first link to   balck and color of the second link to
> red , to have this behaviour I must identify the link which was clicked
> --
> View this message in context: 
> http://www.nabble.com/find-if-an--item-in-my-case-a-link-was---clicked-in-a-listView-tp20324606p20324606.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to