Aaah okay, that helps a bunch. Thanks guys!

-----Original Message-----
From: Kurt Edegger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 15, 2005 9:33 AM
To: MyFaces Discussion
Subject: Re: Newbie actionListener attribute question

Hi,

but with <f:actionListener type="class"> you can only specify a class 
implementing the ActionListener interface, right? It's not possible to 
register a '#{beanName.methodName}' as asked by Saumil in the first
posting.

Best regards,

        Kurt

on 12/15/2005 4:06 AM Hans Sowa stated:
> Hi
> 
> You can use more than 1 actionListener:
> 
> <h:commandLink>
>        <h:outputText value="dummy"/>
>        <f:actionListener type="blalbla" />
>        <f:actionListener type="blalbla" />
> </h:commandLink>
> 
> Instead of using the attribute actionListener use the tag
actionListener.
> 
> best regards Hans
> 
> 2005/12/15, Saumil Mehta <[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
>>
>>
> 
> 
> 
> --
> mfg Hans Sowa
> mailto:[EMAIL PROTECTED]
> 


Reply via email to