[richfaces-issues] [JBoss JIRA] (RF-12210) -

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Thu Apr 26 16:51:18 EDT 2012


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

Jean ANDRE edited comment on RF-12210 at 4/26/12 4:49 PM:
----------------------------------------------------------

With the version 2.1.6, under [BASE 8.0.0.1 cf011135.03], firefox 12, RichFaces 4.2.0 the application is running and the order of parameters is correct.

{code}
<!--             -->
<!-- ENTER TABS  -->
<!--             --><span id="enterTabScript" style="display: none;"><script type="text/javascript">enterTab=function(activeTab){RichFaces.ajax("enterTabScript",null,{"incId":"1","parameters":{"activeTab":activeTab} } )};</script></span>
<!--             -->
<!-- CLOSE TAB   -->
<!--             --><span id="closeTabScript" style="display: none;"><script type="text/javascript">closeTab=function(tabId){RichFaces.ajax("closeTabScript",null,{"incId":"1","parameters":{"tabId":tabId} } )};</script></span>
<!--             -->
<!-- CLOSE TASK  -->
<!--             --><span id="closeTaskScript" style="display: none;"><script type="text/javascript">closeTask=function(taskId){RichFaces.ajax("closeTaskScript",null,{"incId":"1","parameters":{"taskId":taskId} } )};</script></span>
{code}

We have upgraded this environment for JSF 2.1.7 and it still working, then we have upgraded with the version 4.2.1 Final of RF and it still work, there is no change in parameter order !?.

We also moved the code which does not work under the environment of GlassFish to WAS/RAD environment and this code is running well too. That means, there is something wrong under GlassFish with the same source code excepted for the CDI vs Spring, GlassFish vs RAD and other library such as el-impl-2.2.jar.

So the question is why the order of the parameters are not the same from GlassFish environment to WAS/RAD environment for the same application (same XHTML and same Java Source).

                
      was (Author: jorelia64):
    With the version 2.1.6, under [BASE 8.0.0.1 cf011135.03], firefox 12, RichFaces 4.2.0 the application is running and the order of parameters is correct.

{code}
<!--             -->
		<!-- ENTER TABS  -->
		<!--             --><span id="enterTabScript" style="display: none;"><script type="text/javascript">enterTab=function(activeTab){RichFaces.ajax("enterTabScript",null,{"incId":"1","parameters":{"activeTab":activeTab} } )};</script></span>
		<!--             -->
		<!-- CLOSE TAB   -->
		<!--             --><span id="closeTabScript" style="display: none;"><script type="text/javascript">closeTab=function(tabId){RichFaces.ajax("closeTabScript",null,{"incId":"1","parameters":{"tabId":tabId} } )};</script></span>
		<!--             -->
		<!-- CLOSE TASK  -->
		<!--             --><span id="closeTaskScript" style="display: none;"><script type="text/javascript">closeTask=function(taskId){RichFaces.ajax("closeTaskScript",null,{"incId":"1","parameters":{"taskId":taskId} } )};</script></span>
{code}

We have upgraded this environment for JSF 2.1.7 and it still working, then we have upgraded with the version 4.2.1 Final of RF and it still work, there is no change in parameter order !?.

We also moved the code which does not work under the environment of GlassFish to WAS/RAD environment and this code is running well too. That means, there is something wrong under GlassFish with the same source code excepted for the CDI vs Spring, GlassFish vs RAD and other library such as el-impl-2.2.jar.

So the question is why the order of the parameters are not the same from GlassFish environment to WAS/RAD environment for the same application (same XHTML and same Java Source).

                  
>  -
> --
>
>                 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, 4.2.1.Final
>         Environment: FireFox 12 or  8.0.7601 - GlassFish 3.1.2 - Mojarra 2.1.7 - Windows 7 - commons-lang-2.4 - commons-logging-1.1.1 - cssparser-0.9.6 -  el-impl-2.2 - guava-11.0.1 - 
> hibernate-validator-4.2.0.Final - junit-4.10 - log4j-1.2.16 - sac-1.3 - Eclipse Indigo
>            Reporter: Jean ANDRE
>         Attachments: NestedEar_RF-12210.ear, NestedEar_RF-12210.ear, NestedWeb_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éférence ou un identifiant doit être passé - 	
> jsf.js.jsf?ln=javax.faces (ligne 1).
> Under IE the error message is:
> Message : Erreur non spécifiée.
> Ligne : 1
> Caractère : 37254
> Code : 0
> URI : http://localhost:8080/NestedWeb/javax.faces.resource/jsf.js.jsf?ln=javax.faces
> At this code:
> ){throw this.makeException(new Error(),null,null,this._nameSpace,"byId",this.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 
> <rich:tab id="#{tab.id}" onenter="enterTab('#{tab.id}');" headerClass="tab-header">
> 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 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