Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
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: >> >> > 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 >> >> >> 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
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: > >> > >> >> 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 > >> > >> > >> 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
Hi Neli, Eelco, You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just surprised the target attribute was not set automatically as I thought Wicket's philosophy was to never depend on JavaScript. However, it is not a big thing, you can easily set it yourself. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
> You need to set the target attribute when you need to support a > non-JavaScript browser. Otherwise, the target attribute won't explain > the problem Neli is having unless a weird browser is used. > > I was just surprised the target attribute was not set automatically as I > thought Wicket's philosophy was to never depend on JavaScript. However, > it is not a big thing, you can easily set it yourself. Good point, maybe we should. Mind opening up a feature request for that? Eelco - 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
Ok. http://issues.apache.org/jira/browse/WICKET-58 Erik. Eelco Hillenius wrote: >> You need to set the target attribute when you need to support a >> non-JavaScript browser. Otherwise, the target attribute won't explain >> the problem Neli is having unless a weird browser is used. >> >> I was just surprised the target attribute was not set automatically as I >> thought Wicket's philosophy was to never depend on JavaScript. However, >> it is not a big thing, you can easily set it yourself. >> > > Good point, maybe we should. Mind opening up a feature request for that? > > Eelco > > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
Thanks. Eelco On 11/13/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Ok. > http://issues.apache.org/jira/browse/WICKET-58 > > Erik. > > > Eelco Hillenius wrote: > >> You need to set the target attribute when you need to support a > >> non-JavaScript browser. Otherwise, the target attribute won't explain > >> the problem Neli is having unless a weird browser is used. > >> > >> I was just surprised the target attribute was not set automatically as I > >> thought Wicket's philosophy was to never depend on JavaScript. However, > >> it is not a big thing, you can easily set it yourself. > >> > > > > Good point, maybe we should. Mind opening up a feature request for that? > > > > Eelco > > > > > -- > Erik van Oosten > http://www.day-to-day-stuff.blogspot.com/ > > > - > 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user