This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: Passing multiple parameters to beanalsha Nov 6, 2008 5:33 AM (in response to olibutzki)try to use <f:setPropertyActionListener /> 
 its not exactly, what you expect, but it can help you
 regards,
 Alexey
- 
        2. Re: Passing multiple parameters to beanilya_shaikovsky Nov 6, 2008 5:36 AM (in response to olibutzki)you could use multiple params ;) 
- 
        3. Re: Passing multiple parameters to beanolibutzki Nov 6, 2008 5:53 AM (in response to olibutzki)"ilya_shaikovsky" wrote: 
 you could use multiple params ;)
 With multiple params I can invoke multiple setters, right? But that's not what I want to do as I need this parameters all together within my method.
- 
        4. Re: Passing multiple parameters to beanilya_shaikovsky Nov 6, 2008 6:16 AM (in response to olibutzki)all the parameters wil be setted and you could process them alltogether in your action... 
- 
        5. Re: Passing multiple parameters to beanolibutzki Nov 6, 2008 7:13 AM (in response to olibutzki)"ilya_shaikovsky" wrote: 
 all the parameters wil be setted and you could process them alltogether in your action...
 Ok, Something like this works for me:<a4j:jsFunction name="testScript" actionListener="#{bean.test}"> <f:attribute name="attributeName1" value="attributeValue1" /> <f:attribute name="attributeName2" value="attributeValue2" /> </a4j:jsFunction>public void test(ActionEvent aEvent) { ... }
 My problem is that the class I use as bean doesn't know of any JSF specific classes like ActionEvent. That's the reason why I prefer a signature like this:public void test(String attributeName1, String attributeName2) { ... }
 Is it possible to invoke such a method?
 
     
    