我javax.el.PropertyNotWritableException
在尝试将表格的长度存储在JavaScript的隐藏输入中时遇到了问题:
Caused by: javax.el.PropertyNotWritableException: /view/ci/buttons.xhtml at line 34 and column 73 value="#{fn:length(order.phases)}": Illegal Syntax for Set Operation
at org.apache.myfaces.view.facelets.el.TagValueExpression.setValue(TagValueExpression.java:125)
JSF:
<h:inputHidden id="phasesCount" value="#{fn:length(order.phases)}"/>
我不明白那个错误,fn:length 支持只读操作,还是我遗漏了什么?