File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Frames in Tiles" Watch "Frames in Tiles" New topic

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">


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.


I agree. Here's the link:
subject: Frames in Tiles
It's not a secret anymore!