5 Replies Latest reply on Feb 25, 2011 4:09 AM by Ilya Shaikovsky

    rich:tabPanel lazy evaluation (M5)

    Dmitry Shultz Novice

      Hi All,


      I have a tab panel with several tabs, something like this:



              <rich:tabPanel switchType="ajax">


                  <rich:tab header="Tab 1">


                      <a4j:repeat value="#{component1.items}" var="itm">





                  <rich:tab header="Tab 2">


                     <a4j:repeat value="#{component2.items}" var="itm">








      Currently, the content of all tabs is evaluated when tabPanel is rendered, but I want to postphone  the #{component2.items} evaluation (because tab2 has some heavy processing and should be initiated only when it is really rendered).


      What tools are available to achieve it?