在ADF中用EL表达式计算两个参数的乘积
我在页面上有一个treeTable组件,组件的节点用node变量来表示,页面上还有一个参数#{bindings.quantity},我想计算#{node.unit_cost}乘以#{bindings.quantity}的值再赋给treeTable上的一个outputText组件。可是我用表达式
#{bindings.quantity * node.unit_cost}时就会报错,提示:
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key el.convert
at java.util.ResourceBundle.getObject(ResourceBundle.java:384)
at java.util.ResourceBundle.getString(ResourceBundle.java:344)
at com.sun.el.util.MessageFactory.getArray(MessageFactory.java:75)
at com.sun.el.util.MessageFactory.get(MessageFactory.java:55)
at com.sun.el.lang.ELArithmetic.coerce(ELArithmetic.java:373)
我要怎样才能用EL表达式来计算这个值呢?