Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2396

facelets cannot find action method - tries find property instead for facelets *.xhtml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.0.2-core, 2.1.0-core
    • None
    • Facelets
    • None
    • maven 3.0.4

    Description

      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:

      Attachments

        Activity

          People

            Unassigned Unassigned
            p4w3l Paweł Mączka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: