Hi all,

I have searched this topic on this forum but did not succesfully find useful
help.

Question
---------
Does anyone know how to render multiple chart images in a 'for' loop on a
page?


Observation
------------
Basically I have a 'For' component in my Tapestry page. I am using the
ChartService class provided in the Tapestry workbench. Each iteration has a
image component that instantiates the ChartService class. When the service()
method of ChartService is called, a graph is created and encoded into a jpg
image. 

I am trying to pass ChartService the iteration's current object data so that
a different chart image can be rendered for each row. However, i come across
two problems:
1. Passing the current object to ChartService
2. Rendering different images for each row (At the moment, the image
component on each row is pointing to URL of the last image - this is because
they get rendered from the stream once, after all the iterations are
completed.)

Thank you.

Regards,
Chitra
-- 
View this message in context: 
http://www.nabble.com/Multiple-Chart-Images-tp25219188p25219188.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to