0 Replies Latest reply on Apr 27, 2008 9:07 AM by Phil Haigh

    Richfaces 3.2.0.SR1 interferes with swfobject

    Phil Haigh Novice

      Hi,

      I have been using SWFObject to render flash files on my application for a while. Whilst using RichFaces 3.1.4, this worked fine.

      However, upgrading to 3.2.0.SR1 breaks the insert:

      <script type="text/javascript">
      // <![CDATA[
       var flashvars = {};
       flashvars.slideshowid = "#{destination.slideshow.id}";
      
       var params = {};
       params.wmode = "transparent";
      
       var attributes = {};
       attributes.id = "dynslideshow";
       swfobject.embedSWF("slideshow.swf", "flashcontent", "560", "208", "7.0.0", false, flashvars, params, attributes);
      // ]]>
      </script>



      No longer passes the flashvar variable (slideshowid = #{destination.slideshow.id}).

      Rolling back to 3.1.4 removes the issue. What might be the cause (and workaround) for it failing with 3.2.0.SR1?

      cheers

      phil