0 Replies Latest reply on Apr 6, 2009 1:07 PM by Gregory Nikle

    Redirect to current view on OptymisticLockException?

    Gregory Nikle Apprentice

      I want to redirect user to currect view like page refresh on optymisticklock exception if its thrown by db.

      Can I do it in pages like that?

      <exception class="javax.persistence.OptimisticLockException">
          <action execute="#{redirect.returnToCapturedView}"/>