EL « Tomcat « JSF Q&A





1. Using EL 2.2 with Tomcat 6.0.24    stackoverflow.com

With JSF 2 you should be able to do this:

<h:commandButton action="#{myBean.myAction(myParameter)}"/>
which would then call the action method, passing in the parameter (assume it's an Integer):
@ManagedBean
@SessionScoped
public class MyBean {
    ...

2. JSF and tomcat5 - No Render Response    stackoverflow.com

There is a developer who wrote a JSF application for my company. He wrote that on tomcat 6 and unfortunately i had to shift everything to tomcat 5. I put a ...

3. JSF Tomcat 7 PropertyNotFoundException    stackoverflow.com

I encounter a PropertyNotFoundException after upgrading from tomcat 6 to tomcat 7. This is the message I get:

value="#{someHandler.result.someList[1].doSomething(someDTO.id).value}": Property 'doSomething' not found on type com.someproject.SomeClass
Can anyone explain why? I'm using jsf ...

4. java.lang.NoClassDefFoundError: javax/el/ELResolver when running SimpleHelloByEnteringName JSF example    stackoverflow.com

I am new to JSF. I am using Tomcat 7.0.14 and trying to run SimpleHelloByEnteringName example but getting following errors in startup and at runtime Startup Console message:

INFO: Deploying web application directory ...

5. JSF 2 - Method Expression with Arguments fails on sub-objects    stackoverflow.com

I use JSF 2 very extensive, this is also true for the method expression with arguments (on Tomcat 7.0.21) like #{myBean.myMethod('some text')}" ... This works fine! But if ...