Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

MacLeod7222
MacLeod7222
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
5

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by MacLeod7222
Customize the badges you want to showcase on your profile
Re: Question about embedding flex portlets in WLP - Adobe LiveCycle 24-08-2010
Below is what I've tried. Also, not sure if it matters that the Flex app is embedded in a WLP portlet.In my mxml file I added: ExternalInterface.addCallback("setEntityId", setEntityId);In my wrapper jsp I added: AC_FL_RunContent( "src", "<%= srcPath %>", "id", "<%= (String)request.getAttribute("portlet_name") %>", "name", "<%= (String)request.getAttribute("portlet_name") %>", "width", "<%= request.getAttribute("width") %>", "height", "<%= request.getAttribute("height") %>", "align", "middle", "quality", "high", "FlashVars", "PORTLET_WS=<%= request.getAttribute("window_state")%><%= wsrpEncodedChannel %>", "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer"); function getFlexApp(appName) { //alert("getFlexApp"); if (navigator.appName.indexOf("Microsoft") != -1) { return window[appName]; } else { return document[appName]; } }getFlexApp('IncList').setEntityId('xxx');

Views

140

Likes

0

Replies

0