look at WebApplication.mountSharedResources()
and RequestCycle.urlFor(final ResourceReference resourceReference, ValueMap
parameters)

johan


On 9/17/07, Leszek Gawron <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I already know how to serve an image from database - dead easy. Thing is
> the image is a component. What i would like to achieve now is to have a
> very small image retrieving api:
>
> http://host/mywicketapp/images/<id>
> http://host/mywicketapp/images/<id>/next
> http://host/mywicketapp/images/<id>/previous
> http://host/mywicketapp/images/latest
>
> how do I mount a Resource at specified path?
> how do I pass parameters to it ? (/next /previous)
>
>
> --
> Leszek Gawron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to