4 Replies Latest reply on Mar 23, 2012 8:23 AM by Filipe Andrade

    RF4.1/4.2 PickList and IE9

    Filipe Andrade Newbie

      Hello,

       

      im having the following problem. I have a <h:selectOneMenu> where i can select one item that would

      load all info at my picklist. Every time i change my selectOneMenu the picklist is loaded with items from

      that item. Thats working on Firefox, Chrome and IE9 (compatibility mode ON).

      On IE9, when i change the selectOneMenu the picklist is loaded with my info..but all buttons continue

      disabled (even with visual appearance enabled).

      Anybody can help me?

       

      ps: sorry my bad english.

        • 1. Re: RF4.1/4.2 PickList and IE9
          Filipe Andrade Newbie

          Anybody?

          anybody could understand my explanation?

          • 2. Re: RF4.1/4.2 PickList and IE9
            Sean Jensen Newbie

            Could you show your code?

            • 3. Re: RF4.1/4.2 PickList and IE9
              Filipe Andrade Newbie

              ok.. thats the code..

               

               

              <h:selectOneMenu id="perfil_sistema" label="#{messages.perfilEdit_label_sistema}" value="#{perfilEditMB.bean.sistema}" disabled="#{perfilEditMB.camposBloqueados}" 
                                                                                    styleClass="select-txt input-gigante" required="#{empty param['skipvalidation']}" converter="bsPojoConverter">
                                                                                              <f:selectItem itemLabel=""/>
                                                                                              <f:selectItems value="#{perfilEditMB.listaSistemas}" var="sistema" itemLabel="#{sistema.nome}" itemValue="#{sistema}"/>
                                                                                              <a4j:ajax event="change" listener="#{perfilEditMB.acaoSelecaoSistema}" execute="@this" render="menus_insc,funcionalidades_insc"/>
                                                                                              <f:param name="skipvalidation" value="1"/>
                                                                          </h:selectOneMenu> 
                                                                          <h:selectBooleanCheckbox id="perfil_administrador" value="#{perfilEditMB.bean.perfilAdministrador}" disabled="#{perfilEditMB.camposBloqueados}" ></h:selectBooleanCheckbox> 
                                                                          <h:outputLabel value="#{messages.perfilEdit_label_administrador}" for="perfil_administrador" styleClass="bsLegenda" />
              
              
              <rich:pickList id="menus_insc"
                                value="#{perfilEditMB.bean.menusAcessiveis}"
                                var="itep_menu" 
                                            converter="bsPojoConverter"
                                            addText="#{messages.botao_adicionar}"
                                            addAllText="#{messages.botao_adicionar_todos}"
                                            removeAllText="#{messages.botao_remover_todos}"
                                            removeText="#{messages.botao_remover}"
                                            listHeight="200px" listWidth="200px"
                                            onadditems="jsAlteracaoMenus()" 
                                            onremoveitems="jsAlteracaoMenus()"
                                            disabled="#{perfilEditMB.camposBloqueados}">
                                            <a4j:ajax event="additems" oncomplete="jsAlteracaoMenus()"/>
                                            <a4j:ajax event="removeitems" oncomplete="jsAlteracaoMenus()"/> 
                                            <f:selectItems id="menus_insc_itens" value="#{perfilEditMB.listaMenus}" var="menu" itemLabel="#{menu.descricao}" itemValue="#{menu}"/>
                      </rich:pickList>        
                      <a4j:jsFunction name="jsAlteracaoMenus" execute="menus_insc" actionListener="#{perfilEditMB.acaoAlteracaoSelecaoMenus}" render="funcionalidades_insc"/>
              
              
              

               

              i hope you could understand...

              • 4. Re: RF4.1/4.2 PickList and IE9
                Filipe Andrade Newbie

                any clues? tips? solutions?