[
https://jira.jboss.org/jira/browse/RF-7040?page=com.atlassian.jira.plugin...
]
Piotr Steininger commented on RF-7040:
--------------------------------------
I just started looking into this JIRA, and this is what shows up in chrome inspector:
Uncaught Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 -
framework.pack.js.jsf:2371.
followed by:
Resource interpreted as other but transferred with MIME type application/xhtml+xml. -
editor.jsf
---
I ran across this issue related to jQuery:
http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8adf9c...
The content type of the page was found to be an issue there (and the editor.jsf page is
rendered as application/xhtml+xml).
---------
here's the lines of code causing the issue, starting at line 2371:
A.outerHTML=new XMLSerializer().serializeToString(C)
}else{Sarissa.clearChildNodes(A);
var E=window.document.importNode(C,true);
LOG.debug("Replace content of node by replaceChild()");
var G=null;
hope this helps
Not possible to rerender rich:editor in Google Chrome
-----------------------------------------------------
Key: RF-7040
URL:
https://jira.jboss.org/jira/browse/RF-7040
Project: RichFaces
Issue Type: Bug
Components: component-input
Affects Versions: 3.3.0, 3.3.1
Environment: RichFaces 3.3.0 or 3.3.1.CR2, Google Chrome 1.0.154.64, Chrome 2.0,
Safaro 4.0
Reporter: Frank Bitzer
Assignee: Andrey Markhel
Fix For: 3.3.2.GA
When a rich:editor is rerendered using an a4j:commandLink in Google Chrome, it gets
disabled and the content disappears, while in all other browsers (tested IE7, FF3, Opera
9.6) everything works fine.
Here is the code to reproduce the behaviour:
<h:form>
<a4j:commandLink action="#{bean.prepareMessage()}"
reRender="editor">
Refresh editor
</a4j:commandLink>
<rich:editor id="editor" value="#{bean.message}"
useSeamText="false" width="600" height="300"/>
</h:form>
Bean "bean":
//Setters and getters for property "message"
//...
public void prepareMessage(){
message = String.valueOf(new GregorianCalendar().getTimeInMillis());
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira