Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-443

MyFaces does not integrate with OWB EL resolver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • None
    • None
    • Windows 7 x64; jdk-1.7.0_07 32 bit; apache-tomee-1.5.0-webprofile.zip

    Description

      Steps to reproduce:

      1. Download Tomee 1.5.0 ZIP, unzip to some folder.
      2. Setup CATALINA_HOME variable pointing to the same folder.
      3. Put the file TomeeTest.war (attached) to /webapps folder
      3. Execute startup.bat (tomme starts up OK, http://localhost:8080/tomee is visible and functions OK, all the tests are OK)
      4. Point browser to http://localhost:8080/TomeeTest/
      5. Page loads, renders only: "Current date is:" without actual date.

      index.xhtml contains:
      <h:body>
      Current date is: #

      {dateBean.currentDate()}

      </h:body>

      DateBean.java contains:

      @Named
      @RequestScoped
      public class DateBean {

      @PostConstruct
      private void init()

      { System.out.println("INIT: " + this); }

      @PreDestroy
      private void die()

      { System.out.println("DIE: " + this); }

      public String currentDate()

      { System.out.println("Method was called..."); return "" + new Date(); }

      }

      Attachments

        1. TomeeTest.war
          4 kB
          Donatas Ciuksys

        Activity

          People

            Unassigned Unassigned
            donatasc Donatas Ciuksys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: