7 Replies Latest reply on Jan 8, 2010 8:31 AM by Nick Belaevski

    Problem with Internet Explorer,,<rich:tabPanel id=

    Sandeep Gowda Newbie

      Hi,
      I am using Rich:tabs in JSF framework application. In Internet Explorer, if i mention attribute switchType="client",values entered will remain across tabs,but when i have save action,the values are not mapped corresponding to bean java class(all values are empty).

      if SwitchType="server", values are not persisted across the Tabs.

      but in Mozilla Firefox it works fine.


      Can you please help me regarding the fix in Internet explorer browser.


      regards
      Sandeep.

        • 1. Re: Problem with Internet Explorer,,<rich:tabPanel id=
          Sandeep Gowda Newbie

          Any Updates,

           

          please any solutions.

           

           

          regards

          sandeep

          • 3. Re: Problem with Internet Explorer,,<rich:tabPanel id=
            Sandeep Gowda Newbie

            Below is the code sinpet,

             

            i am using richfaces-api-3.3.2.SR1.jar libs..

             

            <h:panelGrid style="width:700px;" columns="1">

                                     *********************Tab panel starts**********************
                                        <rich:tabPanel id="DMPInfo" switchType="client"
                                            selectedTab="dmpInformation" style="width:700px;">
                                               *************************  first tab*******************

                                          <rich:tab label="DMP Information" id="dmpInformation">                   
                                                <h:panelGrid style="width:650px;" cellpadding="5" columns="4">
                                                    <h:outputLabel styleClass="rsLabel" style="width:100px;">DMP Opening Date<font
                                                            color="#ff0000">*</font>
                                                    </h:outputLabel>
                                                    <rich:calendar id="dtDMP" value="#{DMPBean.dtDMP}"
                                                        locale="getDefaultLocale()" popup="true"
                                                        datePattern="dd/MM/yyyy" showApplyButton="false"
                                                        inputSize="28" cellWidth="50px" cellHeight="22px"
                                                        enableManualInput="true" style="width:300px;">
                                                    </rich:calendar>
                                                  
                                                </h:panelGrid>
                                            </rich:tab>

                                       *************************  second tab*******************
                                           <rich:tab label="Track Information" id="trackInformation">
                                                <h:panelGrid style="width:650px;" cellpadding="5" columns="4">
                                                    <h:outputLabel styleClass="rsLabel">Telephone Calls from Bank:</h:outputLabel>
                                                    <rich:comboBox id="strDMPTelephoneCallsfromBank"
                                                        enableManualInput="false" style="width:150px;"
                                                        directInputSuggestions="true"
                                                        value="#{DMPBean.strDMPTelephoneCallsfromBank}"
                                                        suggestionValues="#{DMPBean.lstYesOrNotType}">
                                                    </rich:comboBox>
                                                   </h:panelGrid>
                                            </rich:tab>

                                        </rich:tabPanel>

                                           
                                      *********************Tab panel ends**********************

                                  </h:panelGrid>

             

             

            Thanks in advance,

            • 4. Re: Problem with Internet Explorer,,<rich:tabPanel id=
              Ilya Shaikovsky Master

              1) from the beggining check that you does not forgot to define h:form element around tabpanel and Save button.

               

              2) then add rich:messages and check that no messages will appears on save.

              • 5. Re: Problem with Internet Explorer,,<rich:tabPanel id=
                Sandeep Gowda Newbie

                My form look as below,

                 

                save button is outside tabpanel.

                 

                <f:view>
                            <h:form styleClass="rsPanel">

                                    <h:panelGrid style="width:700px;" columns="1">
                                            <rich:tabPanel switchType="client" style="width:700px;">
                                                <rich:tab label="DMP Informaton">

                                                   </rich:tab>

                                            </rich:tabPanel>
                                        </h:panelGrid>
                                        <h:panelGrid columns="1" id="savesubmit" style="width:300px">
                                            <a4j:commandButton id="save"
                                                style="text-alig;width:10px" value="Save"
                                                 
                                            </a4j:commandButton>
                                        </h:panelGrid>

                 

                     </h:form>
                   </f:view>

                 

                please help me, if i am wrong, works fine in Firefox.

                 

                thanks in advance

                sandeep

                • 6. Re: Problem with Internet Explorer,,<rich:tabPanel id=
                  Sandeep Gowda Newbie

                  I have placed the my structure of JSF page with rich faces Tabpanel,

                   

                  will u please help me, very serious issue,

                   

                   

                  thanks in advance

                   

                  sandeep

                  • 7. Re: Problem with Internet Explorer,,<rich:tabPanel id=
                    Nick Belaevski Master

                    Hi,

                     

                    Please check that there are no nested forms in your application.