JavaFX in a JSF 2.0 Custom Tag?

Posted by Geertjan on Oracle Blogs See other posts from Oracle Blogs or by Geertjan
Published on Tue, 3 Jul 2012 07:09:33 +0000 Indexed on 2012/07/04 9:21 UTC
Read the original article Hit count: 168

Filed under:

I followed these instructions and now have a simple JSF 2.0 tag handler:

The reason I created this is because I'm curious about whether it would be possible to change the tag created above:

<my:hello name="Jack" />

...to something like this:

<my:chart type="pie" xAxis="${some-expression}" yAxis="${some-expression}" width="300" height="500" />

Has anyone tried this? That could be a way to incorporate a JavaFX chart into a Java EE application. That's different to how Adam Bien is doing it in LightFish, but might be a simpler and more reusable way of doing the same thing.

© Oracle Blogs or respective owner

Related posts about /NetBeans IDE