wood burning stoves 2.0*
The moose likes Struts and the fly likes Frames in Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Frames in Tiles" Watch "Frames in Tiles" New topic
Author

Frames in Tiles

Chetan Pandey
Ranch Hand

Joined: Aug 01, 2005
Posts: 31
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Frames in Tiles