dhtmlxtabbar

i’m using dhtmlxtabbar…



on each tab calling i’m calling action class…to show each tab selected i’m using screenName variable to decide which tab will open.

and include innerhtml for tab content using ajax.









<%if(screenName.equals(“Create”)){

            %>



<%} else if(!screenName.equals(“Others”)){

                    %>



<%}%>

<%if(screenName.equals(“Maintain”) ){

                     %>

<div id=“maintain” name=“Maintain” selected=’<%=(screenName==“Maintain”?“1”:“0”)%>’

                     href=‘tab_maintain.jsp’ >


<%} else if(!screenName.equals(“Others”) ) {

                    

                     %>

<div id=“maintain” name=“Maintain” selected=’<%=(screenName==“Maintain”?“1”:“0”)%>’

                     href=‘advancefind.do?dispatch=init&tasktype=Maintain’ >

<%}%>













now in tab_maintain i have two links…in wich again i’m calling action class…



now my probelm is when i fwd it to parentpage…it again call action automatically…without clciking nay of tha tab…



Please halp me out…it’s really very urgent for me…

After init from HTML tabbar check the value of “select” attribute of main tabbar container, and if it empty - it selects the first tab. ( it not possible to init tabbar and have not any tab selected )


Instead of


you can use
<div id=“a_tabbar” select="’<%screenName%>" …