From jira-events at lists.jboss.org Thu Apr 26 14:43:19 2012 Content-Type: multipart/mixed; boundary="===============8995553950094823200==" MIME-Version: 1.0 From: Jean ANDRE (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-12210) _Lang.byId - reference a reference node or an identifier must be passed Date: Thu, 26 Apr 2012 14:43:19 -0400 Message-ID: <2138556705.36509.1335465799349.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 179042739.35702.1335449302270.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============8995553950094823200== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-12210?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12688119#com= ment-12688119 ] = Jean ANDRE edited comment on RF-12210 at 4/26/12 2:42 PM: ---------------------------------------------------------- OK, we found something. It seems that the generated code for the tag it different from a version to another version. Generated code for old version is: (The working version) {code} = closeTab=3Dfunction(tabId){RichFaces.aja= x("closeTabScript",null,{"incId":"1","parameters":{"tabId":tabId} } )}; {code} Generated code for a recent is: (The buggy version) {code} = = = {code} We can pinpoint a clear difference with the order of the parameter "incId":= "1" !!!!??? {code} - RichFaces.ajax("EnterTabScript",null,{"incId":"1","parameters":{"activeTa= b":activeTab} } ) (working) - RichFaces.ajax("enterTabScript",null,{"parameters":{"activeTab":activeTab= } ,"incId":"1"} ) (not working) {code} = was (Author: jorelia64): OK, we found something. It seems that the generated code for the tag it different from a version to another version. Generated code for old version is: (The working version) {code} = closeTab=3Dfunction(tabId){RichFaces.aja= x("closeTabScript",null,{"incId":"1","parameters":{"tabId":tabId} } )}; {code} Generated code for a recent is: (The buggy version) {code} = = = {code} We can pinpoint a clear difference with the order of the parameter "incId":= "1" !!!!??? {code} - RichFaces.ajax("EnterTabScript",null,{"incId":"1","parameters":{"activeT= ab":activeTab} } ) (working) - RichFaces.ajax("enterTabScript",null,{"parameters":{"activeTab":activeTa= b} ,"incId":"1"} ) (not working) {code} = > _Lang.byId - reference a reference node or an identifier must be passed > ----------------------------------------------------------------------- > > Key: RF-12210 > URL: https://issues.jboss.org/browse/RF-12210 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Affects Versions: 4.2.0.Final > Environment: FireFox 12 or 8.0.7601 - GlassFish 3.1.2 - Mojarra = 2.1.7 - Windows 7 > Reporter: Jean ANDRE > Attachments: NestedEar_RF-12210.ear, NestedEar_RF-12210.ear, Nest= edWeb_RF-12010-Web.zip, NestedWeb_RF-12010-Web.zip > > > We got the following javascript error message under firebug: = > _Lang.byId: reference un noeud de r=C3=A9f=C3=A9rence ou un identifiant d= oit =C3=AAtre pass=C3=A9 - = > jsf.js.jsf?ln=3Djavax.faces (ligne 1). > Under IE the error message is: > Message=C2=A0: Erreur non sp=C3=A9cifi=C3=A9e. > Ligne=C2=A0: 1 > Caract=C3=A8re=C2=A0: 37254 > Code=C2=A0: 0 > URI=C2=A0: http://localhost:8080/NestedWeb/javax.faces.resource/jsf.js.js= f?ln=3Djavax.faces > At this code: > ){throw this.makeException(new Error(),null,null,this._nameSpace,"byId",t= his.getMessage("ERR_REF_OR_ID",null,"_Lang.byId","reference")); > This error did not appear in previous version of JSF - More over we have = also new another error related to = > > The error occurs when we want to close a dynamic tab. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============8995553950094823200==--