Hi,

I have the following tabbed panel:

<s:tabbedPanel id="panel">
<c:choose>
        <c:when test="${sessionScope.user.departmentMember}">
            <s:div id="myTab" label="Mis acogidas" autoStart="false"
theme="ajax" href="%{my}" cssStyle="margin: 10px 10px 10px 10px;"
listenTopics="/refresh" executeScripts="true" refreshOnShow="true"/>
            <s:div id="newTab" label="Nueva acogida" theme="ajax"
href="%{new}" cssStyle="margin: 10px 10px 10px 10px;"
refreshOnShow="true"/>
        </c:when>
        <c:otherwise>
            <s:div id="currentTab" label="Acogidas en curso" theme="ajax"
href="%{current}"  cssStyle="margin: 10px 10px 10px 10px;"
executeScripts="true"/>
            <s:div id="searchTab" label="Consultas" autoStart="false"
theme="ajax" href="%{search}" cssStyle="margin: 10px 10px 10px 10px;"
refreshOnShow="true"/>
            <c:if test="${sessionScope.user.admin}">
                <s:div id="adminTab" label="Administraci&oacute;n"
autoStart="false" theme="ajax" href="%{admin}" cssStyle="margin: 10px
10px 10px 10px;"/>
            </c:if>
        </c:otherwise>  
</c:choose>     
</s:tabbedPanel>

(<s:url's for href attributes omitted).

When the page first load, all tabs are requested in background, and
the default one (the first, "myTab" or "currentTab" in my case) is
requested another time.

I have tried with autoStart=false, but it doesn't work.

What's wrong?

Alvaro.

-- 
Alvaro Sanchez-Mariscal Arnaiz
Java EE Architect & Instructor
[EMAIL PROTECTED]

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

Reply via email to