Eric,

I'd be happy to contribute Pixory's Image component to the Tapestry community. I hate to keep harping on this subject, but tapestry.Image is a weak spot in the otherwise excellent design of Tapestry. The problem is that it's coupled to the Asset system, but the approach can and should be more generic.

The more general approach is the one that WebObjects takes. The Image component simply renders images, regardless of the *source* of that Image. I have mimiced this approach in the Pixory image component. At the end of the day, all you need to render an image is a Stream to provide the bytes (and optionally the mime/type and maybe width/height). This decouples the Image rendering from the Image provider, so you can easily plug in whatever charting library you like.

I'll mail a copy of the Pixory Image stuff to anyone who wants a copy. Also, if the community would like this contributed to the contrib package, just let me know how to proceed.

regards,

Joseph Panico
[EMAIL PROTECTED]




From: "Schneider, Eric" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Tapestry-developer] charting utilities?
Date: Tue, 21 Jan 2003 14:59:55 -0500

Hi,

I was wondering if anyone has a good suggestion for a Java Charting package
that works well with tapestry.

I've come across a package called JChart (http://jcharts.sourceforge.net)
which seems to be straightforward. The only thing concerning is how well it
will mix with tapestry. All of the examples are servlets that use this
encoder class which basically sets the content type on the http response and
encodes a BufferedImage. The response is nothing except the chart. I'd
actually need the chart to be rendered within a tapestry page, along with
other html.

Anyone have any suggestions on how to approach this?

Thanks in advance,
Eric


**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to