Hi all,
I have a problem... I'm using a TabbedPanel to display a
set of charts, using JFreeChart. Unfortunately, it takes about 1.5 secs
to render each chart, so I'm looking for a way to load only the Selected
Tab when my page is rendered. And delay the rendering of the other tab
until they are selected. Is this possible??? Below is a snippet.
<s:tabbedPanel id="aari" theme="simple" selectedTab="one"
cssStyle="width: 1000px; height: 800px;" doLayout="false">
<s:div id="one" label="Directs" href="%{#aariDirect}"
loadingText="reloading"
refreshOnShow="true"
theme="ajax" />
<s:div id="two" label="Overall" href="%{#aariOverall}"
loadingText="reloading"
refreshOnShow="true"
autoStart="false" theme="ajax" />
<s:div id="three" label="Resellers"
href="%{#aariResellers}" loadingText="reloading"
refreshOnShow="true"
autoStart="false" theme="ajax" />
<s:div id="four" label="NPI(w/o failure)" href="%{#npi}"
loadingText="reloading"
refreshOnShow="true"
autoStart="false" theme="ajax" />
</s:tabbedPanel>
Thanks,
Leon