Hi,

Everytime I need to display an image, I have to do something like this:

    @Inject
    @Path("context:/images/logo3.jpg")

    private Asset logo;

    public Asset getLogo() {
        return logo;
    }

   then in the template:

    ${logo} 

Is there an easier way? example, I can directly refer to the image without
creating a function?

Thanks,

A.C.

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Handling-of-images-tf4352985.html#a12403455
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to