I did that as an extra check to ensure window.name and the page map (maybe Window some day) are in sync. I guess we can remove that without trouble, though it is possible then that the window name and page map are different, while ideally they should be the same.
Eelco On 8/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > this is our window tracking js > if (window.name=='') > { > window.location="/tsp/web/workspace/wsid/2/linkid/2/wicket:pageMapName/wicket-0"; > } > else if (window.name > !='wicket:default') { window.name="wicket:default"; } > > is there any reason for that elseif window.name=pagemap? we are only > interested in the case where window.name="" correct? > > the problem is that it interferes with frames based sites where often you do > > <frame ... name="left_frame"> > and then in links <a ... target="left_frame"/> > > the frame opens, and then our javascript overrides its name so subsequent > clicks on the link create a new window since they cant find "left_frame" > anymore. > > so any reason not to remove that esleif ? > > -Igor > > > ------------------------------------------------------------------------- > 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-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > ------------------------------------------------------------------------- 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-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop