1 2 Previous Next 19 Replies Latest reply on Sep 14, 2010 10:52 PM by sivaprasad9394 Go to original post
      • 15. Re: Getting error in IE while using RichfacesTabPanel
        ilya_shaikovsky

        sure it will be called at least two times.. one for decoding and te second on rendering as per JSF specification..

         

        And check that your bean stored in session in order to make the values stored between requests.

        • 16. Re: Getting error in IE while using RichfacesTabPanel
          sivaprasad9394

          Thanks for your reply Illya,

           

          yes you are correct.I have checked my <managed-bean-scope>session</managed-bean-scope> only.As Nick said I am not using nested forms also.I just removed all the <h:form> tag in my jsp page.

           

             I cant hold the value from step1 to step2.My problems are showed in previous images also.

             In Chrome i can see the value of textbox1 and textbox2.

              In mozilla I can't see the values It is getting Empty.

             In IE also it is getting empty.

           

             My page is very simple 2 jsps included in rich:tab with same bean name.Any ideas for this problem is really helpful for me Illya and Nick.Thank you.

          • 17. Re: Getting error in IE while using RichfacesTabPanel
            ilya_shaikovsky

            ah.. seems I found the reason.. As you having inputs in both tabls and all the tabs rendered inside the single form - both tabs process their inputs. It means that empty inputs in hidden step 2 tab - also getting processed. So all you need - to wrap the tabs content into a4j:region to get only current tab content processed.

            • 18. Re: Getting error in IE while using RichfacesTabPanel
              sivaprasad9394

              Thanks for you Correct answer llya.

               

              Finally it is working  after including a4j:region,

               

               

              Now even i Mozilla also i am able to carry forward the data from one page to another page with the same bean name and same property displaying.yes before it was rendering both the tab page with the same bean name and property.Now it is ok and Fixed.
              Thank you for reply.You are great. even nick also helped me.Thank you Nick.
              • 19. Re: Getting error in IE while using RichfacesTabPanel
                sivaprasad9394

                hi ilya,

                 

                I have main page inside mail page my code looks like this,Iam getting error in IE8 like this,

                URI: http://localhost:8080/sample/a4j/g/3_3_2.GA/org/ajax4jsf/framework.pack.js.jsf

                But in Mozilla nd Chrome it is working fine.

                 

                even i tried with removing forms in sub pages(nested forms) also,it shows the same error in IE8.

                 

                MainPage.jsp

                 

                 

                <rich:tabPanel  switchType="client" id="tp1" styleClass="tabbertab" >

                 

                <rich:tab label="General Info" name="General Info" styleClass="myClass">

                <a4j:region id="generalInforegion">

                <a4j:commandLink ajaxSingle="true" id="nameEditLinks" styleClass="celcomNoColor01"

                reRender="postpaidNameField" value="#{msg['statusEdit']}" immediate="true"

                oncomplete="#{rich:component('edit_info_nricmodal')}.show();">

                </a4j:commandLink>

                <a4j:include id="generalInformationPage" viewId="/existingcustomer/postpaid/genaralinformation/generalinfo/generalInformation.jsp"/>

                </a4j:region>

                </rich:tab>

                </rich:tabPanel>

                 

                 

                <rich:tabPanel  switchType="client" id="tp1" styleClass="tabbertab" >
                <rich:tab label="General Info" name="General Info" styleClass="myClass">
                <a4j:region id="generalInforegion">
                <a4j:commandLink ajaxSingle="true" id="nameEditLinks" styleClass="celcomNoColor01"
                reRender="postpaidNameField" value="#{msg['statusEdit']}" immediate="true"
                oncomplete="#{rich:component('edit_info_nricmodal')}.show();">
                </a4j:commandLink>
                <a4j:include id="generalInformationPage" viewId="/existingcustomer/postpaid/genaralinformation/generalinfo/generalInformation.jsp"/>
                </a4j:region>
                </rich:tab>

                 

                 

                generalInformation.jsp

                 

                 

                <f:subview id="postpaidCustomerView">

                <h:form id="postpaidCustomerForm">

                <a4j:outputPanel ajaxRendered="true">

                <a4j:region id="postpaidCustomerRegion">

                <table width="100%" border="0" cellspacing="1" cellpadding="1" >

                            <tr>

                <td width="147"><h:outputText  value="#{msg['existingcustomer.tab.postpaid.postpaid.name']}"/></td>

                  <td width="5"><h:outputText value=":" /></td>

                                  <td width="638" class="font_exist">

                  <h:outputText id="postpaidNameFields" styleClass="style1" value="#{generalInformationBean.name}"/></td>

                                  <td width="30">

                                  <a4j:commandLink ajaxSingle="true" id="nameEditLinks" styleClass="celcomNoColor01"

                reRender="postpaidNameField" value="#{msg['statusEdit']}" immediate="true"

                oncomplete="#{rich:component('edit_info_nricmodal')}.show();">

                </a4j:commandLink></td>             

                 

                </tr>

                    </table>

                </a4j:region>

                </a4j:outputPanel>

                </h:form>

                <!-- Adding Model panel starts here -->

                 

                <c:import url="../generalinfo/infonriceditmodal.jsp"/>

                 

                <!-- Adding model panel ends here -->

                </f:subview>

                 

                 

                 

                 

                infornriceditmodel.jsp

                 

                 

                <f:subview id="info_nric_editmodalsubview">

                <rich:modalPanel id="edit_info_nricmodal" moveable="false" resizeable="false"

                width="950" height="450">

                <f:facet name="header">

                <h:outputText value="Edit Customer Info" styleClass="modalPanel12"/>

                </f:facet>

                <f:facet name="controls">

                <h:panelGroup>

                <h:graphicImage value="../_assets/image/close.png" id="hidelinkedit_info_nric"

                styleClass="hidelink" />

                <rich:componentControl for="edit_info_nricmodal" attachTo="hidelinkedit_info_nric"

                operation="hide" event="onclick" />

                </h:panelGroup>

                </f:facet>

                <h:form id="edit_info_nric_modal_Form">

                <table class="font_exist" width="950" height="50%" border="0" cellpadding="0" cellspacing="0">

                                  <tr><td> ..................sample text </td></tr></table>

                 

                </h:form>

                </rich:modalPanel>

                </f:subview>

                1 2 Previous Next