on 08-29-2017 9:08 PM
Hi All,
For one of my requirements, I want to populate reference editor values defined in one of the step and this values will be based on user selection in previous step.
So, I have 2 items suppose A and B and have one to many relation defined in items.xml. In ConfigurableFlowWizard's step1, if user choose any value of item A and click next then only associated values must be prefilled in reference editor for item B.
What can be the best solution for this kind of problem?
Thanks,
Ved
Hi Ved, There is two approaches i think it could be possible. One is using dynamic forms https://help.hybris.com/6.4.0/hcd/8bb48c3e86691014ba23af134a9a1c1b.html and other one is using Java Handler classes and refer them in the wizard navigation as below customHandler implements FlowActionHandler , in the perform() method load the object , manipulate values attach to model context. Thanks Seb
<wz:navigation id="step2.navigation">
<wz:cancel />
<wz:custom handler="customHandler" label="Next" > </wz:custom>
</wz:navigation>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.