• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts-layout TABS

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use struts-layout TABS tag. I have the following code in the jsp which works fine:
<layout:tabs styleClass="FORM" width="100%">
<layout:tab key="Home" href="home.jsp">
<%@include file="home.jsp" %>
</layout:tab>
<layout:tab key="Seconds" href="../seconds.do">
</layout:tab>
</layout:tabs>

Now home.jsp on the first tab has a hyperlink on it. When I click on the hyperlink, the next page apparently opens without any reference to the tab-layout. How do I make subsequent jsps to all load within the tab-layout (kind of like when we do frames)? Do I really have to do the above <layout:tabs> thing on each page???

Finding little help on the TABS tag online... Thanks much.
 
art gems
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
bump!

somebody anybody?!?
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There does not seem to be many people using the layout tags on this forum...I have not.

- Brent
 
reply
    Bookmark Topic Watch Topic
  • New Topic