Announcement Announcement Module
No announcement yet.
recommendation for model? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    Hi partial validation is planned and will be added SWF-1453. A few suggestions have been made already. Feel free to drop your comments.