-
1. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
bleathem Aug 27, 2013 5:20 PM (in response to isu)Any errors in your server log or browser console?
-
2. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
isu Aug 28, 2013 2:13 AM (in response to bleathem)Thank you for the quick reply!
No, there is nothing in server log or in browser console. The only thing I have found so far is the difference in the responses.
-
3. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
bleathem Aug 28, 2013 4:21 PM (in response to isu)Can you share a reproducer this with the simplest possible configuration? Ie. remove all additional jars that do not contribute to the problem. If you can isolate the source of the problem, we can likely fix it.
-
4. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
isu Aug 29, 2013 7:49 AM (in response to bleathem)Hi, i was able to reproduce in a small maven project.
https://bitbucket.org/sundti/ajaxproblem/src
Introducing primefaces on the classpath breaks ajax with rf 4.3.0 and newer.
-
5. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
isu Aug 29, 2013 1:47 PM (in response to isu)A small typo in the previous post, should have said "Introducing primefaces on the classpath breaks ajax with rf 4.3.1 and newer."
-
6. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
bleathem Aug 29, 2013 3:50 PM (in response to isu)Thanks for taking the time to narrow it down. Looking at the 4.3.1 release notes:
https://issues.jboss.org/secure/ReleaseNote.jspa?projectId=12310341&version=12320558
The suspect fix seems to be:
https://issues.jboss.org/browse/RF-12824
https://github.com/richfaces4/core/commit/bb83bc8e892eec5ab9a83ec3ec060da5e1cdd2ae
Speculation: since PrimeFaces does not use JSF ajax, but instead uses jQuery for ajax (my understanding may be out of date here) the PrimeFaces request may be misinterpreted by the logic introduced as a redirect request.
Have you tried running your application with Mojarra to see if the problem persists?
-
7. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
isu Aug 30, 2013 4:01 AM (in response to bleathem)I will try it with Mojarra, but if that does not help you're basically saying don't mix primefaces and richfaces?
-
8. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
bleathem Aug 30, 2013 1:17 PM (in response to isu)The goal of the RichFaces project is to interop well with all other JSF component libraries and projects. In practice this is hard to achieve, as the JSF specification leaves much unspecified.
For your specific problem, I'm curious if MyFaces/Mojarra makes a difference, but I would ask that you file a bug report in our jira regardless.
-
9. Re: Upgrading to Richfaces 4.3.3-Final seem to break ajax calls
isu Sep 3, 2013 6:10 PM (in response to bleathem)Issed created: [#RF-13163] Mixing RF 4.3.1 and later together with primefaces breaks ajax calls. - JBoss Issue Tracker
I will try it with mojarra and post my findings.