That code is for automatically opening new page maps when new windows are opened (e.g. when doing ctrl+click or ctrl+n in IE). That code had some problems though, and we rewrote it using cookies when they are available, using the history trick as a last fall back. There was a thread about this earlier this week btw.
I agree, any checking like this should be a configuration option. I'll build that in now. Eelco On 4/16/06, Ingram Chen <[EMAIL PROTECTED]> wrote: > The WebPage from latest beta generate some javascript: > > if((history.length == 0 && document.all) || (history.length == 1 && > !document.all)) > .... > > I am not sure what this for.... but while in testing we may dump whole page > source and preview it in browser. This script always do redirect because > there is > no history for such standalone page. > > Is it possible to turn it off via PageSetting ? or at least it can be turned > off > in MockWebApplication. > > -- > Ingram Chen > Java [EMAIL PROTECTED] > Institue of BioMedical Sciences Academia Sinica Taiwan > blog: http://www.javaworld.com.tw/roller/page/ingramchen ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
