You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by john lee <sh...@yahoo.com> on 2013/11/19 22:07:01 UTC

struts2 jquery sj:tabbedpanel remoteurl


I use sturs2 jquery  sj:tabbedpanel with remoteurl feature, it works fine.

But, the remote url is called when did initiala load, how can I disable initial load for remote url?

i just want to load(tab1 with remote URL) when i click it.

thanks in advance

John

*************************************************************************

<s:url var="remoteurl1" action="PartdetailAction.action" >
    <s:param name="partid"> <s:property value="detailpart.id"/> </s:param> 
</s:url>


<div id="why">

<sj:tabbedpanel id="partmoreinfo" onChangeTopics="tabchange">
       <sj:tab id="tab1" href="%{remoteurl1}" label="Promotion" loadingText="Promotion here"/>
       <sj:tab id="tab2" target="Lotprice" label="Lot Price"/>
</sj:tabbedpanel >
</div>