add(new listview(....) {
   item newitem(...) {
      return new item(..) {
         oncomponenttag(tag) {
             super.oncomponenttag(tag);
              if (getmodelobject().equals(selectedobject) {
                  tag.put("class", "selected");

-igor

On Thu, May 13, 2010 at 5:47 AM, JeroenWolff <[email protected]> wrote:
>
> Hi, i'm a wicket newbee...i've got a ListView with a AjaxLink so the selected
> 'customer' details will be shown in a detailed panel. But now i would like
> to highlite the selected 'customer' row in de ListView so the user can see
> which row he/she selected.
>
> How can i do this?
>
> Thanks,
>
> Jeroen
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/ListView-highlight-selected-row-tp2197486p2197486.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