I the current version of Wicket the target is set on bookmarkable links when you explicitly set the target on the link itself. You don't need this for popups though, as this is the window name you're passing in.
window.open(getReportUrl(), 'myReport' <--- If you look at the url: '/mypath//MyReport?wicket:bookmarkablePage=myReport:com.MyReport' you can see the pagemap being part of page path (myReport), so that all looks just fine. So I don't know what your issue is exactly, as what is generated looks fine (the second parameter of window.open is 'myReport' which is exactly what it should be). Eelco On 11/13/06, Nili Adoram <[EMAIL PROTECTED]> wrote: > onComponentTag of Link does not write any target attribute. > > It looks like the bookmarkable page is not entered to the proper page > map so renderHead in WebPage sets window name to "wicket:default". > > Erik van Oosten wrote: > > Should this not also include a target attribute, e.g. target="myReport"? > > > > Erik. > > > > Nili Adoram write: > > > >> Yes, the generated link is: > >> > >> <a href="/mypath//MyReport?wicket:bookmarkablePage=myReport:com.MyReport" > >> wicket:id="reportLink" onclick="window.open(getReportUrl(), 'myReport', > >> 'scrollbars=yes,location=no,menuBar=no,resizable=no,status=no,toolbar=no'); > >> return false;" id="reportLink">Report</a> > >> > >> > >> Johan Compagner wrote: > >> > >> > >>> what does the link where you click on look like? > >>> > >>> Does it include the pagemap? > >>> > >>> johan > >>> > >>> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
