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

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I have a issue with the tabbed pane provided by Struts-Layout technology. The first tab is ok, but the others loose their background, I don't know why =(
Even without include that does'n work.
Take a look at the code:
.
.
.
<layout:tabs styleClass="FORM" width="600" selectedTabKeyName="2">

<layout:tab key="Produtos" width="200">
<jsp:include page="edita_produto.html" flush="true" />
</layout:tab>

<layout:tab key="Unidade Assistencial" width="200">
<jsp:include page="edita_unidade_assistencial.html" flush="true" />
</layout:tab>

<layout:tab key="Institui��o" width="200">
<jsp:include page="edita_instituicao.html" flush="true" />
</layout:tab>

</layout:tabs>
.
.
.
How can I solve it?
Thanks!
 
Tiago Fernandez
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyway, after several tests, I realised that Struts-Layout got a issue with the html tag "</TABLE>".
Simply removin' this tag from the bottom of my jsp file, the includes worked at all. But I still can't understand why it works like that.
Is this a bug?
 
We can walk to school together. And we can both read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic