File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

I agree. Here's the link:
subject: layout
Similar Threads
How to pass values from one the main page to a iframe
Iframes height problem
Auto resizing iframe upon window resize
calling function from src attribute of html tag
Non-scrollable Tile?