Daniel Charczynski created TRINIDAD-2259: --------------------------------------------
Summary: Problem with dialogs and Trinidad Partial Page Rendering when javax.faces.FACELETS_VIEW_MAPPINGS context parameter is set to render pages with surfix Key: TRINIDAD-2259 URL: https://issues.apache.org/jira/browse/TRINIDAD-2259 Project: MyFaces Trinidad Issue Type: Bug Components: Facelets Affects Versions: 2.0.1-core Environment: mojarra 2.0.9 Reporter: Daniel Charczynski I realize that it is not the best solution to set javax.faces.FACELETS_VIEW_MAPPINGS and javax.faces.DEFAULT_SUFFIX to the same value (for example *.jspx) because the first one is responsible for facelets whereas the second for JSP's but it have worked in jsf 1.2 with trinidad 1.2. There is simple way to reproduce this issue 1 download trinidad 2.0.1 examples http://www.apache.org/dyn/closer.cgi/myfaces/binaries/trinidad-2.0.1-example.zip 2. download and extract tomcat 6.x 3. put mojarra 2.0.9 into tomcat libs 4. put jstl 1.2.1 api and impl libs into tomcat libs 5. change javax.faces.FACELETS_VIEW_MAPPINGS value to *.jspx in web.xml in trinidad-demo.war 5. deploy trinidad-demo.war(with changed web.xml), start server 6. go to http://localhost:8080/trinidad-demo/faces/demos/launchDialog.jspx and click "Add" button - should not work :( if you change action to "dialog:chooseInteger" popup will show up but no ReturnEvent will be fired IT WILL WORK WHEN - go to http://localhost:8080/trinidad-demo/faces/demos/launchDialog.jspx - click .... (first ellipsis button) - close popup - Click Add button :) important thing is to go load http://localhost:8080/trinidad-demo/faces/demos/launchDialog.jspx page directly from browser - every test - in order to clear all parameters -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira