On Mon, 14 Jan 2008, tsuresh wrote:
> Hello , I want to update panel from  lists. I have the list of users. When I
> click on the user I should get the user details on the UserDetailPanel. 

Which part of the user row do you want to react? If the 
whole row, I think that you must bind the behavior to the
tr element of the row. 

>                  String selectedCat = userSelected.getName();
>                  target.addComponent(wmc);
>               //how to update panel and get selected user here? 

To update the panel, you add it to AjaxRequestTarget. The
behavior should really be bound to the relevant row in the
list, so you get the selected user just from the 
corresponding component.

> Please suggest.

Study the Ajax examples carefully, it seems that you've got
the things pretty badly mixed up :) 

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

Reply via email to