Details
-
Type:
Task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows xp tomcat 5.5
Description
I used nicetab with dynamic
<menu:useMenuDisplayer name="Velocity" config="/templates/nicetabs.html"
bundle="org.apache.struts.action.MESSAGE" repository="repository" >
<ul class="menuList">
<c:forEach var="menu" items="$
">
<menu:displayMenu name="$
"/>
</c:forEach>
</ul>
</menu:useMenuDisplayer>
I put repository in session. When I close session and remove attribute repository if i re-open my app the last tab i click is selected by default.
How can i do to not select by default the last tab?
thanks
You could clear the cookie that selects the tab, or modify the JavaScript to ignore it.