Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2259

Serious problem with Facelets - launchDialog.xhtml from examples doesn't work as facelet - problem with partialSubmit=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.1-core
    • 2.1.0-core
    • Facelets
    • 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

      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

          Activity

            People

              mstarets Max Starets
              dantheman Daniel Charczynski
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: