Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - EL parameters with createValueExpression

scott.stark@jboss.org

2007-03-26


Hi,

Am I doing something wrong? It seems that you can only pass parameters in EL expressions in action handling code.

This is OK:
<h:commandButton action="#{userPreferences.maxSize('aa')}" />
|

This is Not OK:
<h:commandButton action="#{userPreferences.maxSize('aa')}" rendered="#{userPreferences.simpleBool('aa')}"/>
|
I get a javax.el.ELException: Error Parsing: #{userPreferences.simpleBool('aa')}

Looking at the Seam code it only seems to work out parameters for createMethodExpression and not createValueExpression?

Thanks in advance...



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031678
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.