Hi Sven, This will only work when the mychart.jpg already exists at that specified path. But, as per my requirement I have to generate the JPG dynamically and show it on the page.
I got a reference at http://wiki.apache.org/tapestry/Tapestry5HowToCreateASimpleGraphComponen t But, it doesn't help much with my requirement. Thanks, Yeeswar. -----Original Message----- From: Sven Homburg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 6:09 PM To: Tapestry users Subject: Re: Displaying image on T5 page add to your page template: <img src="${asset:context:assets/images/mychart.jpg}"/> further informations you find here http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html 2008/7/10 Yeeswara Nadapana (HCL Financial Services) < [EMAIL PROTECTED]>: > > Hi, > > > > I am new to Tapestry. Using Tapestry 5.0.10 with my application. I need > to display a chart image on my application using dynamic data. I am > using JFreeChart for that. But, I couldn't get the way to display the > image on my page. > > > > I have to display the image while rendering the page, not as an > ActionLink. Can anyone help with this? > > > > > > Regards, > > Yeeswar > > > > > > DISCLAIMER: > > ------------------------------------------------------------------------ ----------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ------------------------------------------------------------------------ ----------------------------------------------- -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.googlecode.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]