add(new webmarkupcontainer("iframe") {
oncompoennttag(tag) {
tag.put("src", ...);
tag.put("id", ...);
}}
<iframe wicket:id="iframe" align=center src="http://www.myserver.com/blah
?id=<123>"
frameBorder="0" width="500" scrolling="no" height="500"/>
-igor
On 5/18/07, Chris Colman <[EMAIL PROTECTED]> wrote:
I need to embed an IFRAME into some wicket markup but I need to control
the URL in the src attribute. What markup can I use to generate the
parameter if possible?
<iframe align=center src="http://www.myserver.com/blah?id=<123>"
frameBorder="0" width="500" scrolling="no" height="500"/>
I need to be able to control the <123> part of the id attribute or if
easier I could generate the entire src attribute. I just don't know how
to do this. Normally wicket likes to replace a whole tag, not just an
attribute so I'm stumped (pardon the pun!)
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user