Even though I set width and height, i always get a 800/500 popup..

final PopupSettings popupSettings = new 
PopupSettings(PageMap.forName("welcomevideo"));
popupSettings.setWidth(975);
popupSettings.setHeight(610);
add(new Link<Void>("movieLink") {
private static final long serialVersionUID = 1L;

@Override
public void onClick() {
//do stuff...
}
}.setPopupSettings(popupSettings));
}

renders this html..


<a onclick="var w = window.open(href, 'welcomevideo', 
'scrollbars=no,location=no,menuBar=no,resizable=no,status=no,toolbar=no,width=800,height=500');
 if(w.blur) w.focus(); return false;" 
href="../../?wicket:interface=wicket-5:38:sectionsContainer:watchDemoStep:movieLink::ILinkListener::"
 wicketpath="sectionsContainer_watchDemoStep_movieLink" target="welcomevideo">
<img 
wicketpath="sectionsContainer_watchDemoStep_movieLink___relative__path__prefix__7"
 style="border: thin solid black;" src="../../img/video.png"/>
</a>


Reply via email to