[jboss-user] [JBoss Seam] - Seam enhanced EL expression fails in an Ajax4JSF tag

alexg79 do-not-reply at jboss.com
Mon Apr 9 10:20:52 EDT 2007


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



More information about the jboss-user mailing list