Use the "default-resource-name" attribute of the <entity> element. There
are examples of this in the project.
-Adrian
On 5/4/2012 3:52 PM, Christian Geisert wrote:
Hi,
I just noticed that the InvoiceItemTypes are not localized on the Edit
Invoice Items Screen
(see
https://demo-trunk.ofbiz.apache.org/accounting/control/listInvoiceItems?invoiceId=8010
)
I fixed this with the following code:
<drop-down allow-empty="false">
-<list-options list-name="invoiceItemTypes"
key-name="invoiceItemTypeId" description="${description}"/>
+<list-options list-name="invoiceItemTypes"
key-name="invoiceItemTypeId"
description="${groovy:uiLabelMap.get('InvoiceItemType.description.'+invoiceItemTypeId)}"/>
</drop-down>
Is this the recommended way do it?
Christian