Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frames in Tiles

 
Chetan Pandey
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to introduce frames in my Struts-Tiles Application.

The following is what I want to accomplish

<frameset rows="50%,50%">

<frame src="frame_a.htm">

<frameset cols="25%,75%">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>

</frameset>

But I want to use Struts-Tiles Tags.

I am using Tiles sucessfully with the following lins of COde working perfectly:

<title><tiles:getAsString name="title"/></title>
<tiles:insert attribute="header" />
<tiles:insert attribute="subheader" />
<tiles:insert attribute="menu" />
<tiles:insert attribute="body" />
<tiles:insert attribute="footer" />

excpt that they are heaped on one over the other when I want some entries only in the left and others on top and bottm.

So my Question is how do I make "menu" attribute appear on the left, "header" attribute on the top and "footer" on the bottom.

subheader be lowe header and body in the middle sandwiched between sub-header and footer.

Thanks.

Chetan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic