Universal Wrapper
The Universal Wrapper component uses the <fiji:swf> tag to implement its functionality. The Universal Wrapper component allows you to embed any flash object by simply specifying the path to it.

There are some key features of the Universal Wrapper component:

  • Flex module into JSF page insertion - simply insertion Flex module without <object>, <embed> elements
  • Data definition without string forming - using <f:param> tag for passing data to the Flex module
  • Data binding with JSF EL-expression
  • Data serialization - possibility to pass complex data to the Flex module (for example, bean serialization)
  • Using <fiji:endPoint>

In the following example the Universal Wrapper component simply embed Flash pie chart using "src" attribute. All the parameters for the embedded ampie.swf file are passed with the help of the <f:param> tags.

Universal Wrapper for ampie.swf

Note: In this demo static files used only in order to show amchart basic example which uses this way of initialization. JSF value bindings shown at corresponding demos(endPoint for example).