0

With Spring WebFlow, is it possible to avoid hard-wiring the possible transitions between view-states ?

I am thinking of getting the name of the next view-state based on model validation rules.

That would be a way of creating a work-flow based on the model state.

yglodt
  • 13,807
  • 14
  • 91
  • 127

1 Answers1

2

If I understand correctly, that's exactly what WebFlow is for. Either <action-state> or <decision-state> give you the ability to examine model objects (and other objects) and choose different transitions based on what you read.

dbreaux
  • 4,982
  • 1
  • 25
  • 64
  • Thanks for the answer, this solves my requirement. I had some more insights reading this question&answer: http://stackoverflow.com/questions/11994847/spring-webflow-decision-state-vs-action-state – yglodt Jan 26 '14 at 11:08