Hello

Hope someone can help me with this:
I have a TabbedPane with some tabs in it, each calling an url for
their content.
Now I have several problems:
- I noticed that the selected tab calls the url two times before displaying.
- I "reload" a specific tab by publishing a dojo-topic. In this
situation the div calls the
 url two times.

Since especially some older browser need "a lot of time" to display the
tabs content
I need to correct this.
Is there a way to circumvent this behaviour? Maybe I did anything wrong?

Another question:
Is there an easy way to catch the event (something like 'onclick') when
a different tab is selected?

Here is my code for reference:
<s:tabbedPanel id="resultTabPanel" selectedTab="resultPanelTab_%{maxTabId}">
    <s:url id="infoActionUrl"
action="SearchAction_fetchResultTable"></s:url>

    <s:div id="resultPanelTab_1" cssClass="panelTab"      
         label="tab1" theme="ajax" labelposition="top"
href="%{infoActionUrl}"
         errorText="Loading error on tab1"
         refreshOnShow="false" listenTopics="searchTab_0_Topic"
loadingText="Loading..."
         showLoadingText="false" autoStart="false" executeScripts="true">
        <div id="indicator1" align="center" style="display:block;">
           <img  src="../pics/spinning_wheel_throbber.gif" width="64"
height="64" alt="Loading..."    border="0" title="Loading..."/>
          </div>
        </s:div>
</s:tabbelPanel>


Thanks,
Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to