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/04/23 15:29:34 UTC

[jira] [Created] (TRINIDAD-2259) Problem with dialogs and Trinidad Partial Page Rendering when javax.faces.FACELETS_VIEW_MAPPINGS context parameter is set to render pages with surfix

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

        

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

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505969#comment-13505969 ] 

Max Starets commented on TRINIDAD-2259:
---------------------------------------

The org.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX workaround would still apply though
                
> 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

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

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Open  (was: Patch Available)
    
> 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

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

Posted by "Robert Schoch (JIRA)" <de...@myfaces.apache.org>.
    [ 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

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

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507215#comment-13507215 ] 

Daniel Charczynski commented on TRINIDAD-2259:
----------------------------------------------

The org.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX workaround works.
                
> 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

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

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Starets reopened TRINIDAD-2259:
-----------------------------------

      Assignee: Max Starets

Reopening this issue, since there are other problems with the dialog beyond the null source error in JSF Ajax implementation
                
> 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

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

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
     [ 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

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

Posted by "Robert Schoch (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507976#comment-13507976 ] 

Robert Schoch commented on TRINIDAD-2259:
-----------------------------------------

You may also need the patch from TRINIDAD-2334 will be applied to the full function of this constellation.
I have tested it with both patches and it works.
                
> 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

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

Posted by "Robert Schoch (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Schoch updated TRINIDAD-2259:
------------------------------------

    Status: Patch Available  (was: Open)
    
> 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

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

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508556#comment-13508556 ] 

Daniel Charczynski commented on TRINIDAD-2259:
----------------------------------------------

You are right Robert - it works.
                
> 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

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

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502727#comment-13502727 ] 

Daniel Charczynski commented on TRINIDAD-2259:
----------------------------------------------

Unfortunately I can't confirm that the patch slove this problem.
After patching dialog is shown but result is not counted - nothing happened after clicking submit on dialog.

                
> 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

[jira] [Commented] (TRINIDAD-2259) Problem with dialogs and Trinidad Partial Page Rendering when javax.faces.FACELETS_VIEW_MAPPINGS context parameter is set to render pages with surfix

Posted by "Daniel Charczynski (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261456#comment-13261456 ] 

Daniel Charczynski commented on TRINIDAD-2259:
----------------------------------------------

it looks like this is serious problem with facelets.


when javax.faces.FACELETS_VIEW_MAPPINGS value is set to  *.xhtml and we copy launchDialog.jspx to launchDialog.xhtml and change jsp:root  tag  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

there will be the same issue at http://localhost:8080/trinidad-demo/faces/demos/launchDialog.xhtml



                
> 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

        

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

Posted by "Robert Schoch (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480826#comment-13480826 ] 

Robert Schoch commented on TRINIDAD-2259:
-----------------------------------------

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