Re: [Wicket-user] Write javascript to inlineframe

2007-06-20 Thread Igor Vaynberg
that code in the ajax link is incorrect this line: newIframe.replaceWith(iframe); should actually be iframe.replaceWith(newIframe); -igor On 6/20/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote: Hello, On my html page I have an iframe => Early code : WebMarkupContainer iframe = new We

[Wicket-user] Write javascript to inlineframe

2007-06-20 Thread Marieke Vandamme
Hello, On my html page I have an iframe => Early code : WebMarkupContainer iframe = new WebMarkupContainer("iframe"); Then I set the src for my iframe with a SimpleMarkupContainer => iframe.add(new SimpleAttributeModifier("src", urlFor(PageMap.forName("MyPageMap"), MyPage.class, params))); N