wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "layout" Watch "layout" New topic


Giomar Guevara
Ranch Hand

Joined: Oct 18, 2006
Posts: 51

I'm not sure if I'm in the right forum but I didn't know where to post this message.

I want to create a layout (using tiles def) that contains an iframe...

I tried the following that didn't work:

<iframe name="main" scrolling="no" src=<tiles:insert attribute="body"/>
marginheight="0" marginwidth="0"
frameborder="0" width="100%" height="100%">
A browser that supports <IFRAME> is required.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
The source of an iframe has to be a physical page that you can get to with a URL.

Don't get me started about those stupid light bulbs.
subject: layout
Similar Threads
calling function from src attribute of html tag
How to pass values from one the main page to a iframe
Non-scrollable Tile?
Iframes height problem
Auto resizing iframe upon window resize