JavaFX as JSF components

As an extension to Fiji, we have wrapped JavaFX widgets as JSF components. Here are two screen shots of a chart and video player widgets (note: this is still only an internal project).

screenshot_069

Page code:

<fiji:javaFx applicationClass="com.exadel.fiji.Chart" 
   archive="/javafx/helloJfx.jar" 
   bgcolor="#FFFFFF" 
   draggable="true" 
   height="420" 
   name="BarChartExample" width="580">
</fiji:javaFx>

screenshot_070

Page code:

<fiji:javaFx applicationClass="com.exadel.fiji.VideoPlayer" 
   archive="/javafx/helloJfx.jar" 
   bgcolor="#FFFFFF" 
   draggable="true"  
   height="400" 
   name="JavaFXVideoPlayer" 
   width="640">
       <f:param name="movie" value="#{bean.movie}"/>
</fiji:javaFx>

16 comments

  1. António Oliveira

    Hello Maxa.

    Im very interested in fiji with supporrt for javafx. Its possible send me a libs, i need this solution for my jobs, if you cant send the libs i understand, so tell me another solution.

    M@X@ Tks 4 all.

    Regards

  2. Pingback: Java desktop links of the week, December 28 | Jonathan Giles
  3. Pingback: JavaFX links of the week, December 28 // JavaFX News, Demos and Insight // FX Experience
  4. Pingback: Exadel Fiji: new forum, issue tracker, JavaFX support, open source soon | Maxa Blog
  5. giftsam

    Awesome charts. I made this worked in Tomcat. But if I used Sun Glassfish means the charts are not displayed. I tried to resolve this problem by replacing the jsf-impl.jar in the Sun Glassfish Library. If I did this, the charts are showed but I am getting some campatability issues with richfaces components(a4j:support is not working). Please help to resolve this problem.
    Thanks!!

  6. giftsam

    I could display all the available charts, (Column Chart, Stacked Column Chart, Bar Chart, Stacked Bar Chart, Line Chart). My JSF version is 1.2 and my Richfaces Version is 3.3.1.GA. The replaced JSF jar in Sun Glassfish is the jar comes along with fiji-1.0.0-release. I did this by following the link http://groups.google.com/group/exadel-fiji-discussion/browse_thread/thread/e9cec52ef153195b/4c18e271a9004313?lnk=gst&q=glassfish#4c18e271a9004313 . What should I do if I want to make the Fiji charts to display in Sun Glassfish. Please give your valuable suggestions.

  7. giftsam

    Hi Max, Thanks for your reply. I had resolved the problem, the flaw is from my side only. I had added the jsfapi.jar in the SunGlassfish lib folder, but failed to update the java-config element in domain.xml with ‘classpath-prefix=”${com.sun.aas.installRoot}/lib/jsf-api.jar”. Once Again thanks!!

Leave a Reply