---
title: "丰富ofbiz列表组件中的行列中的数据"
author: "zhoulei984623"
date: "2013-11-03T11:27:59Z"
tags: []
categories: ["研发管理"]
slug: "ofbiz"
draft: false
lastmod: "2013-11-03T11:27:59Z"
id: 1969313
url: "https://crazysky.iteye.com/blog/1969313"
---

默认ofbiz的列表组件只显示主体entity中的属性值

 

```
<form name="ListProducts" type="list" list-name="products">
	<auto-fields-entity entity-name="Product" default-field-type="display"/>
</form>
```

 

 

有时候需要在列中显示较复杂的数据，比如外表的某个字段sum，这时候就需要&lt;row-actions/&gt;标签来实现

例：

 

 

FYI: http://www.hotwaxmedia.com/ofbiz-tutorial-enhancing-the-product-list-screen/#.UnW-PJTN\_vM