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

can i use list view in create wizard component

Former Member

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes you can, Check below example I have used

 <wz:step id="step2" label="hmc.tab.addproductlistwizard.two" sublabel="hmc.tab.addproductlistwizard.section2">
                 <wz:content>
                     <wz:property qualifier="productsForm.newProductSet" type="MultiReference-COLLECTION(Product)"
                                  editor="com.hybris.cockpitng.editor.extendedmultireferenceeditor">
                         <wz:editor-parameter>
                             <wz:name>listConfigContext</wz:name>
                             <wz:value>productToAddAttributes</wz:value>
                         </wz:editor-parameter>
                     </wz:property>
                 </wz:content>
                 <wz:navigation>
                     <wz:cancel/>
                     <wz:back/>
                     <wz:custom label="hmc.wizard.footer.done" handler="mcdProductsSubmitHandler" />
                 </wz:navigation>
             </wz:step>
 .....
 
 
 
 <context type="Product" component="productToAddAttributes">
         <list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
             <list-view:column qualifier="code"/>
             <list-view:column qualifier="name"/>
             <list-view:column qualifier="catalogVersion"/>
         </list-view:list-view>
     </context>

Hope this will help and Let me know if you have any doubt around this.

Answers (2)

Answers (2)

Former Member
0 Kudos

You can write custom renderer in list view to fetch the list of customer. This can be achieved by https://help.hybris.com/6.6.0/hcd/8bab997f86691014852cfbeabd21a5c8.html I guess

Former Member
0 Kudos

Actually I have the list of b2bcustomers that I wan to render in create wizard in list view with multi selected functionality