You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org> on 2012/12/03 09:03:59 UTC

[jira] [Updated] (TRINIDAD-2259) Serious problem with Facelets - launchDialog.xhtml from examples doesn't work as facelet - problem with partialSubmit=true

     [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Charczynski updated TRINIDAD-2259:
-----------------------------------------

    Status: Patch Available  (was: Reopened)
    
> 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
>            Assignee: Max Starets
>            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