Hi Sven,

Sven Meier wrote:
>> apart from asking the database _again_ for the data or presence thereof
> 
> Whether the image is visible must be determined when the page is
> rendered. The actual loading of the image is done in another request.
> Thus two times to ask the databse.

thanks for reminding me -- sometimes, a powerful framework such as
Wicket makes you forget you work with HTTP ;-)

> 
> Alternatively you may render a default resource (e.g.
> https://www.google.com/search?q=no+image) if your database doesn't have
> any data to stream back when the image is requested.
> 
> Regards
> Sven
> 

Have a nice day.
    Stefan

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

Reply via email to