You don't need to remove the line. The bug is very difficult to reproduce, I can't even describe how to trigger it.
The default behavior in newer version will be setCookieName(null), so the window position will not be persisted. Unless you manually call setCookieName(<someCookieName>); -Matej Carfield Yim wrote: > Where can I get more information about this bug? I use ModalWindow for > a few place and this look fine to me, how can I trigger this bug? > > By the way, should I remove this line once I update wicket library? > > On 1/30/07, Matej Knopp <[EMAIL PROTECTED]> wrote: >> Hi, >> >> It seems that quite a lot of people are using ModalWindow lately. I just >> want to inform you that there is a bug in modal window that can cause it >> to eat all your browser's cookies. The bug is fixed in svn, but not in >> the last release (1.2.4). >> >> Fortunately, preventing this bug is fairly easy. All you have to do is >> call setCookieName on your modal window. >> >> So either >> setCookieName(null) - if you don't want it to remember size in cookies >> >> or >> >> setCookieName("myModalWindowName") - if you want it to remember the size >> >> >> -Matej >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user