[richfaces-issues] [JBoss JIRA] (RF-12286) selectOneMenu with f:ajax cause a OutOfMemory under IE and slowdown under Firefox - listener

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Wed May 23 17:05:18 EDT 2012


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

Jean ANDRE edited comment on RF-12286 at 5/23/12 5:04 PM:
----------------------------------------------------------

It seems that the tag <ui:debug></ui:debug> is part of the problem. IE show a problem with the javascript produced by the tag with the <f:ajax>. Removing the tag, it works better but we have a side effect related to having several <form> in a single page. Under Firefox, it works better. There is definitively a link between having the tag <ui:debug></ui:debug> with <f:ajax>.... wait, wait...but there is no rich:faces tag except the container (rich:toolbar group...)

{code}
<rich:toolbarGroup id="group-right" location="right">
   <h:panelGroup id="menu-right" styleClass="no-breakable">
     <!--                     -->
     <!--   multi-company     -->
     <!--   multi-province    -->
     <!--                     -->
     <h:selectOneMenu id="McMpList"
         value="#{currentUser.businessUnit}"
         immediate="true">
        <f:ajax event="change" listener="#{menuController.doChangeDesktop}" render="@all" />
        <f:selectItems value="#{menuController.businessUnits}" />
     </h:selectOneMenu>
{code}

JSF bug ???

Same behavior if we use <a4j:ajax> tag.
                
      was (Author: jorelia64):
    It seems that the tag <ui:debug></ui:debug> is part of the problem. IE show a problem with the javascript produced by the tag with the <f:ajax>. Removing the tag, it works better but we have a side effect related to having several <form> in a single page. Under Firefox, it works better. There is definitively a link between having the tag <ui:debug></ui:debug> with <f:ajax>.... wait, wait...but there is no rich:faces tag except the container (rich:toolbar group...)

{code}
<rich:toolbarGroup id="group-right" location="right">
   <h:panelGroup id="menu-right" styleClass="no-breakable">
     <!--                     -->
     <!--   multi-company     -->
     <!--   multi-province    -->
     <!--                     -->
     <h:selectOneMenu id="McMpList"
         value="#{currentUser.businessUnit}"
         immediate="true">
        <f:ajax event="change" listener="#{menuController.doChangeDesktop}" render="@all" />
        <f:selectItems value="#{menuController.businessUnits}" />
     </h:selectOneMenu>
{code}

JSF bug ???
                  
> selectOneMenu with f:ajax cause a OutOfMemory under IE and slowdown under Firefox - listener
> --------------------------------------------------------------------------------------------
>
>                 Key: RF-12286
>                 URL: https://issues.jboss.org/browse/RF-12286
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.2.Final
>         Environment: JSF Mojarra 2.1.7 - FireFox 12 or IE 8 - annotations-4.2.0.Final - aspectjrt-1.6.12 - cglib-nodep-2.2.2 - commons-collections-3.2.1 - commons-lang-2.4 - commons-logging-1.1.1 - commons-validator-1.4.0 - cssparser-0.9.6 - guava-11.0.1 - hibernate-validator-4.2.0.Final - junit-4.10 - log4j-1.2.16 - org.springframework.xxx-3.0.6.RELEASE - richfaces-xxxx-xxx-4.2.0.Final - sac-1.3 - slf4j-api-1.6.4 - slf4j-log4j12-1.6.4
>            Reporter: Jean ANDRE
>            Priority: Critical
>         Attachments: index.xhtml
>
>
> We got an "Out of memory at line 249" under IE and a deep slowdown when we use f:ajax with <h:selectOneMenu> tag.
> {code}
> <h:selectOneMenu id="McMpList" value="#{currentUser.businessUnit}" immediate="true">
>    <f:ajax event="change" listener="#{menuController.doChangeDesktop}" render="@all" />
>    <f:selectItems value="#{menuController.businessUnits}" />
> </h:selectOneMenu>
> {code}
> When we remove the f:ajax, the behavior is "normal".

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