[b]actionListener[/b]s are called in the order in which they are specified on the page.
Since your button's [b]actionListener[/b] precedes the [b]setPropertyActionListener[/b] on the page, it's called first.
As a workaround, you could replace the [b]actionListener[/b] with [b]action[/b]. You should return null from the action method, so that you'll remain on the same page.
I suppose you could also do something like this:
[code]
<h:commandButton value="test">
<f:setPropertyActionListener target="#{testBean.name}" value="Man"/>
<f:actionListener type="com.acme.MyActionListenerImpl" />
</h:commandButton>
[/code]
Thus, the [b]setPropertyActionListener[/b] precedes the [b]actionListener[/b]. However, I'm not at my PC at the moment and won't be there for several more hours, so I'm just writing this without having tested it first. I just think it should work.
[Message sent by forum member 'vesuvius' (vesuvius_prime_at_hotmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=390839