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

99

Likes

0

Replies

0
Re: Question about embedding flex portlets in WLP - Adobe LiveCycle 23-08-2010
I have one more question for you.I'm trying to have my portlets javascript function make a call to the embedded flex apps callback method. I've tried a couple different ways but none seemed to work. How would I make a call to the Flex callback method from the wrapper's JavaScript? 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");

Views

93

Likes

0

Replies

0
Re: Question about embedding flex portlets in WLP - Adobe LiveCycle 20-08-2010
Rohit, Thanks, setting view_jsp as a portlet pereference instead of an init-param worked. Can you tell me where you found this information? All the info I've found says to set the view_jsp as an init param.Thanks again for your helpDan

Views

96

Likes

0

Replies

0
Re: Question about embedding flex portlets in WLP - Adobe LiveCycle 20-08-2010
I'll give it a try but I'd like to know why you're suggesting that approach. I found one example of setting the view_jsp and it's set as an init-param. Should it be a pereference instead?thanksDan

Views

96

Likes

0

Replies

0
Question about embedding flex portlets in WLP - Adobe LiveCycle 18-08-2010
I need to use a different wrapper jsp other then portlet-view.jsp The LiveCyle documents states I need to set the "view_jsp" attribute to my jsp that is located in the wsrp-jsp folder. I updated my portlet.xml file with the following code: view_jsp /wsrp-jsp/test-view.jsp The portlet cannot find the test-view.jsp. My wsrp-jsp folder is at the root of my web content. Is there something else that needs to be set?thanksDanWLP 103.2ES 2.6.1

Views

1.2K

Likes

0

Replies

8