Announcement Announcement Module
Collapse
No announcement yet.
Store model on each view-state Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Store model on each view-state

    Hi!

    I want to store the edited model, set on the view-state model property, for each view state.
    Example:

    Code:
    <view-state id="firstThing" model="thing">
    ...
    </view-state>
    
    <view-state id="secondThing" model="thing">
    ...
    </view-state>
    Why?
    Because, when I fill in my first model, proceeding to the second state and then go back, the Form is prefilled with those values form the secondThing step.

    You would suggest now, that I could use flow-variables thing1 and think2 and edit them separately. BUT then I have two redundant vaidators!

    Is there a nice solution?!?
Working...
X