struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WongTseng <wangzengveryc...@gmail.com>
Subject Re: How to make tabs in JSP
Date Fri, 29 Jun 2007 11:58:36 GMT
The action which is mapped to the url status.do should forward to the jsp in
which you have used the JSPTagControl. In this way several actions can share
a single tabbed jsp. So don't put the content of the a tab in a separate
jsp.

2007/6/29, Kavita Mehta <Kavita.Mehta@hsc.com>:
>
> Hi Angelo,
> thanks for your help . I am using the JSPTagControl in my JSP as:
>
> <jsptabcontrol:tabControl name="PERSONNE_TABCONTROL"
>                               width="800px"
>                               height="100%">
>       <jsptabcontrol:tabPage name="IDENTITY_TABPAGE"
>                              title="BSSMAP Stats"
>                              width="100px" >
>            BSSMAP Stats ...follows...
>       </jsptabcontrol:tabPage>
>       <jsptabcontrol:tabPage name="ADRESS_TABPAGE"
>                              title="Call Control Stats"
>                              href="/status.do" >
>       </jsptabcontrol:tabPage>
>
>     </jsptabcontrol:tabControl>
>
> My problem is that when I click the second tab, the page corresponding to
> /status.do  is displayed as a full page JSP and not as a part of tabbed
> JSP page. Please help.
>
> Regards,
> Kavita
>



-- 
Wong Tseng
王曾
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message