Re: [Wicket-user] problem with PopupCloseLink - wicket 1.2.1
Hrm, yes. Thanks Dipu for finding that. I made some improvements to PopupSettings to guard for such problems. Probably not fire proof, but better. Cheers, Eelco On 8/11/06, Dipu <[EMAIL PROTECTED]> wrote: > > > Hi Elco, > > Problem was with the PopupSettings > > This is how i had defined the the PopupSettings > > PopupSettings popupsettings = new PopupSettings(); > popupSettings.setHeight(500); > popupSettings.setWidth(500); > popupSettings.setWindowName("name"); > > Changed it to > > PopupSettings popupSettings = new PopupSettings(PageMap.forName("name")); > popupSettings.setHeight(500); > popupSettings.setWidth(500); > > and now it works fine. > > many thanks for the reply. > > Regards > > Dipu > > > > > > - Original Message ----- > From: "Eelco Hillenius" <[EMAIL PROTECTED]> > To: > Sent: Thursday, August 10, 2006 7:52 PM > Subject: Re: [Wicket-user] problem with PopupCloseLink - wicket 1.2.1 > > > Hi Dipu, > > > > I can't reproduce this with the current 1.2 svn version. > > > > Does the linkomatic example have the same behavior for you? Can you > > send in a test project that reproduces this problem? And/ or test > > against the svn version and see if the problem is still there? > > > > Eelco > > > > > > On 8/9/06, Dipu <[EMAIL PROTECTED]> wrote: > >> > >> > >> Hi All, > >> > >> I have migrated my application from the earlier version of wicket to the > >> version 1.2.1. > >> > >> I am having bit of a problem with the popup pages and pop up close links. > >> If i open a popup page and close it by clicking on the PopupCloseLink. > >> The next attempt to open the pop up page loads the home page in my pop > up > >> page. > >> At the same time if i uses the browsers close button it opens the correct > >> pop up page in the > >> subsequent attempts. > >> > >> Has any one come across this problem with the version 1.2.1. > >> > >> I wonder if the line > >> // Remove the popup's page map from the session > >> getPage().getPageMap().remove(); > >> > >> in the onClick() method of PopupCloseLink has got some thing to do with > >> this. > >> > >> Kind Regards > >> Dipu > >> > >> > >> > - > >> 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 > - > 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] problem with PopupCloseLink - wicket 1.2.1
Hi Elco, Problem was with the PopupSettings This is how i had defined the the PopupSettings PopupSettings popupsettings = new PopupSettings(); popupSettings.setHeight(500); popupSettings.setWidth(500); popupSettings.setWindowName("name"); Changed it to PopupSettings popupSettings = new PopupSettings(PageMap.forName("name")); popupSettings.setHeight(500); popupSettings.setWidth(500); and now it works fine. many thanks for the reply. Regards Dipu - Original Message - From: "Eelco Hillenius" <[EMAIL PROTECTED]> To: <wicket-user@lists.sourceforge.net> Sent: Thursday, August 10, 2006 7:52 PM Subject: Re: [Wicket-user] problem with PopupCloseLink - wicket 1.2.1 > Hi Dipu,> > I can't reproduce this with the current 1.2 svn version.> > Does the linkomatic example have the same behavior for you? Can you> send in a test project that reproduces this problem? And/ or test> against the svn version and see if the problem is still there?> > Eelco> > > On 8/9/06, Dipu <[EMAIL PROTECTED]> wrote:>>>>>> Hi All,>>>> I have migrated my application from the earlier version of wicket to the>> version 1.2.1.>>>> I am having bit of a problem with the popup pages and pop up close links.>> If i open a popup page and close it by clicking on the PopupCloseLink.>> The next attempt to open the pop up page loads the home page in my pop up>> page.>> At the same time if i uses the browsers close button it opens the correct>> pop up page in the>> subsequent attempts.>>>> Has any one come across this problem with the version 1.2.1.>>>> I wonder if the line>> // Remove the popup's page map from the session>> getPage().getPageMap().remove();>>>> in the onClick() method of PopupCloseLink has got some thing to do with>> this.>>>> Kind Regards>> Dipu>>>>>> ->> 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 - 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] problem with PopupCloseLink - wicket 1.2.1
Hi Dipu, I can't reproduce this with the current 1.2 svn version. Does the linkomatic example have the same behavior for you? Can you send in a test project that reproduces this problem? And/ or test against the svn version and see if the problem is still there? Eelco On 8/9/06, Dipu <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I have migrated my application from the earlier version of wicket to the > version 1.2.1. > > I am having bit of a problem with the popup pages and pop up close links. > If i open a popup page and close it by clicking on the PopupCloseLink. > The next attempt to open the pop up page loads the home page in my pop up > page. > At the same time if i uses the browsers close button it opens the correct > pop up page in the > subsequent attempts. > > Has any one come across this problem with the version 1.2.1. > > I wonder if the line > // Remove the popup's page map from the session > getPage().getPageMap().remove(); > > in the onClick() method of PopupCloseLink has got some thing to do with > this. > > Kind Regards > Dipu > > > - > 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
[Wicket-user] problem with PopupCloseLink - wicket 1.2.1
Hi All, I have migrated my application from the earlier version of wicket to the version 1.2.1. I am having bit of a problem with the popup pages and pop up close links. If i open a popup page and close it by clicking on the PopupCloseLink. The next attempt to open the pop up page loads the home page in my pop up page. At the same time if i uses the browsers close button it opens the correct pop up page in the subsequent attempts. Has any one come across this problem with the version 1.2.1. I wonder if the line // Remove the popup's page map from the session getPage().getPageMap().remove(); in the onClick() method of PopupCloseLink has got some thing to do with this. Kind Regards Dipu - 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