Hi,
if i do this in a field:
<field name="actualHours"
title="${uiLabelMap.ProjectMgrActualHours}"><display description="${bsh:
org.ofbiz.project.Various.calculateActualHours(delegator,
timesheetId);}"/></field>
i get the error:
Error evaluating BSH scriptlet
[ org.ofbiz.project.Various.calculateActualHours(delegator,
timesheetId);], inserting nothing; error was: Field access:
bsh.ReflectError: No such field: locale : at Line: -1 : in file: <Called
from Java Code> : <Compiled Java Code>
if i do this (similar) in a row action:
<set field="actualHours"
value="${bsh:org.ofbiz.project.Various.calculateActualHours(delegator,
timesheetId)}"/>
it works fine....
--
http://www.antwebsystems.com :
Quality OFBiz support for competitive rates....