Piotr Wlodarek wrote:
As of now, what is the best approach to create multi-step
creation/edition forms (wizards)?
Googling does not provide a clear answer.
I have found the REST/CRUD model does not work well with multi-page forms (wizards). What I have found is generally best is to implement custom non-CRUD actions which display the various steps and navigation between the steps (a DSL would be good here but I have never bothered to create one). Then store the attributes as a hash in the session. Each page can add to the hash as you go. If the user goes to a previous page the fields will be populated from the hash.
Then when the process is complete and you have all the data you want you would post to the create action to move to the more traditional CRUD for the completion and actual creation of the object submitting the results of the hash as the arguments to the create.
At least that is what has worked for me.