cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris wizard filtering

0 Likes
384

I have the following wizard:

<context type="Finance" component="create-wizard"
principal="backofficeadministratorrole,loyaltyoperatorbackofficerole">
<wz:flow xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config" id="CustomFinanceWizard"
title="create.title(ctx.TYPE_CODE)">
<wz:prepare id="newFinancePrepare">
<wz:initialize property="newFinance" type="ctx.TYPE_CODE"/>
</wz:prepare>
<wz:step id="step.essential" label="create.euroshell.message.essential.label">
<wz:content id="step.essential.content">
<wz:property-list root="newFinance">
<wz:property qualifier="product"/>
<wz:property qualifier="baseStore"/>
</wz:property-list>
</wz:content>
<wz:navigation id="step.essential.navigation">
<wz:cancel/>
<wz:done>
<wz:save property="newFinance"/>
</wz:done>
</wz:navigation>
</wz:step>
</wz:flow>
</context>

where the property "product" is of type ProductModel and "baseStore" is BadeStoreModel from Hybris classes.What I am trying to achieve is : I want when the user chooses a value for "baseStore" and then goes to choose field "product",then I want the only visible products he can choose to be the ones that belong to "baseStore".How can I achieve that?

Accepted Solutions (0)

Answers (0)