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

Could not able to customize List view for orders in backoffice

0 Likes
1,346

Hi, I removed below backoffice OOTB order list status column and implemented new customized status cellrenderer as shown below. But its not calling customized bean and also i have added extra list columns which are not calling. any idea whats wrong with my code?

     <list:list-view xmlns:list="http://www.hybris.com/cockpitng/component/listView">
         <list:column qualifier="code" label="customersupportbackoffice.order.listview.ordernumber"/>
         <list:column qualifier="user" label="customersupportbackoffice.order.details.customer"/>
         <list:column qualifier="date" label="customersupportbackoffice.order.listview.date "/>
         <list:column qualifier="deliveryMode" />
         <list:column qualifier="status" label="customersupportbackoffice.order.listview.status"  mergemode="remove"/>

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Likes

The spring-bean for your custom cell renderer is missing e.g.

 <list:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
     <list:column qualifier="status" spring-bean="statusCustomRenderer" label="customersupportbackoffice.order.listview.status"/>
 </list:list-view>
arvind-kumar_avinash
Active Contributor
0 Likes

Hi @Murthy - did it help?

0 Likes

Hi thanks for the reply. I have given customRenderer in Spring-bean and i did reset everything orchestrator mode. Still its not working ,

 <list:column spring-bean="orderStatusListCellRenderer" label="customersupportbackoffice.order.listview.status" position="4" merge-mode="append" />

Thanks, Murthy

arvind-kumar_avinash
Active Contributor
0 Likes

Now I see that you have missed qualifier i.e. qualifier="status".

arvind-kumar_avinash
Active Contributor
0 Likes

Hi @Murthy - did you succeed to resolve the issue?

0 Likes

I didn't resolve this issue. I want to call spring-bean instead of using qualifier.

Former Member
0 Likes

Hi @arvind-kumar-avinash

I have created a new Renderer class extending DefaultListCellRenderer and given proper spring-bean config in my backoffice spring.xml, but when i try to build, it is giving build errors in the renderer class.I have requires extension set in my extension info file and i am using 6.5.

Any help.

import org.zkoss.zul.Label;
import org.zkoss.zul.Listcell; import com.hybris.cockpitng.core.config.impl.jaxb.listview.ListColumn; import com.hybris.cockpitng.dataaccess.facades.type.DataType; import com.hybris.cockpitng.engine.WidgetInstanceManager; import com.hybris.cockpitng.util.UITools; import com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.renderer.DefaultListCellRenderer;