Hi,
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}"/>
</exception>