spring-webflow
spring-webflow copied to clipboard
Add history attribute to action-state transitions [SWF-1481]
Doug Breaux opened SWF-1481 and commented
We really need to invalidate history on an action-state transition. More details in the referenced forum thread, but quick summary:
We have a transition which needs to execute some (action) code and then send the user to 1 of 3 possible next view states, with 1 of those 3 being a "success" state which should invalidate previous snapshots. The other two would not invalidate the snapshots.
Reference URL: http://forum.springsource.org/showthread.php?94367-WF2.1-history-quot-discard-quot-not-applicable
2 votes, 4 watchers
Doug Breaux commented
Visiting old items, wondering if any comment at all can be made on this Feature request?
Doug Breaux commented
Wow, has it been that long? Any chance of being able to invalidate history on action-state transitions? Or some other way to accomplish this that I'm missing?
Doug Breaux commented
Poke. Is there some fundamental reason action-state transitions don't support this? Worse, that we are missing some side-effect when we do it in custom code called from an action-state transition?