[richfaces-issues] [JBoss JIRA] (RF-12038) IE8 - Object does not support this property or method - a4j:jsFunction

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Wed Mar 21 15:14:48 EDT 2012


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

Jean ANDRE commented on RF-12038:
---------------------------------

There is another issue with with a same message but we cannot pinpoint the exact reason of that.
Here is the workbench (setuped) and the steps to reproduce the bug.
1) Install the workbench and read the readme.txt file for additional information
2) Do not hesitate to request any information about it
3) Once the page appears (http://localhost:9080/NestedWeb/pages/index.jsf)
   or (http://localhost:9080/NestedWeb/index.html
4) Select the tab "Items management"
5) Enter a number and press "New List" button
6) Once a new dynamic tab is created with a list, close the tab by clicking on X image
   IE reports the following error:
     Line: 5
     Erreur : Cet objet ne gère pas cette propriété ou cette méthode
     >Object does not support this property or method

Another way to reproduce the case is:
   7) From the step 6, click on any item from the list - Open link
   8) From the available tasks link, click on task, a new task tab appears
   9) Close the tab by clicking on X image
      IE reports the following error:
      Line: 8
      Erreur : Cet objet ne gère pas cette propriété ou cette méthode

>From the workbench, we removed any id="xzy" name="xyz", then the bug should not come from this case but from another reason. Under FireFox, everything works perfectly.

Similar error on the Web of the past...
 - http://forum.jquery.com/topic/object-doesn-t-support-this-property-or-method-from-jquery-1-4-1-in-ie7-only
 - 


                
> IE8 - Object does not support this property or method - a4j:jsFunction
> ----------------------------------------------------------------------
>
>                 Key: RF-12038
>                 URL: https://issues.jboss.org/browse/RF-12038
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.2.0.Final
>         Environment: cssparser-0.9.6- guava-11.0.1 - hibernate-validator-4.2.0.Final - JSF/Mojarra 2.1.6 - springframework-3.0.6.RELEASE - sac-1.3 - Windows 7 - IE 8.0.1.7601.17514
>            Reporter: Jean ANDRE
>             Fix For: 4.2.1.CR1
>
>         Attachments: index.xhtml, NestedWeb.zip
>
>
> Under IE8, IE reports the following error message due to a javascript error. However, the page are well displayed and the application is running ok.
> Object doesn't support this property or method line 177 caracter 1
> Object doesn't support this property or method line 177 caracter 99
> Under IE Debugger, the line is:
> {code}
> closeTab=function(tabId){RichFaces.ajax("closeTab",null,{"incId":"1","parameters":{"tabId":tabId} } )};<
> The caracter 99, is..............................................................................| (here)
> {code}
> This is a code generated by a4j:jsFunction from the XHTML
> {code}
> <!--               -->
> <!-- CLOSE TAB     -->
> <!--               -->
> <a4j:jsFunction id="closeTab" name="closeTab" action="#{desktopTabController.doCloseTab}" render="menu-opened-tabs,desktopTabPanel">
>    <a4j:param name="tabId" assignTo="#{desktopTabController.closeTabId}" />
> </a4j:jsFunction>
> {code}
> The rendered code is :
> {code}
> <!--               -->
> <!-- CLOSE TAB     -->
> <!--               --><span id="closeTab" style="display: none;"><script type="text/javascript">closeTab=function(tabId){RichFaces.ajax("closeTab",null,{"incId":"1","parameters":{"tabId":tabId} } )};</script></span>
> {code}
> See also this link as we got almost a similar: https://bugzilla.redhat.com/show_bug.cgi?id=601360.

--
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