Hi, I'm sure there's a simple solution to this problem, but I've yet to figure out just what it is!
I have an image associated with each subscriber that registers with my application, and on login I'd like to show them their picture along with their subscriber details. I know I can add an asset to the .page and have the Image component pick this up and display it <asset name="subscriber" path="/tmp/subscriber.gif" /> <component id="subscriberImage" type="Image"> <binding name="image" value="getAsset('subscriber')"> </component> The problem with this is that if I have 1000 subscribers, I need 1000 assets in my .page. I would like to store the image location as a property of my subscriber data object and retrieve the asset like this: <component id="subscriberImage" type="Image"> <binding name="image" value="getAsset('ognl:subscriber.pathToImage ')"> </component> Unfortunately, tapestry won't evaluate the ognl expression in the getAsset method call, and I get an error "value for parameter image in component is null and a non-null value is required". If someone has a solution to this, I'd be interested the hear about it. Regards, Brian.