Hi,

   Thanks for your suggestion. But my problem is
different. I have a table containing 'n' rows and just
below the table in the same page I have have some
input boxes which are initially empty. When I click on
a row in table then with the help of row id I retrieve
one object from server and fill the input boxes with
that object's attributes. For the first time it works
properly, I mean when I click any row for the first
time then I retireve the object from Database and fill
in the input boxes with object's
attributes(properties). But when I click other row , I
retrieve another object from database with the help of
row id but can not fill in the input boxes with the
current object's attributes. input boxes retais the
previous values. I want to update the values of input
boxes with current object's attributes.

     Any help?
Thanks and regards....
Arvind 


--- Jaya Saluja <[EMAIL PROTECTED]> wrote:

> <h:commandLink action="#{backer.select}">
>                   <h:outputText
> value="#{cust.accountId}"
> styleClass="linktext"/>
> </h:commandLink>
> 
> In the action make a call to the select method in
> the backing bean.
> Use a ListDataModel and use the method getRowData()
> 
> -----Original Message-----
> From: Mr Arvind Pandey
> [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 07, 2006 2:37 AM
> To: [email protected]
> Subject: Values are not displayed properly.
> 
> Hi,
> 
>     I am using <t:dataTable> to display set of rows.
> When I click on the row, it displays the info of
> that
> row (i.e. Customer) just below the table in the same
> page for editing purpose. For the first time when I
> click on any row it displays the info of correct row
> that I have clicked. But second time If I click on
> other row , still it displays the info of row which
> I
> had clicked first.
>    I am not getting what should I do.Pls help.
>    Any suggestion?
> 
> Thanks and regards...
> Arvind
> 
> 
>               
>
__________________________________________________________
> Yahoo! India Answers: Share what you know. Learn
> something new
> http://in.answers.yahoo.com/
> 



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to