Mar 9th, 2011, 01:49 AM
recommendation for model?
Are there any recommendations for designing of model? Should there be one model per state (resp. view) or one model per flow?
Before SWF 2.3 has been released, we supposed that it should be one moder per flow, which properties are filled in on multiple views. Also the validation concept (validator per state) suggested this is the right way.
But now when the JSR-303 support has been added (what we appreciate
) it seems to be not the right way any more because all the properties of the model are being validated, not just these binded in current state.
Mar 9th, 2011, 10:05 AM
Hi partial validation is planned and will be added SWF-1453. A few suggestions have been made already. Feel free to drop your comments.
Tags for this Thread