You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paweł Mączka (JIRA)" <de...@myfaces.apache.org> on 2013/05/29 10:08:19 UTC

[jira] [Created] (TRINIDAD-2396) facelets cannot find action method - tries find property instead for facelets *.xhtml

Paweł Mączka created TRINIDAD-2396:
--------------------------------------

             Summary: facelets cannot find action method - tries find property instead for facelets *.xhtml
                 Key: TRINIDAD-2396
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2396
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Facelets
    Affects Versions: 2.0.2-core, 2.1.0-core
         Environment: maven 3.0.4
            Reporter: Paweł Mączka
            Priority: Critical


The problem doesn't exist in 2.0.0 and 2.0.1. Only in 2.0.2-SNAPSHOT and 2.1.0-SNAPSHOT

Since there wasn't any release of Trinidad since almost 2 years I tried snapshots in combination with MyFaces ( different versions ) and Jetty and Tomcat. 

Problem : Any action method or actionListener method tries to be used as property and raises: 
javax.el.ELException: /index.xhtml: The class 'ppp.HelloWorldBacking' does not have the property 'send'.

It is easy to regenerate the problem: 

1. mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org
use option 1 for trinidad20
2. Change filename index.jspx to index.xhtml so by default it starts to be a facelet 

Use jetty or tomcat:
- mvn clean -Dcontainer=jetty-mojarra jetty:run
- mvn clean -Dcontainer=tomcat7 tomcat:run
with http://localhost:8080/action/faces/index.xhtml




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira