Flash in a portlet

I have an html portlet with a flash file embeded in the html, but when I try to load the portlet it looks for the flash file in the http:\\portalserver\portal\ directory instead of on the portlet server. The swf file and html file are in the same directory on the portlet server. Anybody have any ideas?
Berney

// This exact code works in both ALUI 6.1 (.net 1) and 6.5 (.net 2) w/ no changes necessary
using System;
using com.plumtree.openfoundation.util;
using com.plumtree.portaluiinfrastructure.tags;
using com.plumtree.portaluiinfrastructure.tags.metadata;
using com.plumtree.server;
using com.plumtree.uiinfrastructure.constants;
using com.plumtree.xpshared.htmlelements;
using com.plumtree.openlog;
using com.plumtree.openkernel.config;     // PortalObjectsFactory - GetAdminSession()
using com.plumtree.xpshared.config;          // ConfigPathResolver     - GetAdminSession()
using com.plumtree.openkernel.factory; // OKConfigFactory          - GetAdminSession()
using com.plumtree.openfoundation.web; // IXPRequest
using System.Text;
using com.plumtree.uiinfrastructure.activityspace; // ActivitySpace
using com.plumtree.portalpages.common.uiparts;          // NavigationModel
using ConfigHelper = com.plumtree.uiinfrastructure.statichelpers.ConfigHelper;
namespace FooCustomTags.src.com.Foo.taglib
public class FlashTag : ATag
public FlashTag() : base()
public static readonly ITagMetaData TAG;
public static readonly RequiredTagAttribute FILENAME;
public static readonly RequiredTagAttribute ISRVRPATH;
public static readonly RequiredTagAttribute HEIGHT;
public static readonly RequiredTagAttribute WIDTH;
public static readonly OptionalTagAttribute RESTRICTTOCOMMID;
public static readonly OptionalTagAttribute PLAY;
public static readonly OptionalTagAttribute LOOP;
public static readonly OptionalTagAttribute QUALITY;
public static readonly OptionalTagAttribute WMODE;
public static readonly OptionalTagAttribute SCALE;
public static readonly OptionalTagAttribute BGCOLOR;
private static OpenLogger log = OpenLogService.GetLogger("FooCustomTags","FlashTag");
static FlashTag()
TAG = new TagMetaData("flashtag", "This tag displays EOD properties for the current user.");
FILENAME = new RequiredTagAttribute("filename", "filename.swf",AttributeType.STRING);
ISRVRPATH = new RequiredTagAttribute("isrvrpath", "everything after isrvr.com/is/ and before /myfile.swf; e.g. CustomImages/FOO",AttributeType.STRING);
HEIGHT = new RequiredTagAttribute("height", "movie height",AttributeType.INT);
WIDTH = new RequiredTagAttribute("width", "movie width",AttributeType.INT);
RESTRICTTOCOMMID = new OptionalTagAttribute("restricttocommid","render tag only on this community; great for single header optimazation when only need flash on home page", AttributeType.INT, "0");
PLAY = new OptionalTagAttribute("play","swf param attribute", AttributeType.STRING, "True");
LOOP = new OptionalTagAttribute("loop","swf param attribute", AttributeType.STRING, "False");
QUALITY = new OptionalTagAttribute("quality","swf param attribute", AttributeType.STRING, "autohigh");
WMODE = new OptionalTagAttribute("wmode","swf param attribute", AttributeType.STRING, "opaque");
SCALE = new OptionalTagAttribute("scale","swf param attribute", AttributeType.STRING, "");
BGCOLOR = new OptionalTagAttribute("bgcolor","swf param attribute", AttributeType.STRING, "#");
/// <seealso cref="com.plumtree.portaluiinfrastructure.tags.ATag#DisplayTag()"></seealso>
public override HTMLElement DisplayTag()
string fileName = GetTagAttributeAsString(FILENAME);
string isrvrPath = GetTagAttributeAsString(ISRVRPATH);
int height = GetTagAttributeAsInt(HEIGHT);
int width = GetTagAttributeAsInt(WIDTH);
int restrictToCommId = GetTagAttributeAsInt(RESTRICTTOCOMMID);
string strShowThis = string.Empty;
string swfPLAY = GetTagAttributeAsString(PLAY);
string swfLOOP = GetTagAttributeAsString(LOOP);
string swfQUALITY = GetTagAttributeAsString(QUALITY);
string swfWMODE = GetTagAttributeAsString(WMODE);
string swfSCALE = GetTagAttributeAsString(SCALE);
string swfBGCOLOR = GetTagAttributeAsString(BGCOLOR);
AActivitySpace m_asOwner = (AActivitySpace) this.GetEnvironment();
NavigationModel navModel = (NavigationModel) m_asOwner.GetModel(NavigationModel.STR_MVC_CLASS_NAME);
if(restrictToCommId == 0 || restrictToCommId == navModel.GetCurCommunityID())
StringBuilder sb = new StringBuilder();
string[] httpFix = ConfigHelper.GetImageServerBaseURL(m_asOwner).Split('/');
log.Debug(httpFix[0] + ", " + isrvrPath + "/" + fileName + "; " + height + "x" + width);
string imgUrl = ConfigHelper.GetImageServerBaseURL(m_asOwner).Replace("plumtree",isrvrPath);
sb.Append("<object CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ");
sb.Append("WIDTH=\"" + width + "\" ");
sb.Append("HEIGHT=\"" + height + "\" ");
sb.Append("codebase=\"");
sb.Append(httpFix[0] + "//active.macromedia.com/flash3/cabs/swflash.cab#version=3,0,0,0\" id=\"ShockwaveFlash1\">");
sb.Append("<param name=\"MOVIE\" ");
sb.Append("value=\"" + imgUrl + fileName + "\">");
sb.Append("<param name=\"PLAY\" value=\"" + swfPLAY + "\">");
sb.Append("<param name=\"BGCOLOR\" value=\"" + swfBGCOLOR + "\">");
sb.Append("<param name=\"LOOP\" value=\"" + swfLOOP + "\">");
sb.Append("<param name=\"QUALITY\" value=\"" + swfQUALITY + "\">");
sb.Append("<param name=\"SCALE\" value=\"" + swfSCALE + "\">");
sb.Append("<param name=\"WMODE\" value=\"" + swfWMODE + "\">");
sb.Append("<embed SRC=\"" + imgUrl + fileName + "\" ");
sb.Append("WIDTH=\"" + width + "\" ");
sb.Append("HEIGHT=\"" + height + "\" ");
sb.Append("PLAY=\"" + swfPLAY + "\" ");
sb.Append("BGCOLOR=\"" + swfBGCOLOR + "\" ");
sb.Append("PLUGINSPAGE=\"" + httpFix[0] + "//www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version=ShockwaveFlash\">");
sb.Append("</object>");
strShowThis = sb.ToString();
HTMLElementCollection result = new HTMLElementCollection();
result.AddInnerHTMLString(strShowThis);
return result;
#region interface stubs
/// <seealso cref="com.plumtree.portaluiinfrastructure.tags.ATag#GetTagType()"></seealso>
public override TagType GetTagType()
// This tag does not display any of the HTML inside the tag,
// and must be used as a singleton tag.
return TagType.NO_BODY;
/// <seealso cref="com.plumtree.portaluiinfrastructure.tags.ATag#SupportsAccessStyle(AccessStyles)"></seealso>
public override bool SupportsAccessStyle(AccessStyles _style)
// This tag does not display any JavaScript, and therefore
// supports all access styles.
return true;
/// <seealso cref="com.plumtree.portaluiinfrastructure.tags.ATag#Create()"></seealso>
public override ATag Create()
return new FlashTag();
#endregion
Edited by: tjannotta on Nov 17, 2009 8:58 AM
I replaced our company namespace info, etc. w/ 'foo'. Replace or strip out as you see fit!
Check out my post higher up on this page for attribute instructions and example implementation

Similar Messages

  • Accessing Flash in a portlet

    hi all,
    I need to acess a flash file in a portlet.I am able to do that using <iframe> tag in mine .aspx . Is this possible to add flash file in other way. can i access .swf file directly from a portlet.
    regards
    Vineet

    hi all,
    I need to acess a flash file in a portlet.I am able to do that using <iframe> tag in mine .aspx . Is this possible to add flash file in other way. can i access .swf file directly from a portlet.
    regards
    Vineet

  • Flash Portlets

    I am working on a proof of concept to determine whether using Flash to develop portlets is a feasible idea.  One immediate roadblock I have noticed is that when I try to load several portlets (HelloWorld-like complexity / about 40KB) in my portal, they all take about 10 seconds to initalize.  If it matters, I am using LifeRay and have run with Flash 10.3 and 10.2 on several different browsers.  So my questions:  Has anyone tried creating and running several Flash portlets at once?  Is this kind of slow initialization speed expected?  Any suggestions on how to speed up initialization?  Is loading up several Flash Players at once advisable?

    This is an issue with the portlet generation utility. there are 2 work arounds (well maybe 3):
    1) unpack the war file and edit the XCelsiusPortletView.jsp file found in the xcelsiusportlet\jsp\html\ folder. you'll find that the height and width is set in that file by an environment variable that doesn't exist. therefore you have to hardcode it yourself and repack the war file.
    2) forget the portlet generation utility and use websphere portlet factory
    another 3rd option is to create an html page with an iframe and then create a portlet importing the html document (again using portlet factory). this really only works if it's a full page portlet.
    we've tried and used all 3 approaches depending on the need and they all work.

  • Using Flash in porlets

    Hi,
    I created one portlet and assigned to a remote server. the remote server pointing to jsp which displays the flash movie.
    i am able to play the flash movie if i access the jsp directly from the web server, but i am not able to see the flash movie if i access through portlet.
    Could anyone explains how to use flash with ALUI portlets.
    Lokes

    The transformer does not know how to transform URLs within swf files. It understands HTML, Javascript, etc..., but not swf. Therefore, if your flash file contains URLs that point back to a local directory, those URLs will not work, because the browser won't have access to that location. Therefore, you'll want to use your swf file untransformed by putting it someplace (like the imageserver) that's directly visible to the browser.
    -- Don

  • What is possible (And how to get there) ?

    Hello my friends,
    I am very curious about the possibilities of Portal 3.0. Especially concerned about design. So please let me have a peek on Your work with Portal 3.0. If it is online and public.
    I am working with Portal 3.0 for the first time and I am disappointed about the small amount of features to change the look and feel in an individal way.
    If You could give my a brief advisory how You got there, my eternal acknowledgment would be Yours.
    I am looking forward for any replay,
    Yours
    Martin Petersen

    *** Apologies in advance for the shameless plug. But I'm proud of the professional look that our designers have been able to achieve using the Portal product. ***
    Martin,
    Oracle Portal has historically had its graphic design limitations, trading flexibility for "ease-of-use." However, the product has rapidly evolved into more of both a flexible and powerful design environment.
    You can accomplish most of your design goals by developing custom design templates, creating html and dynamic page portlets (preferred), and referencing css style sheets within these portlets. We have made effective use of Flash within these portlets to draw the eye to critical information.
    When displaying custom data from your Oracle database, use custom SQL reports whenever possible. You can use the layout tab to embed your own html and give the data your desired look.
    We currently have a "portal of portals" that allows us to offer the same core functionality to each of our clients, and at the same time give each a custom look-and-feel. To achieve this architecture, we made extensive use of relative file/path references throughout our baseline portal. We use this portal to create a new instance of Oracle Portal for each client.
    Please contact me via e-mail and we can arrange a walk-through of what we have accomplished for some of our Global 1000 clients.
    Best,
    Jay
    [email protected]

  • Losing portal context when URL is submitted from flash/flex portlet

    Hi, I am losing portal context when URL is submitted from action scripting in Flash/Flex portlet. I have selected the remote webservice portlet to use inline refresh. The jsp page is opening up in complete browser window instead of showing in portlet section.
    below is the code snippet i am using.
    <mm:mxml>
         <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="200">
         <mx:Script><![CDATA[
         public function submitToBrowser():void {
         var url:String = "formsubmit.jsp";
         var u:URLRequest = new URLRequest();
         var variables:URLVariables = new URLVariables();     
         variables.name = fName.text;     
         u.data = variables;
         u.url = url;
         u.method = "POST";
         navigateToURL(u,"_self");
         ]]></mx:Script>
              <mx:Form id="myForm" defaultButton="{mySubmitButton}">
              <mx:FormItem label="User Name">
              <mx:TextInput id="fName" name="fName"/>
              </mx:FormItem>
              <mx:FormItem label="Password">
              <mx:TextInput id="password" displayAsPassword="true"/>
              </mx:FormItem>
              <mx:FormItem>
              <mx:Button label="Submit" id="mySubmitButton"
              click="submitToBrowser();"/>
              </mx:FormItem>
              </mx:Form>
         </mx:Application>
    </mm:mxml>

    inline refresh modifies javascript, not flex. Maybe try an iframe?

  • Html portlet to display Flash  -  Problem

    Hi
    I have created a HTML Portlet ,and the html consists of one flash (swf file).
    Iam running that portlet on weblogic 9.2.
    But the flash is not displaying in the browser.
    Please Suggest
    Srinivas

    Thanks for your help. I am trying to do it but it's still not working.
    Check this out, just by glancing at the below code, do you think that flash is able to read it? I read in the help that it's only capable of a few tags. Basically I am trying to put this code into a page to display:
    <object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/hubnut/?user_id=matttstubbs&color=00adef&background=000000&fullscreen=1&s lideshow=0&stream=videos&id=&server=vimeo.com">    <param name="quality" value="best" />        <param name="allowfullscreen" value="true" />        <param name="allowscriptaccess" value="always" />    <param name="scale" value="showAll" />    <param name="movie" value="http://vimeo.com/hubnut/?user_id=matttstubbs&color=00adef&background=000000&fullscreen=1&s lideshow=0&stream=videos&id=&server=vimeo.com" /></object><br /><br />I put <a href="http://vimeo.com/matttstubbs/videos">videos I create</a> on Vimeo. You can see <a href="http://vimeo.com/matttstubbs">my profile</a>.
    Thanks.
    -Mattt.

  • Flash File not Able to Display using ADF Trinidad components..

    Hi All,
    I am trying to display a flash file using ADF trinidad component for one our project but not able to display when embeded inside the code.
    However I am able to directly access the flash file using http://localhost:7101/test/pages/test.swf
    The below Object code is included inside the tr:panelHorizontalLayout tag. I also tried using tr:media but doesnt display anything on the browser.
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
    <param name="allowScriptAccess" value="sameDomain"/>
    <param name="allowFullScreen" value="false"/>
    <param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
    <param name="quality" value="high"/>
    <param name="bgcolor" value="#ffffff"/>
    <embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
    </object>-->
    Thanks
    Chetan

    Hi Ramandeep,
    I tried that option early but did not work. Not able to understand why.
    Below is the code snippet.
    <tr:panelGroupLayout layout="vertical">
    <tr:panelHorizontalLayout>
    <!--Some Portlets are added-->
    <f:verbatim>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
    <param name="allowScriptAccess" value="sameDomain"/>
    <param name="allowFullScreen" value="false"/>
    <param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
    <param name="quality" value="high"/>
    <param name="bgcolor" value="#ffffff"/>
    <embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
    </object>
    </f:verbatim>
    </tr:panelHorizontalLayout>
    </tr:panelGroupLayout>
    And as I mentioned it works fine when I directly access the flash file by using http://localhost:7101/test/pages/test.swf.
    Thanks
    Chetan

  • Flash in portal page not working correctly

    I have two .swf movies. One .swf file is dependant on the other. e.g A.swf is dependent on B.swf. I embed A.swf in the HTML portlet. But B.swf is not being reflected only content specific to A.swf is being shown. I checked the same code deploying it on my midtier app. server and JDev and it works fine. But inside the portal page it doesn't work correctly. I placed both A.swf abd B.swf in htdoc folder and used http://localhost/A.swf and it works fine. It's only that when I use it in the portal page it doesn't work correctly. Any ideas what might be a problem. Thanks

    Hi,
    I guess, either i did not put my point across correctly or i have not understood your situation completely...
    My Understanding:
    File A depends on File B, so meaning that File A must be loading up File B internally (via dependency reference). If this is the case, then the dependancy reference is relative .. Not absolute. Meaning...
    <root_dir>
      |--> File A
      |--> File BSo, now A expects B to be available in the same directory as its origin. Translated to the web-page, it expects File B to be available at the same <browser_url> (note, not the url from where File A has originated).
    So, the solution is to make A refer to B via a direct URL. I am not sure how you do it in the flash object tags.
    thanks,
    Harsha

  • Firefox Embedded Flash swf not shown in asynchronous desktop

    Hi all,
    in a jsp I embed a binary property of a content node that includes a flash .swf file. All that in an asynchronous desktop, using Firefox.
    I use the follwing code:
    "<embed scale="exactfit" quality="high" menu="false" width="600" height="400" hswLiveConnect="false" src="<%=myPropertyUrl%>">
    When the page is loaded by "normal" browser request, the flash animation inside the jsp renders as expected. After click on an url (<a> ....</a>) inside the same JSP the portlet content refreshes (via Ajax request), only the flash disappears. After F5 it's back agian.
    The problem does not exist with IE!
    How do i need to handle this for Firefox?
    Thanks for help.

    Firefox uses the object if there isn't a classid to specify an ActiveX control for IE.<br />
    You didn't specify such a classid (classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"), so there is actually no need for the embed in this case.<br />
    As jscher2000 posted above, an object tag only works in Firefox if there is a data attribute present (copy of the movie param) to specify the Flash file and a possible MIME type.
    <pre><nowiki><object style="width:420px;height:272px" data="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" type="application/x-shockwave-flash" >
    <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v2/IssuuReader.swf" />
    <param name="flashvars" value="mode=mini&amp;backgroundColor=%23222222&amp;documentId=121102153057-a8027186d32d406698ae9cd6ce0305ed" />
    <param name="allowfullscreen" value="true"/>
    <param name="menu" value="false"/>
    <param name="wmode" value="transparent"/>
    </object></nowiki></pre>

  • Error in WebClipping portlet

    I have created a webclipping portlet using jdeveloper 10.1.3.3. After I enter the
    url location in the webclipping portlet it throws the following error
    An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-514 -- Get status code 500 to URL http://www.google.com by method get
    Can anyone tell me what is the reason of this error?
    I have set the proxy settings in the provider.xml. Can anyone tell me how to resolve
    this error?

    this is site specific observation. should be able to get it working with any other website.
    you could face similar issues Websites using super heavy javascripts, flash components.

  • How to create a home page (with flash images) in Oracle Portal  10g

    Hi,
    I want to create a home page in Oracle Portal 10g using flash images.
    How to create all those things ?
    Weather it should be created in pages or pagegroups or HTML portlet / some other.
    please help me.

    You can find in knowledge exchange a script to create an flash file item type. With this installed you can add a flash file to an item region on a page.
    Grtz,
    Dirk

  • Portlet - Requested Resource is Not Available?

    Hey,
    I'm creating a portlet in jetspeed, and I am hitting a bit of a snag which I don't understand.
    When I try to load up the portlet in question, I get the message:
    The requested resource (/container) is not available
    I am totally stuck. I am 99% sure it has something to do with a problem in my web.xml file, as it is the only spot where I have coded '/container'
    Here is the code for the web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <servlet>
        <!-- Make sure to use the same servlet name here as you do in the
         corresponding servlet mapping. Create one servlet declaration
         for each portlet. -->
        <servlet-name>PortletServlet</servlet-name>
        <!-- Don't change -->
        <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
        <init-param>
          <param-name>MenuSmacklet</param-name>
          <!-- Enter the class that implements the portlet -->
          <param-value>com.adsmack.smacklet.menu.presentation.MenuSmacklet</param-value>
        </init-param>
        <init-param>
          <param-name>portlet-guid</param-name>
          <param-value>menu.MenuSmacklet</param-value>
        </init-param>
      </servlet>
      <servlet>
        <servlet-name>JetspeedContainer</servlet-name>
        <display-name>Jetspeed Container</display-name>
        <description>MVC Servlet for Jetspeed Portlet Applications</description>
        <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
        <init-param>
          <param-name>contextName</param-name>
          <param-value>menu</param-value>
        </init-param>
        <load-on-startup>0</load-on-startup>
      </servlet>
      <!-- Use the same name as in the servlet element -->
      <servlet-mapping>
        <servlet-name>PortletServlet</servlet-name>
        <url-pattern>/MenuSmacklet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>JetspeedContainer</servlet-name>
        <url-pattern>/container/*</url-pattern>
      </servlet-mapping>
      <taglib>
        <taglib-uri>http://java.sun.com/portlet</taglib-uri>
        <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location>
      </taglib>
    </web-app>Any help would be much appreciated. Thank you.

    Strangely... it appears as though the problem is the Flash document in my JSP file...
    <%@ page import = "java.util.*" %>
    <%@ page import = "javax.portlet.RenderRequest" %>
    <%@ page import = "javax.portlet.RenderResponse" %>
    <%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
    <portlet:defineObjects/>
    <% String temp = renderResponse.encodeURL(renderRequest.getContextPath() + "/flash/navbar.swf"); %>     
         <div style="border: 1px solid #FF0000">
         <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="220" id="navbar" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="movie" value="<%= temp %>" />
         <param name="quality" value="high" />
         <param name="wmode" value="transparent" />
         <param name="bgcolor" value="#ffffff" />
         <embed src="<%= temp %>" quality="high" wmode="transparent" bgcolor="#ffffff" width="800" height="220" name="navbar" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
         </object>
         </div>When I take that object out and just put text in, the error is gone and the text displays... does anyone know anything about this?

  • Missing parameters for Exchange Portlet

    In the Exchange Portlet installation document on page 15 under
    Stage 3. Changes to zone.properties
    the line shows
    servlet.exchangeAppProv.initArgs=provider_root=c:\exchange, sessiontimeout=1800000
    it should read
    servlet.exchangeAppProv.initArgs=provider_root=c:\exchange, sessiontimeout=1800000, debuglevel=1
    This will allow the execution of the servlet/exchangeAppProv/ URL and verification of the exchange Portlet Provider configuration
    null

    Yes, I have been using $_REQUEST.
    The test script looks like this:
    <?php
    $latin_name = $_REQUEST['latname'];
    $common_name = $_REQUEST['commname'];
    if ($latin_name == "")
    $latin_name = "Not available";
    $common_name = "Not available";
    $connection = mysql_connect("localhost", "user", "pword") or
    die ("Unable to connect");
    mysql_select_db("balloonflash") or die ("Database not
    found");
    $query = "INSERT INTO species (latName, commName) VALUES
    ('$latin_name', '$common_name')";
    $result = mysql_query($query) or die ("Unable to execute
    query: " . mysql_error());
    mysql_close($connection);
    ?>
    It seems like the script is not triggered at all when I run
    the Flash form from HTML - I don't even get the default values
    entered into the database. Actually, yes I do, my mistake - but the
    variable values are not being passed over.
    The HTML source generated looks like this:
    <OBJECT
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH="291" HEIGHT="234" id="flashForm1" ALIGN="">
    <PARAM NAME=movie VALUE="flashForm1.swf"> <PARAM
    NAME=quality VALUE=high> <PARAM NAME=bgcolor
    VALUE=#66FFFF> <EMBED src="flashForm1.swf" quality=high
    bgcolor=#66FFFF WIDTH="291" HEIGHT="234" NAME="flashForm1" ALIGN=""
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="
    http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    Alan

  • Chart(pie,bar,etc) not displayed in BI portlet

    Hi,
    I deployed one BI ReportUI portlet on a web center server successfully. But giving the report path as "/shared/myport/custInfo", the table displays properly but the charts not!
    I find that all charts are flash movies. How can I enable the chart flash movies running in portlet on webcenter server?
    Any help is appreciated. Thanks.
    regards,
    Rongrong

    The issue is solved now by deploying the Webcenter application on the same OC4J server with Business Intelligence Report Portlet.
    regards,
    Rongrong

Maybe you are looking for