Re: Session timeout - AJAX-enabled controls
Thank you Igor. Does somebody have a short example of java code to check for wicket-Ajax header ? Or an example of what such a header looks like ? In the debug window, I can see wicket xml responses, bot no query... Bernard in your servlet filter you will have to check for Wicket-Ajax header and if it is present return a properly formatted ajax-response that contains javascript to redirect to your login page. -igor On Tue, Dec 1, 2009 at 1:01 PM, Bernard Lupin wrote: > > And I'm using wicket version 1.4.3... > > > Bernard Lupin wrote: >> >> Hello, >> >> I also have a similar problem : when the session is over, debug shows me >> that all my Ajax links receive an html response with my login page, >> instead of an xml response, because I have a servlet filter for that. >> So wicket says in the wicket ajax debug window "ERROR: >> Wicket.Ajax.Call.failure: Error while parsing response: Could not find >> root element", and for users nothing happens when >> clicking >> on AjaxLink's. >> >> Is it a way to solve this please ? >> Regards, >> Bernard >> >> -- View this message in context: http://old.nabble.com/Session-timeout---AJAX-enabled-controls-tp26422932p26611019.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
in your servlet filter you will have to check for Wicket-Ajax header and if it is present return a properly formatted ajax-response that contains javascript to redirect to your login page. -igor On Tue, Dec 1, 2009 at 1:01 PM, Bernard Lupin wrote: > > And I'm using wicket version 1.4.3... > > > Bernard Lupin wrote: >> >> Hello, >> >> I also have a similar problem : when the session is over, debug shows me >> that all my Ajax links receive an html response with my login page, >> instead of an xml response, because I have a servlet filter for that. >> So wicket says in the wicket ajax debug window "ERROR: >> Wicket.Ajax.Call.failure: Error while parsing response: Could not find >> root element", and for users nothing happens when clicking >> on AjaxLink's. >> >> Is it a way to solve this please ? >> Regards, >> Bernard >> >> >> --- En date de : Ven 20.11.09, Carlo Camerino a >> écrit : >> >>> De: Carlo Camerino >>> Objet: Re: Session timeout - AJAX-enabled controls >>> À: users@wicket.apache.org >>> Date: Vendredi 20 Novembre 2009, 3h44 >>> yes we also have this prob lem >>> For example i use a wicket in >>> dicating ajax button in our logi n page. If thne user doesn >>> t click a >>> link that moves a page he will not be able to k now that >>> the session >>> has i ndeed expired. The screen o ly shows the rotating >>> image but >>> nothing happens. but if i use a normal submit li nk, >>> im immeddiately >>> redirected.. >>> Some clients didnt mind it bbut some clients do >>> >>> thanks >>> >>> On 11/20/09, Igor Vaynberg >>> wrote: >>> > afair any ajax interaction on an expired page causes >>> the same reaction >>> > as a non-ajax interaction - going to the page expired >>> page. open a bug >>> > with a quickstart if that is not the case. >>> > >>> > -igor >>> > >>> > 2009/11/19 David Matoušek : >>> >> Hi, >>> >> I have a problem with ajax behavior, that i use to >>> fill various dropdowns >>> >> by >>> >> data from database. >>> >> When session expires(user was inactive), non-ajax >>> controls correctly >>> >> redirect me to some kind of Error page. Thats >>> correct. >>> >> Components that have defined ajax behavior to >>> update another components >>> >> don't redirect, and doesn't update another >>> components either. >>> >> Is that Wicket feature, or a bug? Can components >>> with ajax behaviors be >>> >> forced to redirect to error page on session expire >>> like non-ajax ones do? >>> >> Any suggestions? >>> >> >>> >> Thanks for reply >>> >> >>> >> David Matousek >>> >> >>> >> >>> >> >>> >> >>> >> -- >>> >> Tato zprava byla prohledana na vyskyt viru >>> >> a nebezpecneho obsahu antivirovym systemem >>> >> MailScanner a zda se byt cista. >>> >> >>> >> >>> >> >>> ------------- >>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> >> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >>> >> >>> > >>> > >>> - >>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> > For additional commands, e-mail: users-h...@wicket.apache.org >>> > >>> > >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://old.nabble.com/Session-timeout---AJAX-enabled-controls-tp26422932p26598984.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
And I'm using wicket version 1.4.3... Bernard Lupin wrote: > > Hello, > > I also have a similar problem : when the session is over, debug shows me > that all my Ajax links receive an html response with my login page, > instead of an xml response, because I have a servlet filter for that. > So wicket says in the wicket ajax debug window "ERROR: > Wicket.Ajax.Call.failure: Error while parsing response: Could not find > root element", and for users nothing happens when clicking > on AjaxLink's. > > Is it a way to solve this please ? > Regards, > Bernard > > > --- En date de : Ven 20.11.09, Carlo Camerino a > écrit : > >> De: Carlo Camerino >> Objet: Re: Session timeout - AJAX-enabled controls >> À: users@wicket.apache.org >> Date: Vendredi 20 Novembre 2009, 3h44 >> yes we also have this prob lem >> For example i use a wicket in >> dicating ajax button in our logi n page. If thne user doesn >> t click a >> link that moves a page he will not be able to k now that >> the session >> has i ndeed expired. The screen o ly shows the rotating >> image but >> nothing happens. but if i use a normal submit li nk, >> im immeddiately >> redirected.. >> Some clients didnt mind it bbut some clients do >> >> thanks >> >> On 11/20/09, Igor Vaynberg >> wrote: >> > afair any ajax interaction on an expired page causes >> the same reaction >> > as a non-ajax interaction - going to the page expired >> page. open a bug >> > with a quickstart if that is not the case. >> > >> > -igor >> > >> > 2009/11/19 David Matoušek : >> >> Hi, >> >> I have a problem with ajax behavior, that i use to >> fill various dropdowns >> >> by >> >> data from database. >> >> When session expires(user was inactive), non-ajax >> controls correctly >> >> redirect me to some kind of Error page. Thats >> correct. >> >> Components that have defined ajax behavior to >> update another components >> >> don't redirect, and doesn't update another >> components either. >> >> Is that Wicket feature, or a bug? Can components >> with ajax behaviors be >> >> forced to redirect to error page on session expire >> like non-ajax ones do? >> >> Any suggestions? >> >> >> >> Thanks for reply >> >> >> >> David Matousek >> >> >> >> >> >> >> >> >> >> -- >> >> Tato zprava byla prohledana na vyskyt viru >> >> a nebezpecneho obsahu antivirovym systemem >> >> MailScanner a zda se byt cista. >> >> >> >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> > >> > >> ----- >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> > For additional commands, e-mail: users-h...@wicket.apache.org >> > >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/Session-timeout---AJAX-enabled-controls-tp26422932p26598984.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
Hello, I also have a similar problem : when the session is over, debug shows me that all my Ajax links receive an html response with my login page, instead of an xml response, because I have a servlet filter for that. So wicket says in the wicket ajax debug window "ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root element", and for users nothing happens when clicking on AjaxLink's. Is it a way to solve this please ? Regards, Bernard --- En date de : Ven 20.11.09, Carlo Camerino a écrit : > De: Carlo Camerino > Objet: Re: Session timeout - AJAX-enabled controls > À: users@wicket.apache.org > Date: Vendredi 20 Novembre 2009, 3h44 > yes we also have this prob lem > For example i use a wicket in > dicating ajax button in our logi n page. If thne user doesn > t click a > link that moves a page he will not be able to k now that > the session > has i ndeed expired. The screen o ly shows the rotating > image but > nothing happens. but if i use a normal submit li nk, > im immeddiately > redirected.. > Some clients didnt mind it bbut some clients do > > thanks > > On 11/20/09, Igor Vaynberg > wrote: > > afair any ajax interaction on an expired page causes > the same reaction > > as a non-ajax interaction - going to the page expired > page. open a bug > > with a quickstart if that is not the case. > > > > -igor > > > > 2009/11/19 David Matoušek : > >> Hi, > >> I have a problem with ajax behavior, that i use to > fill various dropdowns > >> by > >> data from database. > >> When session expires(user was inactive), non-ajax > controls correctly > >> redirect me to some kind of Error page. Thats > correct. > >> Components that have defined ajax behavior to > update another components > >> don't redirect, and doesn't update another > components either. > >> Is that Wicket feature, or a bug? Can components > with ajax behaviors be > >> forced to redirect to error page on session expire > like non-ajax ones do? > >> Any suggestions? > >> > >> Thanks for reply > >> > >> David Matousek > >> > >> > >> > >> > >> -- > >> Tato zprava byla prohledana na vyskyt viru > >> a nebezpecneho obsahu antivirovym systemem > >> MailScanner a zda se byt cista. > >> > >> > >> > - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
If it's implemented in 1.4 then it's enough for me, guess I will migrate to that version then. Thanks for help, everyone involved. David Matousek Carlo Camerino napsal(a): i have verified that this fix has already been implemented in 1.4 is there any chance that this would be backported to the 1.3 branch? from what i understand, there would be no more releases for the 1.3 is this correct? 2009/11/21 Igor Vaynberg http://www.wicket-library.com/wicket-examples/ is running a very old version, may even be 1.2.x. you should use wicketstuff.org/wicket14 -igor 2009/11/20 David Matoušek : It was happening to me on Wicket examples page too. Especially on AjaxFallbackDataTable Example. I just checked it but now it seems to be working correctly. What version of Wicket are examples on url: http://www.wicket-library.com/wicket-examples/ running and were they changed lately? I am using 1.3.6 so maybe it was fixed in 1.4.x versions. David Matousek I do not have that problem: if session expires any action the user does triggering a server round trip, AJAX or not, on a protected page redirects me to the login page... Can you post more details? Best, Ernesto 2009/11/20 Carlo Camerino yes we also have this prob lem For example i use a wicket in dicating ajax button in our logi n page. If thne user doesn t click a link that moves a page he will not be able to k now that the session has i ndeed expired. The screen o ly shows the rotating image but nothing happens. but if i use a normal submit li nk, im immeddiately redirected.. Some clients didnt mind it bbut some clients do thanks On 11/20/09, Igor Vaynberg wrote: afair any ajax interaction on an expired page causes the same reaction as a non-ajax interaction - going to the page expired page. open a bug with a quickstart if that is not the case. -igor 2009/11/19 David Matoušek : Hi, I have a problem with ajax behavior, that i use to fill various dropdowns by data from database. When session expires(user was inactive), non-ajax controls correctly redirect me to some kind of Error page. Thats correct. Components that have defined ajax behavior to update another components don't redirect, and doesn't update another components either. Is that Wicket feature, or a bug? Can components with ajax behaviors be forced to redirect to error page on session expire like non-ajax ones do? Any suggestions? Thanks for reply David Matousek -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista.
Re: Session timeout - AJAX-enabled controls
i have verified that this fix has already been implemented in 1.4 is there any chance that this would be backported to the 1.3 branch? from what i understand, there would be no more releases for the 1.3 is this correct? 2009/11/21 Igor Vaynberg > http://www.wicket-library.com/wicket-examples/ is running a very old > version, may even be 1.2.x. > > you should use wicketstuff.org/wicket14 > > -igor > > 2009/11/20 David Matoušek : > > It was happening to me on Wicket examples page too. Especially on > > AjaxFallbackDataTable Example. > > > > > I just checked it but now it seems to be working correctly. What version > of > > Wicket are examples on url: > > http://www.wicket-library.com/wicket-examples/ > > running and were they changed lately? > > I am using 1.3.6 so maybe it was fixed in 1.4.x versions. > > > > David Matousek > > > >> I do not have that problem: if session expires any action the user does > >> triggering a server round trip, AJAX or not, on a protected page > redirects > >> me to the login page... Can you post more details? > >> > >> Best, > >> > >> Ernesto > >> > >> 2009/11/20 Carlo Camerino > >> > >> > >>> > >>> yes we also have this prob lem For example i use a wicket in > >>> dicating ajax button in our logi n page. If thne user doesn t click a > >>> link that moves a page he will not be able to k now that the session > >>> has i ndeed expired. The screen o ly shows the rotating image but > >>> nothing happens. but if i use a normal submit li nk, im immeddiately > >>> redirected.. > >>> Some clients didnt mind it bbut some clients do > >>> > >>> thanks > >>> > >>> On 11/20/09, Igor Vaynberg wrote: > >>> > > afair any ajax interaction on an expired page causes the same reaction > as a non-ajax interaction - going to the page expired page. open a bug > with a quickstart if that is not the case. > > -igor > > 2009/11/19 David Matoušek : > > > > > Hi, > > I have a problem with ajax behavior, that i use to fill various > > > >>> > >>> dropdowns > >>> > > > > by > > data from database. > > When session expires(user was inactive), non-ajax controls correctly > > redirect me to some kind of Error page. Thats correct. > > Components that have defined ajax behavior to update another > components > > don't redirect, and doesn't update another components either. > > Is that Wicket feature, or a bug? Can components with ajax behaviors > be > > forced to redirect to error page on session expire like non-ajax ones > > > >>> > >>> do? > >>> > > > > Any suggestions? > > > > Thanks for reply > > > > David Matousek > > > > > > > > > > -- > > Tato zprava byla prohledana na vyskyt viru > > a nebezpecneho obsahu antivirovym systemem > > MailScanner a zda se byt cista. > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > >>> > >>> - > >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >>> For additional commands, e-mail: users-h...@wicket.apache.org > >>> > >>> > >>> > >> > >> > > > > > > -- > > Tato zprava byla prohledana na vyskyt viru > > a nebezpecneho obsahu antivirovym systemem > > MailScanner a zda se byt cista. > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Session timeout - AJAX-enabled controls
http://www.wicket-library.com/wicket-examples/ is running a very old version, may even be 1.2.x. you should use wicketstuff.org/wicket14 -igor 2009/11/20 David Matoušek : > It was happening to me on Wicket examples page too. Especially on > AjaxFallbackDataTable Example. > > I just checked it but now it seems to be working correctly. What version of > Wicket are examples on url: > http://www.wicket-library.com/wicket-examples/ > running and were they changed lately? > I am using 1.3.6 so maybe it was fixed in 1.4.x versions. > > David Matousek > >> I do not have that problem: if session expires any action the user does >> triggering a server round trip, AJAX or not, on a protected page redirects >> me to the login page... Can you post more details? >> >> Best, >> >> Ernesto >> >> 2009/11/20 Carlo Camerino >> >> >>> >>> yes we also have this prob lem For example i use a wicket in >>> dicating ajax button in our logi n page. If thne user doesn t click a >>> link that moves a page he will not be able to k now that the session >>> has i ndeed expired. The screen o ly shows the rotating image but >>> nothing happens. but if i use a normal submit li nk, im immeddiately >>> redirected.. >>> Some clients didnt mind it bbut some clients do >>> >>> thanks >>> >>> On 11/20/09, Igor Vaynberg wrote: >>> afair any ajax interaction on an expired page causes the same reaction as a non-ajax interaction - going to the page expired page. open a bug with a quickstart if that is not the case. -igor 2009/11/19 David Matoušek : > > Hi, > I have a problem with ajax behavior, that i use to fill various > >>> >>> dropdowns >>> > > by > data from database. > When session expires(user was inactive), non-ajax controls correctly > redirect me to some kind of Error page. Thats correct. > Components that have defined ajax behavior to update another components > don't redirect, and doesn't update another components either. > Is that Wicket feature, or a bug? Can components with ajax behaviors be > forced to redirect to error page on session expire like non-ajax ones > >>> >>> do? >>> > > Any suggestions? > > Thanks for reply > > David Matousek > > > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> >> > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
It was happening to me on Wicket examples page too. Especially on AjaxFallbackDataTable Example. I just checked it but now it seems to be working correctly. What version of Wicket are examples on url: http://www.wicket-library.com/wicket-examples/ running and were they changed lately? I am using 1.3.6 so maybe it was fixed in 1.4.x versions. David Matousek I do not have that problem: if session expires any action the user does triggering a server round trip, AJAX or not, on a protected page redirects me to the login page... Can you post more details? Best, Ernesto 2009/11/20 Carlo Camerino yes we also have this prob lem For example i use a wicket in dicating ajax button in our logi n page. If thne user doesn t click a link that moves a page he will not be able to k now that the session has i ndeed expired. The screen o ly shows the rotating image but nothing happens. but if i use a normal submit li nk, im immeddiately redirected.. Some clients didnt mind it bbut some clients do thanks On 11/20/09, Igor Vaynberg wrote: afair any ajax interaction on an expired page causes the same reaction as a non-ajax interaction - going to the page expired page. open a bug with a quickstart if that is not the case. -igor 2009/11/19 David Matoušek : Hi, I have a problem with ajax behavior, that i use to fill various dropdowns by data from database. When session expires(user was inactive), non-ajax controls correctly redirect me to some kind of Error page. Thats correct. Components that have defined ajax behavior to update another components don't redirect, and doesn't update another components either. Is that Wicket feature, or a bug? Can components with ajax behaviors be forced to redirect to error page on session expire like non-ajax ones do? Any suggestions? Thanks for reply David Matousek -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista.
Re: Session timeout - AJAX-enabled controls
I do not have that problem: if session expires any action the user does triggering a server round trip, AJAX or not, on a protected page redirects me to the login page... Can you post more details? Best, Ernesto 2009/11/20 Carlo Camerino > yes we also have this prob lem For example i use a wicket in > dicating ajax button in our logi n page. If thne user doesn t click a > link that moves a page he will not be able to k now that the session > has i ndeed expired. The screen o ly shows the rotating image but > nothing happens. but if i use a normal submit li nk, im immeddiately > redirected.. > Some clients didnt mind it bbut some clients do > > thanks > > On 11/20/09, Igor Vaynberg wrote: > > afair any ajax interaction on an expired page causes the same reaction > > as a non-ajax interaction - going to the page expired page. open a bug > > with a quickstart if that is not the case. > > > > -igor > > > > 2009/11/19 David Matoušek : > >> Hi, > >> I have a problem with ajax behavior, that i use to fill various > dropdowns > >> by > >> data from database. > >> When session expires(user was inactive), non-ajax controls correctly > >> redirect me to some kind of Error page. Thats correct. > >> Components that have defined ajax behavior to update another components > >> don't redirect, and doesn't update another components either. > >> Is that Wicket feature, or a bug? Can components with ajax behaviors be > >> forced to redirect to error page on session expire like non-ajax ones > do? > >> Any suggestions? > >> > >> Thanks for reply > >> > >> David Matousek > >> > >> > >> > >> > >> -- > >> Tato zprava byla prohledana na vyskyt viru > >> a nebezpecneho obsahu antivirovym systemem > >> MailScanner a zda se byt cista. > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Session timeout - AJAX-enabled controls
yes we also have this prob lem For example i use a wicket in dicating ajax button in our logi n page. If thne user doesn t click a link that moves a page he will not be able to k now that the session has i ndeed expired. The screen o ly shows the rotating image but nothing happens. but if i use a normal submit li nk, im immeddiately redirected.. Some clients didnt mind it bbut some clients do thanks On 11/20/09, Igor Vaynberg wrote: > afair any ajax interaction on an expired page causes the same reaction > as a non-ajax interaction - going to the page expired page. open a bug > with a quickstart if that is not the case. > > -igor > > 2009/11/19 David Matoušek : >> Hi, >> I have a problem with ajax behavior, that i use to fill various dropdowns >> by >> data from database. >> When session expires(user was inactive), non-ajax controls correctly >> redirect me to some kind of Error page. Thats correct. >> Components that have defined ajax behavior to update another components >> don't redirect, and doesn't update another components either. >> Is that Wicket feature, or a bug? Can components with ajax behaviors be >> forced to redirect to error page on session expire like non-ajax ones do? >> Any suggestions? >> >> Thanks for reply >> >> David Matousek >> >> >> >> >> -- >> Tato zprava byla prohledana na vyskyt viru >> a nebezpecneho obsahu antivirovym systemem >> MailScanner a zda se byt cista. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Session timeout - AJAX-enabled controls
afair any ajax interaction on an expired page causes the same reaction as a non-ajax interaction - going to the page expired page. open a bug with a quickstart if that is not the case. -igor 2009/11/19 David Matoušek : > Hi, > I have a problem with ajax behavior, that i use to fill various dropdowns by > data from database. > When session expires(user was inactive), non-ajax controls correctly > redirect me to some kind of Error page. Thats correct. > Components that have defined ajax behavior to update another components > don't redirect, and doesn't update another components either. > Is that Wicket feature, or a bug? Can components with ajax behaviors be > forced to redirect to error page on session expire like non-ajax ones do? > Any suggestions? > > Thanks for reply > > David Matousek > > > > > -- > Tato zprava byla prohledana na vyskyt viru > a nebezpecneho obsahu antivirovym systemem > MailScanner a zda se byt cista. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Session timeout - AJAX-enabled controls
Hi, I have a problem with ajax behavior, that i use to fill various dropdowns by data from database. When session expires(user was inactive), non-ajax controls correctly redirect me to some kind of Error page. Thats correct. Components that have defined ajax behavior to update another components don't redirect, and doesn't update another components either. Is that Wicket feature, or a bug? Can components with ajax behaviors be forced to redirect to error page on session expire like non-ajax ones do? Any suggestions? Thanks for reply David Matousek -- Tato zprava byla prohledana na vyskyt viru a nebezpecneho obsahu antivirovym systemem MailScanner a zda se byt cista. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org