0 Replies Latest reply on Nov 27, 2009 7:32 AM by mahesh_582

    Flex with jsf Application

    mahesh_582 Level 1

      Hi

       

        I am new to flex and i have a knowledge on jsf .We got a requriment to integrate the flex with jsf .

       

        I googled and i developed the sample application using the fiji (Exadel ) .

       

        When i an running the application in the jboss I GOT EMPTY page then after deselecting the check box of 'blockjavascript' in the browser

       

        am able to see the swf file in the page

       

       

       

      can any one help me..

       

       

       

      My Project

       

       

       

      The   mxml
              --------

       

      <?xml version="1.0" encoding="utf-8"?>

       

       

       

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="1024" height="715" xmlns:ns1="*">

       

       

       

      <mx:Form x="22" y="47" width="1200" height="680">

       

       

       

      ......................

       

       

       

      </mx:Form>

       

       

       

         <mx:Button x="22" y="5" label="This is Prapansolution" width="280"/>

       

       

       

      </mx:Application>

       

       

       

       

       

      The .jsp

       

       

       

            ------

       

       

       

             <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"

       

       

       

                xmlns:f="http://java.sun.com/jsf/core"

       

       

       

                xmlns:h="http://java.sun.com/jsf/html"

       

       

       

                xmlns:fiji="http://exadel.com/fiji"

       

       

       

                xmlns:a4j="http://richfaces.org/a4j"

       

       

       

                xmlns:rich="http://richfaces.org/rich"

       

       

       

                xmlns:ui="http://java.sun.com/jsf/facelets"

       

       

       

                 version="2.0">

       

       

       

               <f:view><h:form id="myForm">

       

       

       

                <fiji:swf src="/faces/FirstFlexApp.swf" id="demonew"  bgcolor="#FFFFFF" width="820" height="480">

       

       

       

                <f:param name="text1" value="Hello" />

       

       

       

               </fiji:swf> </h:form></f:view>