lazy loading not working for nested tabs in orbeon 3.8

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

lazy loading not working for nested tabs in orbeon 3.8

jesintha_p
Hi all,

I am doing a lazy loading on tabs in tabview. It works fine when you have single level tab. When i have nested tabs, no contents are displayed and loading data image only comes. Here is the code snippet
  <fr:tabview>
            <fr:tab id="companyOrganization" selected="true">
                <fr:label>Organization</fr:label>
               
                <jsp:include page="editcontent/organization/organizationInfo.jsp" />
            </fr:tab>

            <fr:tab id="companyDetails">
                <fr:label>Details</fr:label>
               
                <xforms:action ev:event="fr-select">
                                        <xforms:toggle case="data-loaded1"/>
                                </xforms:action>
                                <xforms:switch>
                                        <xforms:case>
                                                <xhtml:img src="/ops/images/yui/loading.gif" style="vertical-align: middle"/> 
                                                <xhtml:span>Loading data...</xhtml:span>
                                        </xforms:case>
                                        <xforms:case id="data-loaded1">
                                                <xhtml:img src="/apps/fr/style/images/silk/tick.png" style="vertical-align: middle"/> 
                                                <xhtml:span>Data loaded.</xhtml:span>
                                               
                                                 <xforms:group ref="fdr:organization-details">
                                                        <fr:tabview>
                                                                <fr:tab id="sic"  selected="true">
                                                                        <fr:label>SIC</fr:label>             
                                                                 <xhtml:span>Data loaded.</xhtml:span>
                                                                </fr:tab>
                                                                <fr:tab id="naics">
                                                                        <fr:label>NAICS</fr:label>             
                                                                         <xhtml:span>Data loaded.</xhtml:span>
                                                                </fr:tab>
                                                        </fr:tabview>
                                                </xforms:group>
                                        </xforms:case>
                                </xforms:switch>
            </fr:tab>
         </fr:tabview>

Can somebody let me know how to handle this situation?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: lazy loading not working for nested tabs in orbeon 3.8

jesintha_p
Can somebody let me know how this can be done
Reply | Threaded
Open this post in threaded view
|

Re: lazy loading not working for nested tabs in orbeon 3.8

Alessandro  Vernet
Administrator
In reply to this post by jesintha_p
Hi Jesintha,

Have you tried this with Orbeon Forms 3.9 RC1? I am asking because an issue with nested tabs was fixed in October of last year:

http://forge.ow2.org/tracker/index.php?func=detail&aid=315571&group_id=168&atid=350207

You can download the 3.9 RC1 from:

http://www.orbeon.com/forms/download

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: lazy loading not working for nested tabs in orbeon 3.8

jesintha_p
Thanks Alessandro Vernet,

It works fine in orbeon 3.9 RC1

THanks,
JEsi
Reply | Threaded
Open this post in threaded view
|

Re: lazy loading not working for nested tabs in orbeon 3.8

Alessandro  Vernet
Administrator
Hi Jesi,

Excellent, thank you for confirming this one.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet