Donatas Ciuksys created TOMEE-443:
-------------------------------------

             Summary: MyFaces does not integrate with OWB EL resolver
                 Key: TOMEE-443
                 URL: https://issues.apache.org/jira/browse/TOMEE-443
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.5.0
         Environment: Windows 7 x64; jdk-1.7.0_07 32 bit; 
apache-tomee-1.5.0-webprofile.zip
            Reporter: Donatas Ciuksys
            Priority: Critical


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();
    }

} 

--
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

Reply via email to