Perhaps you are looking for f:actionListener ?

---- Original message ----
>Date: Wed, 14 Dec 2005 20:59:55 -0800
>From: "Saumil Mehta" <[EMAIL PROTECTED]>  
>Subject: Newbie actionListener attribute question  
>To: <[email protected]>
>
>Quick question - is it possible to attach more than one 
action listener
>method to a commandLink component using the JSF EL? 
Effectively, could I
>do something like this?
>
><h:commandLink actionListener="#{EL gobbledygook here}">
>       <h:outputText value="dummy"/>
></h:commandLink>
>
>I have two separate backing beans that provide separate 
functionality
>when the *same* ActionEvent fires. It seems reasonable to 
allow more
>than one listener on an event, I just don't know how to 
write the JSF
>expression for it, and documentation on the EL that I've 
found so far
>doesn't discuss this. Obviously, I know how to write 
expressions to
>register one listener with #{beanName.methodName}. 
>
>Any clues?
>
>Thanks so much in advance for your time and help. 
>
>Regards,
>Saumil Mehta
>

Dennis Byrne

Reply via email to