You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by corsair <pa...@fontel.net.ua> on 2006/11/07 09:40:51 UTC

[q] Show image + ServletContext

Hello anybody!
In my webApp i have a set of images. My logic select one of this image.
How to show image on page according servlet context name?

i have several ideas
1) Inject ServletContext and add servletContext name to image path. And use Any component for showing.
2) Create ContextAsset and use Image component. (Where to get parameters for constructor?)
3) Create new Service

maybe somebody have another ideas?


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