Well, this is the price for having no XML specification ;)
-----Original Message-----
From: Angelo Chen [mailto:[EMAIL PROTECTED]
Sent: 30 August 2007 10:17
To: [email protected]
Subject: T5: Handling of images
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]
------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by e-mail at the address shown. This email
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is intended
even if addressed incorrectly. Please delete it from your files if you are not
the intended recipient. Thank you for your compliance. Copyright 2007 CIGNA
==============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]