Inline rendering with URL provider

Hi,
After registrating my application to a URL provider I can use it as a portlet. But when I try to navigate to a new page within my portlet, this new page is not rendered within the portlet boundaries. I thought the property inlineRendering of the RenderManager would force this.
Does somebody knows how to force inline rendering?
My provider.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<?providerDefinition version="3.1"?>
<provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
<providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
<portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
<id>1</id>
<name>StrutsURLPortlet</name>
<title>Struts URL Portlet</title>
<description>My very nice Struts URL portlet</description>
<timeout>30</timeout>
<timeoutMessage>Struts URL Portlet timed out</timeoutMessage>
<acceptContentType>text/html</acceptContentType>
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
<contentType>text/html</contentType>
<pageUrl>http://dji02:8888/StrutsTest-StrutsTestURL-context-root/</pageUrl>
<filter class="oracle.portal.provider.v2.render.HtmlFilter">
<headerTrimTag>&lt;BODY</headerTrimTag>
<footerTrimTag>/BODY></footerTrimTag>
<convertTarget>true</convertTarget>
<inlineRendering>true</inlineRendering>
</filter>
</showPage>
</renderer>
</portlet>
</provider>

Can you try this provider.xml
<?xml version="1.0" encoding="UTF-8"?>
<?providerDefinition version="3.1"?>
<provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
<providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
<portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
<id>1</id>
<name>StrutsURLPortlet</name>
<title>Struts URL Portlet</title>
<description>My very nice Struts URL portlet</description>
<timeout>30</timeout>
<timeoutMessage>Struts URL Portlet timed out</timeoutMessage>
<acceptContentType>text/html</acceptContentType>
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<contentType>text/html</contentType>
<showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
<contentType>text/html</contentType>
<charSet>ISO-8859-1</charSet>
<pageUrl>http://dji02:8888/StrutsTest-StrutsTestURL-context-root/</pageUrl>
<filterType>text/html</filterType>
<filter class="oracle.portal.provider.v2.render.HtmlFilter">
<headerTrimTag>&#60;BODY</headerTrimTag>
<footerTrimTag>/BODY></footerTrimTag>
<inlineRendering>true</inlineRendering>
</filter>
</showPage>
</renderer>
</portlet>
</provider>

Similar Messages

  • URL Services (V2) - Selective Inline Rendering

    I have the December PDK installed.
    The following tag does not appear to be supported anymore in the provider.xml:
    <disableInlineRenderingID>1</disableInlineRenderingID>
    I need this tag to do selective inline rendering with my .asp pages. Is there a work around?
    - Thanks, Kenny B

    Your post gives me hope this can be fixed.
    Part of provider.xml code:
    =========================================================
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <contentType>text/html</contentType>
    <autoRedirect>true</autoRedirect>
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <contentType>text/html</contentType>
    <charSet>ISO-8859-1</charSet>
    <pageUrl>http://www.xxx.com/exchange_portlet/inbox.asp</pageUrl>
    <filter class="oracle.portal.provider.v2.render.HtmlFilter">
    <headerTrimTag>&lt;body</headerTrimTag>
    <footerTrimTag>/body></footerTrimTag>
    <inlineRendering>true</inlineRendering>
    <disableInlineRenderingID>1</disableInlineRenderingID>
    </filter>
    </showPage>
    <editPage class="oracle.portal.provider.v2.render.http.URLEditRenderer"/>
    </renderer>
    ==========================================================
    Error when trying to register provider:
    ==========================================================
    An error occurred when attempting to call the providers register function. (WWC-43134)
    The following error occurred during the call to Web provider: oracle.portal.utils.xml.v2.NodeHandlerException: Class Long postings are being truncated to ~1 kB at this time.

  • FF5 error parsing CSS font-face with url inline base64 data

    Firefox 5 refuses to parse CSS @font-face with url inline base64 data.
    I use the declaration:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    then used this way:
    &lt;div style="font-family:'MyFont'; font-size:12.0pt"&gt;Test text&lt;/div&gt;
    But Firefox is not using the font and in the error console, there is always the message:
    ''Error parsing the "src" value. Skipped to next declaration.''
    (more or less, I actually have this message in Czech)
    Tried with different mime types (font/ttf,font/otf,font/opentype,application/x-font-ttf etc.), with or without charset specification, with or without quoting the font family name, with different specifications:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url(data:font/truetype;charset=utf-8;base64,[base64data]) format(truetype);
    &lt;/style&gt;
    (tried also with opentype format, etc.)
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('myfont-webfont.eot?');
    src: local('☺'), url(data:font/truetype;charset=utf-8;base64,[base64data]);
    &lt;/style&gt;
    If I provide the font path:
    &lt;style type="text/css"&gt;
    @font-face {
    font-family: 'MyFont';
    src: url('Arial.ttf');
    &lt;/style&gt;
    (the font actually is Arial, for testing), it works (but I need to embed the font in the HTML for specific reason, so having the font externally is not the option).

    Finally I got it work! Thanks, cor-el, you pointed me the right way to solve this problem.
    There was problem with the encoding too (there was part of the font missing at the end, because of the bug in the program - I forgot to flush the buffered output stream), after then I was able to download the same copy of the TTF. - I didn't know about the possibility to put the entire url data to the location bar and try to download it, thanks cor-el.
    But it still didn't solve the problem ... the problem was, that the base64 stream was divided to multiple lines, like
    data:font/truetype;charset=utf-8;base64,
    AAEAAAAYAQAABACARFNJRwMaCRYAC8m8AAAXfEdERUaJ+Y1JAAr/JAAAAsJHUE9T
    e1arnwALAegAAKwaR1NVQt5CYFEAC64EAAAbmEpTVEZtKmkGAAvJnAAAAB5MVFNI
    RExjrAAAN8wAAA1dT1MvMhAyXXMAAAIIAAAAYFBDTFT9ez5DAAr+7AAAADZWRE1Y
    After I removed the line breaks, it works now! (the line is quite long then, because the base64 string is about 1MB, but it works)
    Strange that I do the same for images (jpeg, png) and there is no problem with base64 string divided to multiple lines.
    But anyway, I'm fine with that.

  • How to use page parameters with inline rendering portlet

    I am trying to use the inline rendering portlet. Basic functionality works fine.
    What I am trying to do is make the inline rendering portlet use a page parameter. Is this possible?
    I have read pdk articles, but nothing seems to have what I need.
    Any ideas are appreciated.

    Perhaps i might have missed something, but what do you mean by the inline rendering portlet? Are you referring to the URL services portlets that rendered content inline (in the same Portal context & window without popping a new window)?
    I would be able to look into this if you could elaborate on the issue at hand.
    Regards,
    Abhinav

  • Client Eventing Problem with URL Iview

    Hi,
    I am new to EP and have a basic client eventing question. We are trying to integrate a URL Iview from a partner product with a standard Iview downloaded from Iviewstudio. This standard Iview is capable of handling client events from other Iviews in the standard package. We want to re-use this Iview with the same event (same functionality) to be able to handle events from the partner URL Iview.
    The partner Iview and our portal are on different servers.
    We are using the following Javascript but it doesnt seem to raise the event.
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','objid',LocId));
    EPCM.storeClientData('urn:com.sap.bor:BUS0010','AllKeys','objid');
    EPCM.raiseEvent('urn:com.sap.bor:BUS0010','select','','/irj/servlet/prt/portal/prtroot/...'
    We were able to debug and find that the data was being stored in the Data Bag. However the event is not being raised at all. It seems that it just gets stuck somewhere in the Raise event. We even put a javascript alert after the raise event but it doesnt seem to reach there at all.
    Could you give me a few pointers as to what the problem might be.
    Thanks in advance.
    Message was edited by: Mayank Bhatnagar

    Hi,
    let's have a look at two quotes of the PDK documentation.
    "Using the EPCF from your JavaScript, you can send messages to JavaScript code embedded in other iViews."
    "Isolated iViews are iViews that are not inlined into a portal page, but referenced using an IFRAME. To make the EPCF available in such iViews, the EPCF JavaScript as well as the EPCF applet are included into each generated frame."
    From my point of view, this only can work automatically with content provided by the portal.
    Therefore, this can't work with isolated URL iViews  generated with the wizards. Imagine a google iView, running in an iFrame. Google is called by the portal, but it's simply standard google HTML output - displayed in the portal.
    To provide the capability of the EPCF, the epcf javascript file has to be included in the "partner URL iView"'s source. I tried this and it worked. However, this is not a highly sophisticated solution
    If the partner iView's server is running in a different domain, there are further issues to be considered (keyword: java script origin policy)
    If anybody has corrections or can provide a good solution, don't hesitate.

  • IE8 portal login with URL

    HI,
    We have a login problem with IE and portal 7.0.
    When we open login window in IE with IP address,
    http://192.168.3.33:50100/irj/portal
    all works and is OK, but with URL by name as
    http://bitest.you.com:50100/irj/portal
    we got an yellow '! ' mark in left corner of the IE and after username/password nothing happens - on error message, just the same login window. When you insert wrong password, error message is displayed.
    Doubble click on yello '!' mark shows message:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
    Timestamp: Mon, 21 Nov 2011 08:16:24 UTC
    Message: Invalid argument.
    Line: 127
    Char: 1
    Code: 0
    URI: http://bitest.you.com:50100/irj/portalapps/com.sap.portal.epcf.loader/script/optimize/js13_epcf.js?7.01000050
    On Firefox login works with IP address and with URL .
    192.168.3.33 bitest.you.com
    has been written in to the C:WindowsSystem32driversetchosts file in local PC.
    Have already read SAP Note 1462523 and iexplore -nomerge doesn't help.
    Regards,
    Mart

    Hi,
    SAP Support solves this problem and their answer is:
    Please note that the issue is not related to Enterprise Portal but
    caused by Internet Explorer.
    The issue is with the number of dots in the url (<host>.xxx.xx works
    perfectly well), but only with urls with the
    specific format, where the domain and sub-domain have two characters (
    <host>.xx.xx does't work) in your case 'eklsapbitest.yo.ee'.
    Internet Explorer does not allow cookies to be set for such a domain -
    it treats it as a top-level domain. Microsoft has acknowledged that thisis a problem in IE (cf. Microsoft Knowledge Base Article 310676:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;310676).
    Microsoft has also provided a fix for this issue (which involves
    applying a service pack and editing the registry). In addition to this
    fix, you can have the below two workarounds:
    1. Redirect requests for 'eklsapbitest.yo.ee' to 'eklsapbitest.XXX.ee'.
    2. Change the portal domain from 'yo.ee' to 'xxx.yo.ee'
    Regards,
    Mart
    Edited by: Mart Mattikas on Dec 5, 2011 11:14 AM

  • Capturing a dynamic swf with url parameters?

    Hi,
    I'm wondering if it's possible for users to capture an swf
    with URL variables?
    for example ->
    www.somesite.com/foo.swf?param1="value"&param2=value"
    normal swf rippers will catch only the base "naked" swf, but
    is there a way to fully capture the whole flash object after it has
    rendered the parameters?
    (for example, if it's an ad, the full ad with all the
    elements will be captured)
    this can help me to quickly generate demo stand-alone
    instances for some apps i'm building, instead of compiling them
    separately

    oops...sorry for double posting..

  • WebClipping Inline rendering - pdf links

    I have installed portalTools 90402 without problem. When I use the Inline rendering feature of WebClipping, following links to pdf files cause WebClipping to fail.
    Inline rendering is required in order to proxy the pages through the portal. Is there a workaround for this problem? I have tested without and with a mime type defined.

    What other features of Web clipping are you using? (SSO, parameters, ...)?
    You can give iframes a try.
    Peter

  • URL Provider set up in Tomcat (vs its setup in Websphere).

    I am using the APi that requires the URL provider to be set up in my Websphere to specify the location of the config files. I am using Tomcat to test the application and I don't know how to set up those kinds of providers in Tomcat. Anyone has any idea how to do it in Tomcat? Here is how I set it up in Websphere:
    URL Providers
    Default URL Provider
    URLs (in Additional Properties)
    New
    Property Value
    Name ConfigRoot
    JNDI Name url/URLProviderName
    Specification file:///C:/config
    Category CONFIG_ROOT

    Hi RESIDENT2,
    First of all, please let me apologise for the delay in response time to your message! Unfortunately it seems as though we missed this one.
    Can I suggest to you that the best place to get help with ArjunaMS is from:
    http://www.arjuna.com/forum/
    As far as your problem is concerned it appears as though you have performed the correct procedures to setup ArjunaMS, if your problem still exists can I ask you to post a complete description of the system as it stands.
    NOTE: To check the WebConnect servlet is running you should be able to connect to http://localhost:8090/WebConnect, which should display a welcome page for the servlet. If this welcome screen cannot be seen then the servlet failed to deploy.
    Once again, sorry for the delayed response!
    Cheers,
    Tom
    Arjuna Technologies Limited

  • Rendering a URL (IP Camera or generic) in GraphEdit

    Hello,
    I'm trying to get to a point where I can acquire streaming audio using labview.  There exists a DirectShow SDK for labview, but I'm having some trouble with the easy part--rendering a URL in GraphEdit.  Eventually, I'd like to be able to use graphedit/labview
    to acquire audio from an IP camera, but for now I'm just trying to test with various streaming URLs (example, http://www.npr.org/streams/mp3/nprlive24.pls)  When i try to render URL, i get:
    Could not construct a graph from this file.
    -have you installed all necessary filters?
    note that the 'render file" menu option cannot render *.grf files.
    No combination of filters could be found to render the stream.
    (Return code: 0x80040218)
    I've tried finding additional filters, but I've never used graphedit before, so this may not be possible.  Everything should be fully updated; I just installed most components this week and have checked for updates.  I am on Windows 7 SP1.  Someone
    mentioned in another thread that the quartz.dll could be an issue related to WMP, but I haven't had any luck with that.

    There is no standard DirectShow filter to render this URL, you have to have a specifc third party filter installed to handle this. Rendering itself is easy and assumes your IFileSourceFilter::Load call.
    http://alax.info/blog/tag/directshow

  • URL Provider supplies cookies to External App only once

    Fellow PDK'ers,
    I am using the URL provider to display a page from an external application (that is, using <authentication>ExternalApp</authentication>).
    I am able to display the portlet once -- that is, the portal contacts the provider, the provider uses the portal's "External Application" information to build a URL and call the login page, the login page returns a cookie, the provider sends the cookie back when doing the showPage.
    However, the provider never provides that cookie again, whether I refresh the portal page or change to another page and come back. This means that the external app loses the user's session, and presents a login screen in the portlet. Not good!
    The PDK article "An Overview of Password Authenticated Applications" says: "Any cookies that are returned in response to the authentication request are saved and sent back to the remote application with all subsequent requests." This is not the behavior I'm seeing.
    And by the way, where do I find the documentation on "Shared sessions"? I can't seem to turn it up anywhere.
    Any thoughts? Thanks.
    -- Joshua

    I found a document titled "Integrating Password-protected applications with Oracle9iAS Portal" by Chris Broadbent. This has a good content on session sharing.

  • IIS Reverse Proxy with URL rewrite.

    Hi all, hoping to leverage the wealth of knowledge contained here.
    Any assistance would be very welcome.
    I'm having an issue getting a reverse proxy and URL rewrite working in IIS 7.0.
    I need to redirect all requests with a specific virtual directory suffix only.
    ie; https://domain.test.com/outbound/Content/query_etc
    With /Outbound/ being the trigger.
    This should be redirected to http://10.10.10.10/inbound/Content/query_etc
    While at the same time, requests without the /outbound/ suffix should be handled locally.
    I have configured the reverse proxy as described in a few articles, and have had no luck.
    Here's a snippet from my (sanitized) web.config at the site level.
    <rewrite>
    <outboundRules>
    <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
    <match filterByTags="A" pattern="^http(s)?://10.10.10.10/inbound/(.*)" />
    <action type="Rewrite" value="https://domain.test.com/outbound/{R:2}" />
    </rule>
    <preConditions>
    <preCondition name="ResponseIsHtml1">
    <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
    </preCondition>
    </preConditions>
    </outboundRules>
    <rules>
    <rule name="ReverseProxyInboundRule1" stopProcessing="true">
    <match url="^outbound/(.*)" />
    <action type="Rewrite" url="http://10.10.10.10/inbound/{R:1}" appendQueryString="true" logRewrittenUrl="false" />
    </rule>
    </rules>
    </rewrite>
    To me, this looks correct, yet it doesn't work.
    With this, I get the normal 404 - Error Code 0x80070002, with the text indicating the local directory doesn't exist, so.... not being picked up by the filter for redirection.

    Hi Andrew,
    Looking at your requirements it appears you need Reverse Proxy To Another Site/Server.
    By using URL Rewrite Module together with
    Application Request Routing module you can have IIS 7 act as a
    reverse proxy.
    It seems like URL Rewrite can't re-route the request somewhere else out of the server.
    Even when you rewrite the url the actual connection remains with the server. Hence if your original server doesn't have /inbound/Content/query_etc  it will fail with 404.
    Hosting multiple domain names under a single account using URL Rewrite.
    It’s a common desire to have a single IIS website that handles multiple sites with different domain names.
    References:
    How to create a url alias using IIS URL Rewrite:
    http://blogs.technet.com/b/mspfe/archive/2013/11/27/how-to-create-a-url-alias-using-iis-url-rewrite.aspx
    Reverse Proxy with URL Rewrite v2 and Application Request Routing:
    http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
    Regards,
    Satyajit
    Please“Vote As Helpful”
    if you find my contribution useful or “MarkAs Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Powershell: There is no file with URL error during file upload.

    I am trying to put together a PowerShell script that I could use to upload files from a local directory, into a Document Library in a Record Center Site. Here is what my script looks like...
    #Open web and library
    $web = Get-SPWeb $webUrl
    $docLibrary = $web.Lists[$docLibraryName]
    $files = ([System.IO.DirectoryInfo] (Get-Item $localFolderPath)).GetFiles()
    Write-Host "Local Directory:" $localFolderPath
    ForEach($file in $files)
    Write-Host "Looping through files"
    Write-Host "Current file:" $file
    ElseIf ($contentType = "MyContentType")
    #Open file
    $fileStream = ([System.IO.FileInfo] (Get-Item $file.FullName)).OpenRead()
    # Gather the file name
    $FileName = $File.Name
    #remove file extension
    $NewName = [IO.Path]::GetFileNameWithoutExtension($FileName)
    #split the file name by the "-" character
    $FileNameArray = $NewName.split("_")
    $check = $FileNameArray.Length
    #Add file
    $folder = $web.getfolder($docLibraryUrlName)
    write-host "Copying file " $file.Name " to " $folder.ServerRelativeUrl "..."
    $spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stream]$fileStream, $true)
    $spItem = $spFile.Item
    write-host "Success"
    #populate columns
    $spItem["Application Number"] = $FileNameArray[0].ToString()
    $spItem["Site Number"] = $FileNameArray[1].ToString()
    $spItem.Update()
    $fileStream.Close();
    Each time I run my script, I get this error message 
    Exception calling "Add" with "3" argument(s): "<nativehr>0x80070003</nativehr><nativestack></nativestack>There is no file with URL 'http://myRecordLibrarySite/myRecord Library/12587_B2317.PDF' in this Web."
    At C:\powershellscripts\Upload-FilesIntoSharePoint.ps1:72 char:6
    +                     $spFile = $folder.Files.Add($folder.Url + "/" + $file.Name, [System.IO.Stre ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DirectoryNotFoundException
    I have not been able to nail down why the script is failing. Any ideas why? Thanks for the help.

    I just figured out the issue with adding the file. I went in this direction, and my code has progressed forward.
    $folder = $web.getfolder($docLibrary.rootFolder.URL)

  • I have an iphone 5 on contract with 3 but the speaker isn't working , I've spoken with my provider and they said I need to take it back to an apple store .is this correct ? Many thanks

    I have an iphone 5 on contract with 3 but the speaker isn't working , I've spoken with my provider and they said I need to take it back to an apple store .is this correct ? Many thanks

    If you received you phone as part of the contract then surely from a legal pov your contract is with 3 not Apple unless you bought Applecare, if you bought your phone outright then put your 3 SIM into it then yes you'd have to visit an Apple store with your phone's purchase receipt.

  • We r using os 10.6.8 and 7.0.3 fcp,in that rendering with unlimited option out of memory warning is displayed Final Cut Pro 7, Mac OS X (10.6.8), 10gb RAM.no stills are there.there are hd standard

    we r using os 10.6.8 and 7.0.3 fcp,in that rendering with unlimited option out of memory warning is displayed, 10gb RAM.no stills are there.there are hd standard videos

    What format are your sources and what are your sequence settings?  I'd guess that you're working with h.264 material which is not fcp friendly.  If so, use compressor to conver to prores422

Maybe you are looking for

  • How not to use Cold Fusion and Java

    Overview This write up is intended to give java developers that are developing ColdFusion applications some beneficial information: things that are not documented. Scenario The company builds enterprise class web application software for fortune 500

  • Problem with accounting in group currency ( tbb1 )

    Dear all, to use the group currency, we created a new valuation area. In case of a new exchange rate we need to account transactions in the correct way; to do this we applied sap notes: -          1526242 u2013 TBB1: Incorrect amount in valuation -  

  • Help, cannot set references to Photoshop.Application in VBA

    Hello, I have used CS5 in the past and have had a well-functioning VBA program (running within Access 2010) that ran fine, opens 32-bit Photoshop, and controlled photoshop CS5 normally, allowing me to manipulate photos, read metadata, etc.  (It was m

  • Why do my pics come out blue and hazy when i use my flash on my phone

    Is there something i can do to keep my  pics come out blue and hazy when i have my flash on?

  • Adding row to a table in adobe forms

    Hi Experts, I have requirement in my form. where i will be adding a row to a table when ever user clicks on the add row button. pleae let me know how can i achieve this. Thanks, Santosh