posted 11 years ago
I have another one of these problems trying to get Richfaces 3.3 to work with jquery. I have an h:form that lists several items, each has a fixed HTML content and a radio button next to each of them (t:selectOneRadio). As the user selects a radio button of a certain item, the fixed HTML content gets replaced with rich:editor panel (thus, the HTML content becomes editable). Creating valueChangeListener and providing tag for the radio button took care of that. However, it works only three times, on the forth I get the following javascript error:
Permission denied
tiny_mce_src.js.jsf Line 978
Code: 0 Char: 47
URI: http://mydomain.com/myproject/a4j/g/3_3_3.Finalscripts/tiny_mce_src.js.jsf
Apart from that, I also have a jquery function, that I use, and I've noticed, that when I remove necessary jquery resources declarations, I can click radio buttons and switch from HTML to rich:editor without any problem, but, obviously, I cannot use my jquery function, which leads me to believe, that there could be some strange collision going on between Richfaces and jquery (wrong version, perhaps). Moreover, it happens only in IE8, everywhere else it works fine. Finally, notice that I'm using <a4j:support event="onclick" reRender="someForm"/> for my selectOneRadio, in order to get valueChangeListener to work (before that I had buttons that did the switching of HTML content and rich:editor, and everything worked then, along with jquery functions, but now that I want the same thing to happen from a click of a radio button or a check box, I'm getting "Permission Denied" error, mentioned above). Thus, it could also be ajax calls not working properly with jquery, however, I can't tell anymore, I'm a bit at a loss here. Here's the code I'm using, hope it'll help more or less:
Any help is appreciated. Right now I don't know even know what this error means. Thanks.