I am developing a photo sharing application and i would like to display a photo 
whose url is retrieved dynamically. I have a property "photo" on my ViewPhoto 
page and my ViewPhoto.tml is:

<img src=${photo.url}" /> but this causes the onActivate(Long) method to fall 
over. I've also tried <img src="${asset:context:photo.url}" /> but this doesn't 
work because tapestry then looks for a file called photo.url. I know I can 
inject a static asset into my page but how do I handle an asset which is 
determined at runtime?

Thanks

Toby

Reply via email to