[richfaces-issues] [JBoss JIRA] Commented: (RF-7040) Not possible to rerender rich:editor in Google Chrome

Martin Denham (JIRA) jira-events at lists.jboss.org
Mon Aug 3 07:00:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-7040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478572#action_12478572 ] 

Martin Denham commented on RF-7040:
-----------------------------------

Andrey,

I have simplified the code for you to reproduce the problem more easily.  When you run the below code type something into the rich edit control and then press refresh and you will notice that in Chrome the text you typed disappears but not in Internet Explorer:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:a4j="http://richfaces.org/a4j"
	  xmlns:rich="http://richfaces.ajax4jsf.org/rich" 
      contentType="text/html">
<head>
    <a4j:loadStyle src="resource://edfrichfaces.xcss"/>
</head>
<body>
<h:form> 
    <a4j:commandButton reRender="editor" value="Refresh editor"/> 

    <rich:editor id="editor" width="600" height="300"/> 

</h:form>
</body>
</html> 

Please reopen this bug!

Regards
Martin

> 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
>         Environment: RichFaces 3.3.0 or 3.3.1.CR2, Google Chrome 1.0.154.64
>            Reporter: Frank Bitzer
>            Assignee: Tsikhon Kuprevich
>             Fix For: 3.3.2.CR1
>
>
> 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

        


More information about the richfaces-issues mailing list