This content has been marked as final. Show 2 replies
When I run your example I get:
1 error(s) found in /jsptags/test.jsp
(8) The mxml tag does not have a border attribute
Trying without that attribute renders the page correctly.
Please make sure you follow the steps in http://labs.adobe.com/wiki/index.php/Flex_2_Tag_Library_for_JSP, especially the part about installing Flex™ Data Services 2.0.1.
The trial site contains the name "Flex Data Services 2 Express", but what you download is in fact the 2.0.1 update.
When I run the same example. The SWF file does NOT appear on the web browser page... The SWF file ends is in the same directory as the JSP page but with a prefix jsp - "jspD8EC0BCD9A4D23EB6C948017D558429D.swf"
Extract from source code of resulting JSP :
<object id='D8EC0BCD9A4D23EB6C948017D558429D' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase=' http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=9,0,0,0' height='100%' width='100%'>
<param name='flashvars' value=''/>
<param name='src' value='/XXXX/jsp/webstore/D8EC0BCD9A4D23EB6C948017D558429D.mxml.swf'/>
<embed name='D8EC0BCD9A4D23EB6C948017D558429D' pluginspage=' http://www.adobe.com/go/getflashplayer' src='/XXXX/jsp/webstore/D8EC0BCD9A4D23EB6C948017D558429D.mxml.swf' height='100%' width='100%' flashvars=''/>
By removing the "jsp" prefix from the SWF file. Then manually editing the code above on a static html page + removing the "mxml" part of the filename (D8EC0BCD9A4D23EB6C948017D558429D.mxml.swf) - it works
How can I get this to dynamically work so that SWF file appears in the web browser page?