<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/

Reply via email to