Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by shweta on Nov 17, 2008 00:36
open dhtmlx forum
subtabbar

i'm using subtabbar in dhtmlxtabbar.

<div id="resolve_tabbar" hrefmode = 'ajax-html' class="dhtmlxTabBar" imgpath="<%=request.getContextPath()%>/images/" style="width:975px; height:350px; margin:auto" skinColors="#FFFFFF,#AADAFD" oninit="resolve_tabbar.setOnSelectHandler(onTabSelect);"></div>




but i did not get "resolve_tabbar" in my js function .this tab is generated in child jsp.Please let me know that how to get resolve_tabbar in my js function.Becoz i have to set selected tab .

Please reply soon


Answer posted by Support on Nov 17, 2008 04:11
Please check attached sample. 
Attachments (1)
Answer posted by shweta on Nov 17, 2008 04:17

at the first time it's working fine.......but when i click another tab sat resolve_maintain_tabbbar and then again click on resolve_tabbar "a2" is not selected ,selected tab which i selected previous say a3

 

 

please help me out

Answer posted by Support on Nov 17, 2008 04:25
If you not forced reloading directly, top level tabbar will not reload content on tab changing, so once initialized resolve_tabbar will preserve its state. The code inside oninit attribute will be called only once. 
Answer posted by shweta on Nov 17, 2008 04:28
so.how can i reinitialize that tabbar
Answer posted by Support on Nov 17, 2008 05:01
You can force tab reloading by forceLoad method, or just call setTabActive for resolve_tabbar , each time when top level tabbar made it visible.