JSF, actionlistener at facelets

Posted by asrijaal on Stack Overflow See other posts from Stack Overflow or by asrijaal
Published on 2010-04-21T21:21:37Z Indexed on 2010/04/21 21:23 UTC
Read the original article Hit count: 330

Filed under:
|

Hi there,

I'm using JSF (Mojarra 1.2) with Richfaces (3.3.2) within some facelets which are used as portlets (I'm using the Jboss Portlet Bridge 2.0 here). Now I'm facing something strange: I've got an actionlistener on my <h:commandButton> which is triggered, when the button is clicked but when I simply reload the page, the action is executed everytime I load the page again. This happens only if I already triggered the action before. Is this behaviour normal?

I should notice that Spring 2.5 is used to manage my beans, the mentioned beans are session-scope beans, maybe this is a interessting point?!

© Stack Overflow or respective owner

Related posts about jsf

Related posts about java