This content has been marked as final.
Show 4 replies
-
1. Re: The value expression does not appear to be evaluated.
ilya_shaikovsky Oct 3, 2008 6:11 AM (in response to john.turner1)have you checked in the debugger that the method called ?
-
2. Re: The value expression does not appear to be evaluated.
john.turner1 Oct 3, 2008 6:20 AM (in response to john.turner1)The method is not called. I have log statements etc. in the method that appear when the view is rendered within a webflow flow but not outside the flow. If I put in things like
rendered="#{1024 == 1024}"
the expression is evaluated fine and the component is rendered. If i remove<context-param> <param-name>com.sun.faces.expressionFactory</param-name> <param-value>org.jboss.el.ExpressionFactoryImpl</param-value> </context-param>
from web.xml the parser complains about the () in the expression (as you would expect).
So it appears that the expression is being parsed but not evaluated\executed? -
3. Re: The value expression does not appear to be evaluated.
john.turner1 Oct 3, 2008 6:31 AM (in response to john.turner1)One thing I just tried was
rendered="#{myFakeBean.fakeMethod()}"
this did not throw and exception??
I would have expected an exception when the parser tried to resolve myFakeBean. -
4. Re: The value expression does not appear to be evaluated.
john.turner1 Oct 3, 2008 8:52 AM (in response to john.turner1)Ok. Time to admit my stupidity.
I failed to configure Spring's delegating variable resolver.
What through me of was that it worked within the webflow and no exception was thrown even though the bean was not resolved.