[richfaces-issues] [JBoss JIRA] Resolved: (RF-7489) a4j:jsFunction JavaScript error in IE6/7/8
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Mon Jul 6 10:29:51 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-7489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski resolved RF-7489.
--------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Tsikhon Kuprevich
Looks like an issue in application code
> a4j:jsFunction JavaScript error in IE6/7/8
> ------------------------------------------
>
> Key: RF-7489
> URL: https://jira.jboss.org/jira/browse/RF-7489
> Project: RichFaces
> Issue Type: Bug
> Components: browser compatibility
> Affects Versions: 3.3.1
> Environment: IE 6/7/8
> Reporter: Josh Long
> Assignee: Tsikhon Kuprevich
>
> three instances of a4j:jsFunction seem to be causing a javascript error in IE6 / 7 / 8 I'm running a Seam application using RichFaces. The page itself is pretty tame, and its producing an error in IE6/7/8. the error is very strange:
> Quote:
> Message: Expected ')'
> Line: 1
> Char: 189
> Code: 0
> URI: http://blach/blah//blah.html?cid=1023
> the javascript it's pointing to is generated by a4j:jsFunction. there are only 3 instances, which i reproduce here
> Code:
> <a4j:jsFunction name="reRenderFiles"
> reRender="filesList,newFilesList,#{reRenderOnSelect}"
> ajaxSingle="true" eventsQueue="queue" />
> <a4j:jsFunction name="handleUploadCompletion" rendered="#{selectable}"
> reRender="filesList,newFilesList,#{reRenderOnSelect}"
> ajaxSingle="true" eventsQueue="queue"
> oncomplete="handleUploadComplete()" />
>
> <a4j:jsFunction name="handleUploadCompletion" rendered="#{not selectable}"
> reRender="filesList,newFilesList"
> ajaxSingle="true" eventsQueue="queue"
> oncomplete="unlockScreen()" />
> the only way to get the error to go away (and in so doing break the functionality) is to remove one of the a4j:jsFunction components.
> for example, if I remove:
> Code:
> <a4j:jsFunction name="reRenderFiles"
> reRender="filesList,newFilesList,#{reRenderOnSelect}"
> ajaxSingle="true" eventsQueue="queue" />
>
> it works, though it doesnt seem to matter which I remove, so long as I do. I wondered if this strangeness might be due to cached versions of my class files in Eclipse or tomcat, but nothing seem to fix it except removing a a4j:jsFunction component.
> Any ideas? Any way of controlling the output of the JS so that it produces super clean, non IE-offensive code? Naturally, it works perfectly in Safari/Chrome/Firefox.
> Thanks
--
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