[OFBiz] Users - Easy MiniLang question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Easy MiniLang question

Charles Johnson-2
The first works fine. The second not at all. What would be the correct
version of 2. equivalent to 1.?

1.
<call-bsh><![CDATA[
 
 org.ofbiz.base.util.Debug.log(org.ofbiz.base.util.UtilProperties.getPropertyValue("general",
"currency.uom.id.default", "WHY IS THIS EMPTY?"));
]]></call-bsh>

2.
<property-to-field field="defaultCurrencyUomId" resource="general"
property="currency.uom.id.default" />
<log level="info" message="Default currency is ${defaultCurrencyUomId}" />

CJ
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users