Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Embedding Flex component in JSF 2.0  RSS feed

rajarshi roy
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to JSF.
I am facing certain problems with embedding Flex components in JSF 2.0 pages.
I had followed the following guide to do this :
Oracle guide

I was able to call the Flex page successfully from the template xhtml page.
But I get the following error in the internet explorer while trying to run the page where the composite component in being called :
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Sun, 5 Feb 2012 08:34:16 UTC

Message: Invalid argument.
Line: 565
Char: 5
Code: 0
URI: http://localhost:8080/DemoProject/resources/demo/swfobject.js

I am using Eclipse Indigo version with Tomcat 7.
I had manually created the resources folder inside WebContent and demo folder inside resources and rest settings are default.
Please find the code of the custom component below :

This page runs properly.

Please find the code of the index page below :

This is where I get the error.Kindly help.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!