You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Lucio Crusca <lu...@sulweb.org> on 2022/03/22 17:00:33 UTC

how does DownloadLink lock the page?

The API docs here

https://nightlies.apache.org/wicket/apidocs/9.x/org/apache/wicket/markup/html/link/DownloadLink.html

state that DownloadLink locks the page. I assume it means the user who 
is downloading something cannot access the webapp until the download has 
finished.

But what about other users? Does that notice about other threads also 
being blocked mean that even other users won't be able to access that 
page? Or even the whole webapp?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: how does DownloadLink lock the page?

Posted by Sven Meier <sv...@meiers.net>.
Hi Lucio,

only the *page instance* containing the DownloadLink is locked by the 
download.

Each user gets his own page instances, and these do not affect each other.

Best regards
Sven


On 22.03.22 18:00, Lucio Crusca wrote:
> The API docs here
>
> https://nightlies.apache.org/wicket/apidocs/9.x/org/apache/wicket/markup/html/link/DownloadLink.html 
>
>
> state that DownloadLink locks the page. I assume it means the user who 
> is downloading something cannot access the webapp until the download 
> has finished.
>
> But what about other users? Does that notice about other threads also 
> being blocked mean that even other users won't be able to access that 
> page? Or even the whole webapp?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org