The tag

  | <a4j:commandLink value="Previous" action="#{categorybean.setPage(0)}" />
fails to render, saying:
javax.el.ELException: Error Parsing: #{categorybean.setPage(0)}
  |         at 
org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:125)
  |         at 
org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:146)
  |         at 
org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
  |         at 
org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
  |         at 
org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:105)
  | ...
  | 
However, the same renders just fine if I use <h:commandLink> instead.
The declaration of the method is as follows:

  | void setPage(int page);
  | 
What am I doing wrong?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035716#4035716

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035716
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to