Ittay Dror wrote:
> this is from RequestCycle:
>   private final void processEventsAndRespond()
>         {
>                 // Use any synchronization lock provided by the target
>                 Object lock = getRequestTarget().getLock(this);
>                 if (lock != null)
>                 {
>                         synchronized (lock)
>                         {
>                                 doProcessEventsAndRespond(processor);
>                         }
>                 }
>                 else
>                 {
>                         doProcessEventsAndRespond(processor);
>                 }
>         }
> 
> 
> this is from BookmarkablePageRequestTarget:
>  /**
>          * @see wicket.IRequestTarget#getLock(RequestCycle)
>          */
>         public Object getLock(RequestCycle requestCycle)
>         {
>                 // we need to lock when we are not redirecting, i.e. we are
>                 // actually rendering the page
>                 return !requestCycle.getRedirect() ? 
> requestCycle.getSession() : null;
>         }
> 
> 
> as far as i could see, requestCycle.getSession() returns a Session from the 
> HttpSession
> 
> this means that if i open two tabs to a wicket application, and in one i do 
> some lengthy operation, and then try to load an unrelated page in the other, 
> it will be stuck, right?

right.

-Matej

> 
> ittay
> 
> 


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

Reply via email to