Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.0.1-core
-
None
-
mojarra 2.0.9
Description
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
Attachments
Issue Links
- is a clone of
-
TRINIDAD-2216 The partialSubmit does not work with JSF 2 RI
- Closed
- is duplicated by
-
TRINIDAD-2216 The partialSubmit does not work with JSF 2 RI
- Closed