Hi,

<tr:table> has an attribute "autoSubmit" that sends an
org.apache.myfaces.trinidad.event.SelectionEvent when a row is
selected. You just need to declare a selection listener in your
backing bean, e.g.

public void selectionListener(org.apache.myfaces.trinidad.event.SelectionEvent
event) {
}

HTH,

-- Rafa


On Tue, May 6, 2008 at 5:46 PM, DITTMAR Dirk
<[EMAIL PROTECTED]> wrote:
> Hi!
>
>  I need to enable some Buttons if a row in the trinidad table is
>  selected.
>  The attribute rowSelection is set to "single".
>
>  Is there a way to execute some javascript if one of the radio-buttons is
>  checked? or does anybody have another solution?
>
>
>  thanks for your help!
>
>
>  Dirk Dittmar
>  Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail ist nicht gestattet.
>
>  This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) please 
> notify the sender immediately and destroy this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
>

Reply via email to