Re: [Wicket-user] AutoComplete TextField broken
Hi Matej, Sorry for my stupidity (I was adding it in a wrong page), your solution does solve the problem. Thanks. Regards Boon Ping On 3/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: that is really strange, can you check if the flag does force a new request on backbutton? e.g. when you click back button, is there another http request ? -Matej On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for your quick reply. > > Overriding configurReponse doesn't solve the problem. Unfortunately, we > couldn't upgrade to new version of wicket for some reasons. Is there any > workaround solution for this problem? > > > Thanks > > Regards > Boon Ping. > > On 3/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > That's an rather old version of wicket. You should really consider > > upgrading. Anyway, the problem you're describing is probably because > > firefox caches wrong state of the page. > > > > IMHO the best solution for this is to send no-store cache header to > > browser, e.g. override configureResponse of your page like this: > > > > protected void configureResponse() > > { > > final WebResponse response = > getWebRequestCycle().getWebResponse(); > > response.setHeader("Pragma", "no-cache"); > > response.setHeader("Cache-Control", "no-store, max-age=0, > must-revalidate"); > > } > > > > -Matej > > > > On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > > > Hi, Matej Knopp! > > > > > > I'm using wicket-1.2.3. > > > > > > Thanks. > > > > > > Regards > > > Boon Ping > > > > > > > > > On 3/26/07, Matej Knopp < [EMAIL PROTECTED]> wrote: > > > > What wicket version are you using? > > > > > > > > On 3/26/07, Lan Boon Ping < [EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > > > > > > I have a problem in AutoComplete textfield, here are the use cases. > > > > > > > > > > Use case A > > > > > - test auto-complete field - (works) > > > > > - type www.google.com in URL bar and press enter to navigate google > main > > > > > page. > > > > > - click on "back" button back to auto-complete page > > > > > - test auto-complete field - (works) > > > > > > > > > > Use case B > > > > > - test auto-complete field - (works) > > > > > - click on a non-bookmarkable link > > > > > - click on "back" button back to auto-complete page > > > > > - test auto-complete field - (broken) > > > > > > > > > > By the way, I'm using firefox. > > > > > > > > > > Can anyone tell me how to solve this problem? > > > > > > > > > > Thank You! > > > > > > > > > > Regards > > > > > Boon Ping > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > 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 > > > > > > > > > > > - > > 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.source
Re: [Wicket-user] AutoComplete TextField broken
that is really strange, can you check if the flag does force a new request on backbutton? e.g. when you click back button, is there another http request ? -Matej On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for your quick reply. > > Overriding configurReponse doesn't solve the problem. Unfortunately, we > couldn't upgrade to new version of wicket for some reasons. Is there any > workaround solution for this problem? > > > Thanks > > Regards > Boon Ping. > > On 3/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > That's an rather old version of wicket. You should really consider > > upgrading. Anyway, the problem you're describing is probably because > > firefox caches wrong state of the page. > > > > IMHO the best solution for this is to send no-store cache header to > > browser, e.g. override configureResponse of your page like this: > > > > protected void configureResponse() > > { > > final WebResponse response = > getWebRequestCycle().getWebResponse(); > > response.setHeader("Pragma", "no-cache"); > > response.setHeader("Cache-Control", "no-store, max-age=0, > must-revalidate"); > > } > > > > -Matej > > > > On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > > > Hi, Matej Knopp! > > > > > > I'm using wicket-1.2.3. > > > > > > Thanks. > > > > > > Regards > > > Boon Ping > > > > > > > > > On 3/26/07, Matej Knopp < [EMAIL PROTECTED]> wrote: > > > > What wicket version are you using? > > > > > > > > On 3/26/07, Lan Boon Ping < [EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > > > > > > I have a problem in AutoComplete textfield, here are the use cases. > > > > > > > > > > Use case A > > > > > - test auto-complete field - (works) > > > > > - type www.google.com in URL bar and press enter to navigate google > main > > > > > page. > > > > > - click on "back" button back to auto-complete page > > > > > - test auto-complete field - (works) > > > > > > > > > > Use case B > > > > > - test auto-complete field - (works) > > > > > - click on a non-bookmarkable link > > > > > - click on "back" button back to auto-complete page > > > > > - test auto-complete field - (broken) > > > > > > > > > > By the way, I'm using firefox. > > > > > > > > > > Can anyone tell me how to solve this problem? > > > > > > > > > > Thank You! > > > > > > > > > > Regards > > > > > Boon Ping > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > 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 > > > > > > > > > > > - > > 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. Influenc
Re: [Wicket-user] AutoComplete TextField broken
Hi, Thanks for your quick reply. Overriding configurReponse doesn't solve the problem. Unfortunately, we couldn't upgrade to new version of wicket for some reasons. Is there any workaround solution for this problem? Thanks Regards Boon Ping. On 3/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: That's an rather old version of wicket. You should really consider upgrading. Anyway, the problem you're describing is probably because firefox caches wrong state of the page. IMHO the best solution for this is to send no-store cache header to browser, e.g. override configureResponse of your page like this: protected void configureResponse() { final WebResponse response = getWebRequestCycle().getWebResponse(); response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-store, max-age=0, must-revalidate"); } -Matej On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi, Matej Knopp! > > I'm using wicket-1.2.3. > > Thanks. > > Regards > Boon Ping > > > On 3/26/07, Matej Knopp < [EMAIL PROTECTED]> wrote: > > What wicket version are you using? > > > > On 3/26/07, Lan Boon Ping < [EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I have a problem in AutoComplete textfield, here are the use cases. > > > > > > Use case A > > > - test auto-complete field - (works) > > > - type www.google.com in URL bar and press enter to navigate google main > > > page. > > > - click on "back" button back to auto-complete page > > > - test auto-complete field - (works) > > > > > > Use case B > > > - test auto-complete field - (works) > > > - click on a non-bookmarkable link > > > - click on "back" button back to auto-complete page > > > - test auto-complete field - (broken) > > > > > > By the way, I'm using firefox. > > > > > > Can anyone tell me how to solve this problem? > > > > > > Thank You! > > > > > > Regards > > > Boon Ping > > > > > > > > > > > > > > > > > > > - > > > 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 > > - 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
Re: [Wicket-user] AutoComplete TextField broken
That's an rather old version of wicket. You should really consider upgrading. Anyway, the problem you're describing is probably because firefox caches wrong state of the page. IMHO the best solution for this is to send no-store cache header to browser, e.g. override configureResponse of your page like this: protected void configureResponse() { final WebResponse response = getWebRequestCycle().getWebResponse(); response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-store, max-age=0, must-revalidate"); } -Matej On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi, Matej Knopp! > > I'm using wicket-1.2.3. > > Thanks. > > Regards > Boon Ping > > > On 3/26/07, Matej Knopp < [EMAIL PROTECTED]> wrote: > > What wicket version are you using? > > > > On 3/26/07, Lan Boon Ping < [EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I have a problem in AutoComplete textfield, here are the use cases. > > > > > > Use case A > > > - test auto-complete field - (works) > > > - type www.google.com in URL bar and press enter to navigate google main > > > page. > > > - click on "back" button back to auto-complete page > > > - test auto-complete field - (works) > > > > > > Use case B > > > - test auto-complete field - (works) > > > - click on a non-bookmarkable link > > > - click on "back" button back to auto-complete page > > > - test auto-complete field - (broken) > > > > > > By the way, I'm using firefox. > > > > > > Can anyone tell me how to solve this problem? > > > > > > Thank You! > > > > > > Regards > > > Boon Ping > > > > > > > > > > > > > > > > > > > - > > > 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 > > - 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
Re: [Wicket-user] AutoComplete TextField broken
Hi, Matej Knopp! I'm using wicket-1.2.3. Thanks. Regards Boon Ping On 3/26/07, Matej Knopp <[EMAIL PROTECTED]> wrote: What wicket version are you using? On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem in AutoComplete textfield, here are the use cases. > > Use case A > - test auto-complete field - (works) > - type www.google.com in URL bar and press enter to navigate google main > page. > - click on "back" button back to auto-complete page > - test auto-complete field - (works) > > Use case B > - test auto-complete field - (works) > - click on a non-bookmarkable link > - click on "back" button back to auto-complete page > - test auto-complete field - (broken) > > By the way, I'm using firefox. > > Can anyone tell me how to solve this problem? > > Thank You! > > Regards > Boon Ping > > > > > > - > 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
Re: [Wicket-user] AutoComplete TextField broken
What wicket version are you using? On 3/26/07, Lan Boon Ping <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem in AutoComplete textfield, here are the use cases. > > Use case A > - test auto-complete field - (works) > - type www.google.com in URL bar and press enter to navigate google main > page. > - click on "back" button back to auto-complete page > - test auto-complete field - (works) > > Use case B > - test auto-complete field - (works) > - click on a non-bookmarkable link > - click on "back" button back to auto-complete page > - test auto-complete field - (broken) > > By the way, I'm using firefox. > > Can anyone tell me how to solve this problem? > > Thank You! > > Regards > Boon Ping > > > > > > - > 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