-
15. Re: Working towards RichFaces / PrimeFaces compatibility
lfryc Apr 5, 2012 2:03 AM (in response to lukascz)Hi Lukas,
have you found any errors in the error console?
I guess you would need to debug the calendar's code to see what's happening:
The affected code is here:
handler should call calendar's switchPopup() method:
-
16. Re: Working towards RichFaces / PrimeFaces compatibility
lukascz Apr 5, 2012 1:11 PM (in response to lfryc)Well, the function switchPopup() is invoked twice in row. So it pops up and then hides immediately. It's like I click the calendar button twice but I don't.
-
17. Re: Working towards RichFaces / PrimeFaces compatibility
lfryc Apr 6, 2012 10:37 AM (in response to lukascz)Could you analyse the call stack why it is called twice? By which method?
-
18. Re: Working towards RichFaces / PrimeFaces compatibility
lukascz Apr 6, 2012 12:31 PM (in response to lfryc)For both calls the stack is the same:
$.extend.switchPopup (calendar.js.icpc:991)
(anonymous function) (:2)
getHandlerWrapper (richfaces-event.js.icpc:38)
b.event.dispatch (jquery-alternative-version.js:16)
b.event.add.bD.handle.bB (jquery-alternative-version.js:16)
I'm using PrimeFaces 3.2 and RichFaces 4.2.Final (I also tried 4.2.1CR1 but the behaviour is the same)
-
19. Re: Working towards RichFaces / PrimeFaces compatibility
lfryc Apr 6, 2012 3:06 PM (in response to lukascz)Lukas, your observations regrettably does not explain the behavior, could you please provide the sample app, like Jorge did?
Jorge, would you be able to release your application [1] under the OSS license (e.g. ASL [2]), so others would be able to build on top of that?
Placing the LICENSE.txt file in root of the source code would be enough.
-
20. Re: Working towards RichFaces / PrimeFaces compatibility
lukascz Apr 7, 2012 12:14 AM (in response to lfryc) -
21. Re: Working towards RichFaces / PrimeFaces compatibility
jotraverso Apr 9, 2012 4:55 AM (in response to lfryc)Hi,
Sorry about the delay.
The source code is now Apache Licensed at https://github.com/jotraverso/Richfaces-Primefaces/