on ‎2019 Jan 07 7:19 AM
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"/>
Request clarification before answering.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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;
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 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.