Thanks Adrian! It worked OK.
-----Original Message-----
From: Adrian Crum
Date: 18 юни 2012 г. 11:09 ч.
To: [email protected]
Subject: Re: extend-entity default-resource-name and ofbiz patch
You will need to modify your local copy. Code maintenance should not be
a problem if you create your own patch and keep it with your local project.
-Adrian
On 6/18/2012 9:05 AM, Boris Hamanov wrote:
Hello guys,
I am trying to translate order status to a new language. I don't want to
modify CommonEntityLabels.xml so I did this in my entitymodel.xml
<extend-entity entity-name="StatusItem"
default-resource-name="HusaTranslateEntityLabels">
</extend-entity>
Problem is it does not work.
The xsd allows default-resource-name, but maybe the ModelEntity does not
contain the required functionality.
I found this commit here:
http://mail-archives.apache.org/mod_mbox/ofbiz-commits/201002.mbox/%[email protected]%3E
that seems to add that. But it not is applied in my version of Ofbiz -
apache-ofbiz-09.04.02
Any ideas how to make that work without upgrading ofbiz? Is there a way to
patch ofbiz without modifying the core files? Some hot drop/patch folder
or
something similar?