Login  Register

[OFBiz] Users - Easy MiniLang question

Posted by Charles Johnson-2 on Nov 17, 2005; 10:00am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-Easy-MiniLang-question-tp136504.html

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