And I blogged about putting a YUI widget into a JSF 2.0 composite
component, here:
http://weblogs.java.net/blog/2009/08/09/making-yui-calendar-component-jsf2
I imagine a chart would quite possibly be harder, though - especially if
you're going to use bean binding. Jason's example (which I haven't
reviewed) uses a Java-based, 1.2 component, and may in fact be the way
to go for 2.0 charting as well.
As for file upload - that's a Servlet feature. I'm pretty sure it made
it into Servlet 3.0.
Jim
On 9/4/09 9:58 AM, Jason Lee wrote:
> For what it's worth, I've wrapped the YUI charts in a JSF component.
> It's currently a 1.2 component, but works fine in a 2.0 environment:
>
> http://kenai.com/projects/scales/pages/Chart
> http://www.jsftemplating.org/mojarra-scales-demo/chart.jsf?
>
> On Sep 4, 2009, at 11:55 AM, lincolnbaxter_at_gmail.com
> <mailto:lincolnbaxter_at_gmail.com> wrote:
>
>> I'd personally recommend open flash chart. JFreeChart is more meant
>> for desktop apps, I believe?
>>
>> Otherwise I have no experience with it.
>> ------Original Message------
>> From: webtier_at_javadesktop.org <mailto:webtier_at_javadesktop.org>
>> To: webtier_at_glassfish.dev.java.net <mailto:webtier_at_glassfish.dev.java.net>
>> ReplyTo: webtier_at_glassfish.dev.java.net
>> <mailto:webtier_at_glassfish.dev.java.net>
>> Subject: [webtier] Integrating chart generation engine into JSF 2.0
>> Sent: Sep 4, 2009 12:41
>>
>> I'd like to integrate JFreeChart as a JSF component in a JSF 2.0
>> application.
>> I looked at http://sourceforge.net/projects/jsf-comp/ (chartcreator
>> component) which does this for JSF 1.2.
>> I would like to know if some features of JSF 2.0 made it simplier or
>> if there are now some proper ways to do it,
>> please, let me know if you have any suggestions (may be jsf resources
>> or something) . I'm afraid to miss some important feature and create
>> something ugly because of that.
>>
>> First I had an impression that JSF 2.0 would really help but now I'm
>> in doubt.
>>
>> I would also like to know if there's now a proper way to upload files
>> (which seem a reflection of this task),
>> but this is quite secondary to me.
>> [Message sent by forum member 'nzinoviev' (nikita.zinoviev_at_sun.com
>> <mailto:nikita.zinoviev_at_sun.com>)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=362979
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>
>>
>>
>> Sent from my Verizon Wireless BlackBerry
>
> <http://www.java.com> * Jason Lee *
> Senior Java Developer
> GlassFish Administration Console
>
> *Sun Microsystems, Inc.*
> Phone x31197/+1 405-343-1964
> Email jasondlee_at_sun.com <mailto:jasondlee_at_sun.com>
> Blog http://blogs.sun.com/jasondlee
> Blog http://blogs.steeplesoft.com
>
>