我正在尝试为org.primefaces.component.poll.Poll-创建方法表达式
MethodExpression methodExpression = exprFactory
.createMethodExpression(elContext,
"#{requestManagementBackingBean.addDiffDatatable("
+ parentGrid +","+action+ ")}", void.class,
classList);
pollForDatatable.setListener(methodExpression);
在这种情况下,呈现页面时出现错误-
at com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:212) ~[na:na]
at com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:229) ~[na:na]
at com.sun.el.lang.ExpressionBuilder.createMethodExpression(ExpressionBuilder.java:280) ~[na:na]
at com.sun.el.ExpressionFactoryImpl.createMethodExpression(ExpressionFactoryImpl.java:82) ~[javax.el.jar:2.2.3]