[ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480826#comment-13480826 ]
Robert Schoch edited comment on TRINIDAD-2259 at 10/21/12 1:48 PM: ------------------------------------------------------------------- The id's are not rendered if not explicitly set. This causes the error. see https://issues.apache.org/jira/browse/TRINIDAD-2216 and https://issues.apache.org/jira/browse/TRINIDAD-2302 EDIT: Patch is now available, see Issue https://issues.apache.org/jira/browse/TRINIDAD-2216 -> Attachment TRINIDAD-2216-2259-2302.patch was (Author: robs888): The id's are not rendered if not explicitly set. This causes the error. see https://issues.apache.org/jira/browse/TRINIDAD-2216 and https://issues.apache.org/jira/browse/TRINIDAD-2302 > Serious problem with Facelets - launchDialog.xhtml from examples doesn't work > as facelet - problem with partialSubmit=true > -------------------------------------------------------------------------------------------------------------------------- > > 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 > Priority: Critical > Fix For: 2.0.2-core > > > launchDialog.xhtml from examples doesn't work as facelet > problem with ReturnEvent > 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 > do some changes in trinidad-demo.war > 5. copy launchDialog.jspx to launchDialog.xhtml > 6 change jsp:root tag of launchDialog.xhtml to > <ui:composition > xmlns:ui="http://java.sun.com/jsf/facelets" > xmlns:f="http://java.sun.com/jsf/core" > xmlns:tr="http://myfaces.apache.org/trinidad" > xmlns:trd="http://myfaces.apache.org/trinidad/demo" > xmlns:trh="http://myfaces.apache.org/trinidad/html"> > and end jsp:root to ui:composition > 7. deploy trinidad-demo.war and start server > 8. go to http://localhost:8080/trinidad-demo/faces/demos/launchDialog.xhtml > and click "Add" button - should not work :( > IT WILL WORK WHEN > - go to http://localhost:8080/trinidad-demo/faces/demos/launchDialog.xhtml > - click .... (first ellipsis button) > - close popup > - Click Add button :) > important thing is to go load > http://localhost:8080/trinidad-demo/faces/demos/launchDialog.xhtml page > directly from browser - every test - in order to clear all parameters > simillar issue is when you change javax.faces.FACELETS_VIEW_MAPPINGS to > *.jspx and go to > http://localhost:8080/trinidad-demo/faces/demos/launchDialog.jspx -- 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