My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: jsf, flex, myfaces, mojarra
Feeds:
Groups:
People details
Project owners:
  JihoonKim1004

Abstract

JSF Flex goal is to provide users capability in creating standard Flex components as JSF components {note dynamic charts and some other components are not part of standard Flex components}. So users would create the components as normal JSF components and the project will create the necessary MXML, SWC, SWF files and etcetera and link the values of the components back to the managed beans using JSON+Javascript and Actionscript. {standard Flex components have been open sourced through MPL license}. Also MXML_BASIC renderKitId allows utilizing other renderKits within the same view {i.e. HTML_BASIC}, allowing mix of JSF Flex components and other components such as standard HTML components. If you are curious of how the code is implemented, you can check out the following Wiki page which contains a brief overview : JSFFlexProcess. There exists various configuration fields that can be set within web.xml, but one noteworthy field is com.googlecode.jsfFlex.MODE.

The project aim is to support the following JSF implementations {bold faced are currently supported} :

Following is a Wiki page containing info of JSF Flex project's Maven repo which has been created on April 18th, 2009 : JsfFlexMavenRepo.

Recent changes for current Download artifact 1.0 BETA are :

For a first NON BETA release 1.5 there will be support for :

For the next major Beta artifact 2.0 BETA release there will be support for :

There exists a screen shot of an example .jsf at the bottom of this page and below are URLs for the latest SNAPSHOT Downloads :

View HandlerMojarra URLMyfaces URL
JSPhttp://localhost:8080/jsf-flex-examples-mojarra12Impl-1.0b/mxmlIndex.jsfhttp://localhost:8080/jsf-flex-examples-myfaces12Impl-1.0b/mxmlIndex.jsf
Facelet using XHTMLhttp://localhost:8080/jsf-flex-examples-mojarra12Impl-1.0b/faces/mxmlIndex.xhtmlhttp://localhost:8080/jsf-flex-examples-myfaces12Impl-1.0b/faces/mxmlIndex.xhtml

Quick Start

Following Wiki page contains info in importing the example WAR file and adding the project's Jar artifacts to a new Dynamic Web Project => QuickStart.

Since following information is so critical, it is being duplicated within the home page. When one is finished tweaking of creating the components/tags, one MUST change the com.googlecode.jsfFlex.MODE field within web.xml to productionMode to avoid the cost of creating preMxml, Mxml, Swf, and etceteras. Also one should copy all the system generated directories under Webcontent/swf/* to their corresponding directory within the Workspace during the move to higher env {since the system uses servContext.getRealPath("") as the root directory of preMxml, MXML, and SWF directory and}

Testing Performed

Brief testing has been performed using Sun's JVM as JAVA_HOME :

Operating System Browser Tested Application Server Tested
Windows XP Firefox 2.0 , IE 6.0, Opera 9.25 TomCat 6.0, JBoss 4.2
Linux TODO TODO
Mac TODO TODO

Roadmap

Please refer to the following wiki page for information regarding what is planed for support within release 1.0 BETA => RoadMap.

Meritocracy

The projects plans to do everything possible to encourage an environment that supports a meritocracy. Meaning any developer/member who has contributed dearly to the project and knows of the project's design will be promoted to an owner status.

Rationale

With the Web 2.0 technology flourishing within the web world, this would be a great opportunity in creating a project and bridging technologies such as Adobe Flex with JSF.

Specifically the project will provide :

  1. Easy creation of standard Flex applications while preserving the ease of databinding to legacy systems through JSF
  2. An alternative to purchasing Flexbuilder when creating simple Flex applications









Hosted by Google Code