In a wizard I need to know which intermediate objects have been created in order to delete them when the user click the cancel button. How can I store shared datas between the StateViews, and retrieve them in the end() function ?
The wizards are not really designed for such behavior.
Any way you can transfer data from one state to another by storing on the view as invisible field the required data using the default values.
But you may think about just saving the record only once at the end in a single transaction.