Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

struts-layout TABS

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
bump!

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

- Brent
 
He's my best friend. Not yours. Mine. You can have this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic