This content has been marked as final.
Show 2 replies
-
1. Re: Multiple actions with ajax4jsf commandLink or commandButton
pbrouillette Jun 11, 2009 7:05 PM (in response to carlpritchett)I have the same problem. I need to execute more than one action within a a4j:commandlink tag. What is the best way to proceed ?
Thank you.
-
2. Re: Multiple actions with ajax4jsf commandLink or commandButton
wangliyu Jun 16, 2009 1:48 PM (in response to carlpritchett)You can either use pipe or fluent api, for example:
Class A {
public B firstAction() {...}
}
Class B {
public C secondAction() {...}
}
Then you can use #{A.firstAction.secondAction}
Or use @RaiseEvent() & @Observe to do the trick.