This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts-Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-Layout" Watch "Struts-Layout" New topic
Author

Struts-Layout

Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
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
http://www.tiago182.spyw.com/
Tiago Fernandez
Ranch Hand

Joined: May 16, 2003
Posts: 167
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts-Layout