[Wicket-user] IFrame + PageMap

2006-11-14 Thread Marieke Vandamme
Hello, I'm having difficulties using iframe inside a webpage, as the destination page of my iframe is loaded twice. Example code: MainPage.html form wicket:id=webForm input type=submit wicket:id=btnSubmit/ /form iframe wicket:id=iFrame/iframe MainPage.java private WebMarkupContainer iFrame =

Re: [Wicket-user] IFrame + PageMap

2006-11-14 Thread Johan Compagner
Does it really happen the first time you open that iframe?(i mean really the very first time)if it then goes fine then you could do this right before: iFrame.add(new SimpleAttributeModifier(src, urlFor(PageMap.forName(subpage), SubPage.class, null))); do this:PageMap.forName(subpage).remove();So

Re: [Wicket-user] IFrame + PageMap

2006-11-14 Thread Erik van Oosten
Hello Marieke, I can not help you with the IFrame problem, but you can also use a div with the following style: width: ...; height:...; overflow: scroll; Erik. Marieke Vandamme wrote: What is the solution? I know that using no iframes is the best one, but I have a searchbox +