You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built a flow to save hotel bookings before, and now I want to use the same in Edit mode.
I have an action named "start" that is not a flow step. This action "start" shows the View for first step.
I set all Flow Scope objects in "start" method in edition mode, to be able to preview the data.
The problem is, as the "start" method is a view method, when I set the flow scope objects, it get lost on the next step. I know I can put these data as hidden fields, or save to the session. But I was hoping to avoid that to make the code as clean as possible, and use the plugin Flow Scope.
Then I think, it would be great to pre populate all the Flow Scope Objects, just before the flow starts.
The action attributes marked with "@ActionFlowScope" are saved to the scope on submit forms right?. I was hoping to be able to set these "@ActionFlowScope" attributes to the scope at any time manually, for example from some overwriten "View Method" like "step3View" having a step action named "step3".
Hi, thank you again for share your work.
I built a flow to save hotel bookings before, and now I want to use the same in Edit mode.
I have an action named "start" that is not a flow step. This action "start" shows the View for first step.
I set all Flow Scope objects in "start" method in edition mode, to be able to preview the data.
The problem is, as the "start" method is a view method, when I set the flow scope objects, it get lost on the next step. I know I can put these data as hidden fields, or save to the session. But I was hoping to avoid that to make the code as clean as possible, and use the plugin Flow Scope.
Then I think, it would be great to pre populate all the Flow Scope Objects, just before the flow starts.
Here is the source code.
Thank you in advance.
The text was updated successfully, but these errors were encountered: