You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ba...@Koopmanint.com on 2008/06/10 10:29:03 UTC

Re: [Trinidad] Selecting a row in tr:table by clicking on the row

Hi Tom,

Thanks for you suggestion. How exactly did you use the rowLayout 
component? The documentation is not really extensive and I don't get it 
working. Depending on where I put the rowLayout it either makes no 
difference or it hides the whole row... 

Best regards,
Bart Kummel




Tom Dufresne <ta...@lanl.gov> 
10-06-2008 00:38

To
Bart.Kummel@Koopmanint.com
cc

Subject
Re: [Trinidad] Selecting a row in tr:table by clicking on the row







I wish I had seen you post last Friday, it would have saved me a day of 
work.

Selecting a row by clikcing on its contents is a step in the right 
direction, but I'm still looking for a way to make the whole row 
"clickable". Does someone have any idea on how I can add an onclick 
property to either the tr element or to every td element within a row?


I was able to make the whole row clickable by adding a rowLayout around 
the contents and then assigning the onclick property to the rowLayout.

Tom