i'm not really following the iframes thing (maybe partly because i don't know what one is), but pages were certainly not designed to be nested. pages are containers and so you might be able to nest them, but i've never tried this and i don't think should be supported behavior. instead, why not make your own "page" class that inherits from WebMarkupContainer called something like MyPage or something and then you can nest these anyway you like. when you have one at the top level, you can put it inside a WebPage. otherwise you can do this iframe thing that i don't know anything about... ;-)

Ralf Ebert wrote:

Hi,

one in the other from wicket's perspective, iframes are independent pages and so the content of your iframe will not be part of the component hirarchy
of the container page.

yes, that's right. But what I want to do is having the content of the iframes managed as component of the container page. Basically what I want to do is have a List of WebPages which are rendered as iframes, because the iframes are added and removed in a very dynamic way from the containing page (I'm using this for a kind of very special site rendering, not for embedding one or two iframes in a page in static way). Also I want to have the state of the iframe component hierarchy linked to the container page component hierarchy so I can use Wicket features like painless browser-back even for this complex behavior. I'm just wondering if this can be done in a clean component-oriented way without using independent Pages at all...

Ralf


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to