how to redirect to two differents page after button clic
I'm new developper in Spring Webflow and i want to redirect my page in same page or another page after button clic.
The webflow code for this state is :
How to add in this code this decision :
<view-state id="editEntity" model="entity">
<!-- Action button -->
<transition on="save" validate="false">
Thank's for your help
If saveEntity return 'true' , i'll redirect in other page 'moreDetail'.
else leave at 'editEntity'