Enrich data in rows and columns in ofbiz list component

The default ofbiz's list component only displays the attribute values ​​in the main entity

 

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

 

 

Sometimes it is necessary to display more complex data in the column, such as a field sum of the outer table, at this time, the <row-actions/> tag is required to achieve

example:

 

 

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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326747579&siteId=291194637