4 Replies Latest reply on Jun 20, 2011 8:50 AM by ginc

    Implementing of Post/Redirect/Get Pattern in richfaces 4

    ginc Newbie

      Hi there,

       

      i would like to implement the Post/Redirect/Get Pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get) into my application in order to prevent double submits and annoying refresh messages like "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."

       

      Before I upgraded to jsf 2 and richfaces 4 I have used the filter from balusc (http://balusc.blogspot.com/2007/03/post-redirect-get-pattern.html) to solve this problem.

      Unfortunetely it does not work with richfaces 4 anymore. When using this filter'oncomplete' does not work for instance..

       

       

      So my question is, how do I implement this pattern in order to work correctly?

       

      Thanks in advance.

       

      Gregor