Here can you see the exadel jsf flex demos or read more about Fiji at the Exadel product page .
Fiji options
1) use f:param to pass values to the flex application
2) use HTTPService to retrieve any value of a backing bean method.
3) use DataService to retrieve the result using AMF format.
4) Invoking Ajax Request to send events to other parts of the jsf page.
5) Access to the flex api from the jsf page
6) New Flex Charts components in JSF without making a flex application
A little example
You can pass parameters to the flex application. Just use f:param and el
<fiji:swf src="/simpleHello/simpleHello.swf" id="simpleHello"
bgcolor="#FFFFFF" width="320" height="180">
<f:param name="userName" value="#{bean.simpleHelloUserName}" />
</fiji:swf>
And retrieve the parameters in Flex just use Application.application.parameters.userName
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Form x="22" y="10" width="280">
<mx:Label id="userName" styleName="text" text="{Application.application.parameters.userName}" />
</mx:Form>
</mx:Application>
Thanks for the post Edwin, you're saving me a lot of time doing research on how other technologies are integrating with JSF, ADF etc. Good stuff! :)
ReplyDeleteFor the record I've indexed your post and others on the Oracle Wiki.
CM.
Thanks Chris,
ReplyDeleteI like to work on the edges of Oracle. It's all about fusion.
I will try to make some flex charts and video applications and integrate them in ADF 10.1.3