> New to wickets - trying to figure out how to dynamically add i fra mes to a
> page.
>
> Both the url to be set in the iframe and the body of the
>
> I want to dynamically add i fr ames to external urls (i.e. urls not in the
> wicket pkg. - some external entities. , i.e. i do not know how many of these
> frame I will have to add or where they are pointed to - until the request is
> made.
>
> How do I achive this? Inline Frames need some parameters that don't seem to
> make sense in this scenario.
I think you can just use iframe tags and do something like this:
add(new WebMarkupContainer("iframe")
{
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
tag.put("src", "http://wicketframework.org/");
}
});
or
add(new WebMarkupContainer("iframe").add(new SimpleAttributeModifier("src",
"http://wicketframework.org/")));
Eelco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user