[
https://issues.apache.org/jira/browse/MYFACES-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859372#action_12859372
]
Werner Punz edited comment on MYFACES-2666 at 4/21/10 3:54 PM:
---------------------------------------------------------------
ok if you add a facelets VDL setting to the web.xml it starts to work
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml;*.jspx</param-value>
</context-param>
instead of
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>
ok adding that parameter also fixes the attribute and jsf.js loading issue on
both implementations!
So it seems, without it RI behaves correctly since jsf.js cannot be added
automatically, but
then Trinidads own ppr is started and returns a valid ppr response, our jsp ppr
handling is clearly broken
while it works in facelets, I will try to make a small usecase out of trinidad
to isolate the problem further.
We clearly have a bug on the jsp + ppr side here.
was (Author: werpu):
ok if you add a facelets VDL setting to the web.xml it starts to work
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml;*.jspx</param-value>
</context-param>
instead of
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.xhtml</param-value>
</context-param>
ok adding that parameter also fixes the attribute and jsf.js loading issue on
both implementations!
So it seems, without it RI, half broken, MyFaces entirely broken, pushing
Facelets as VDL fixes the issues
on both implementations.
> Getting a full-page-refresh when running JSF's Ajax on the Trinidad 2 (trunk)
> -----------------------------------------------------------------------------
>
> Key: MYFACES-2666
> URL: https://issues.apache.org/jira/browse/MYFACES-2666
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Matthias Weßendorf
> Attachments: pprDemos.jspx
>
>
> Running "pprDemos.jspx" page and triggering any ajax action, we see a
> full-page-refresh
> (tested with TRUNK of MyFaces2)
> Check out Trinidad trunk and change the pom.xml to take myfaces =>
> 2.0.1-SNAPSHOT instead of the beta-3
> go to trinidad-examples/trinidad-demo and trigger "mvn clean jetty:run
> -PjettyConfig"
> Now point a browser to this URL:
> http://localhost:8080/trinidad-demo/faces/demos/pprDemos.jspx
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.