Tuesday Jul 03, 2012

JavaFX in a JSF 2.0 Custom Tag?

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.

About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« July 2012 »
SunMonTueWedThuFriSat
14
28
29
30
31
    
       
Today