You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@attbi.com on 2003/01/21 22:32:50 UTC
Re: [Tapestry-developer] charting utilities?
Little perplexed by your comment; if the Image required a string path then it
would be broken. The fact that it makes use of the IAsset abstraction which
is *exactly* the separation between Image component and source of image data
that's cool. What's needed isn't a new Image, but new implementations of
IAsset.
--
hlship@attbi.com
http://tapestry.sf.net
> 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
> joe_panico@hotmail.com
>
>
>
>
> >From: "Schneider, Eric" <es...@tiaa-cref.org>
> >To: tapestry-developer@lists.sourceforge.net
> >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
> >Tapestry-developer@lists.sourceforge.net
> >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
> Tapestry-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer