Your options here are rather limited. Wicket or not, it is still a web application. HTTP is a stateless protocol. There are ways/hacks to detect opening page in new window/tab but they require javascript and are not 100% bullet proof. If you need real solution for this forget about web applications. Do it as java applet or flash or silverlight or something similar.
-Matej On Tue, Sep 29, 2009 at 7:55 PM, Carlo Camerino <carlo.camer...@gmail.com> wrote: > ya it's sort of our requirement.... i don't think i would set my pagemap to 0. > > i'm thinking of a control i could use in order to determine that this > page is accessed. i'm thinking of the best way to do it though. > i could maybe include a hidden field in each of my form that i have to > check each time and check each request. > i don't know if this is possible. > > On Wed, Sep 30, 2009 at 1:29 AM, nino martinez wael > <nino.martinez.w...@gmail.com> wrote: >> could'nt he just have a page map with a size of 0? Of course reloads >> would'nt work and probably a bunch of other stuff too.. Seems like at >> strange thing to limit on though. >> >> 2009/9/29 Matej Knopp <matej.kn...@gmail.com> >> >>> On Tue, Sep 29, 2009 at 6:48 PM, Pedro Santos <pedros...@gmail.com> wrote: >>> > We have this requirement in which we cannot allow the customer to copy >>> > paste the url that's appearing in the address bar into the same >>> > browser. >>> > Crazy thing. How about to include an request counter to your url >>> > encode/decode strategy? >>> >>> That wouldn't work. Or it would prevent refresh as well. This is not >>> really doable. If you need this kind of control web applications >>> simply aren't what you should be doing. >>> >>> -Matej >>> >>> > >>> > >>> > On Tue, Sep 29, 2009 at 1:41 PM, Carlo Camerino < >>> carlo.camer...@gmail.com>wrote: >>> > >>> >> Hi everyone, >>> >> >>> >> We have this requirement in which we cannot allow the customer to copy >>> >> paste the url that's appearing in the address bar into the same >>> >> browser. For example in a different tab or in a new window. This can >>> >> easily be done in Wicket Framework since the url has a corresponding >>> >> page attached to it. For example if i get >>> >> http://localhost/wicket:interface=1 appearing in the address bar, I >>> >> can open anew tab paste the url and I could get into the same page. >>> >> The users don't want this behavior. Could I make it work in such a way >>> >> that I copy http://localhost/wicket:inteface=1, when i try to copy and >>> >> paste it, it will redirect me to an error page? This happens even >>> >> after the user has already logged in. Really need help on this >>> >> one..... >>> >> >>> >> Thanks >>> >> >>> >> Carlo >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> >> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >>> >> >>> > >>> > >>> > -- >>> > Pedro Henrique Oliveira dos Santos >>> > >>> >>> --------------------------------------------------------------------- >>> 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