[
https://issues.jboss.org/browse/RF-13668?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-13668:
------------------------------------
The patch isn't quite right. The auto-executing function surrounding the
{{richfaces.queue}} definition captures the {{jQuery}} global in the closure using the
{{$}} character as the the local reference. As in:
{code}
(function($, richfaces, jsf) {
...
}(jQuery, RichFaces, jsf));
{code}
So it's not preferred to use the {{jQuery}} global itself within the closure.
However it is true that this has not been done systematically throughout the RichFaces
codebase. This has been addressed in the upcoming 4.5 release with issue RF-12936.
Backporting this fix to the 4.3 branch was ruled out in RF-13533.
Richfaces cannot work along wiht Prototype
------------------------------------------
Key: RF-13668
URL:
https://issues.jboss.org/browse/RF-13668
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.3.7
Reporter: Guillaume Renard
Attachments: RF-13668.patch
I am trying to use Richfaces 3.4.7 within a web app which also serves Prototype.js.
AJAX actions just don't work at all. a4j:log reveals the following:
{code}
warn [16:41:11.596]: richfaces.queue: ajax submit error: Object function $(element) { if
(arguments.length > 1) { for (var i = 0, elements = [], length = arguments.length; i
< length; i++) elements.push($(arguments[i])); return elements; } if
(Object.isString(element)) element =...<omitted>... } has no method
'extend'
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)