[richfaces-issues] [JBoss JIRA] (RF-11529) a4j:support in rich:datatable JS crash in Chrome with limitToList="true"

Stef Klaassen (JIRA) jira-events at lists.jboss.org
Thu Feb 2 10:12:49 EST 2012


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

Stef Klaassen commented on RF-11529:
------------------------------------

Hi Markus,

You're right. There are more of them. Since I discovered this problem I've found a few others. The components I know of at this moment that can cause a crash in Chrome when a rerender is happening after an ajax call: 
- h:commandLink (alternatives: a4j:commandLink or a4j:htmlCommandLink) 
- rich:toolTip (alternative: use another javascript-tooltip that doesn't cause problems. I used Bootstrap-twipsy)
- a4j:jsFunction (No alternative found, but moving the a4j:jsFunction out of the rerendered element could fix the problem)
- rich:simpleTogglePanel (No alternative found. I've tried creating a self-made alternative, which caused the same problem...) 
                
> a4j:support in rich:datatable JS crash in Chrome with limitToList="true"
> ------------------------------------------------------------------------
>
>                 Key: RF-11529
>                 URL: https://issues.jboss.org/browse/RF-11529
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: third-party
>    Affects Versions: 3.3.3.Final
>         Environment: Tomcat 7, RichFaces 3.3.3.Final
>            Reporter: Stef Klaassen
>            Priority: Minor
>             Fix For: 3.Future
>
>
> I've got a Datatable in which I have a column that contains a tomahawk selectOneRadio. In this selectOneRadio is a a4j:support that has an onclick event to update some components. On this support-tag I had the limitToList-attribute set to true. This works fine in FF and IE, but today I tested it in Chrome and I saw that the Javascript wasn't executed anymore. When I click a radiobutton first, which makes another button in the next column dissapear, all goes well. But when I click another radiobutton that should make the next column button reappear again, it fails. 
> I get the following error in chrome:
> {quote}
> Uncaught Error: Uncaught Error: NOT_SUPPORTED_ERR: DOM Exception 9 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript.html:121 
> {quote}
> which points at this line: 
> {code}
> var importednode=window.document.importNode(newnode,true);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list