Iframe portlet reload problem

steps:
select book containing iframe portlet page.
in that iframe go thru several pages in the iframe
select a different book - then click the iframe book again
The page you were on is lost and the iframe portlet simply reloads the beginning url the iframe started with.
Is there a way to stop this behavior.

Hi
there is no way for the server to know the iframe url's because any clicks in the iframe bypass the portal.
Youll have to implement this yourself either by using javascript or by modifying the website that the iframe
accesses
regards
deepak

Similar Messages

  • IFrame is reloaded on every action

    Hello,
    I need to embed external applications on IFrames and show or hide them at runtime. I have the problem that an IFrame reloads the source every time I go to server.
    Is there any way to set the IFrame to "not reload"?
    I'll appreciate any answer.
    Best regards,
    Diego.

    As far as I know there is unfortunately no way to prevent IFrames from reloading on every trip to the server.
    Web Dynpro does support the embedding of external applications at present, apart from some predefined ones (eg. Microsoft Office, with the IWDOfficeControl).
    Walter

  • Encountered error-install 'iframe portlets with Customization mode on OC4J'

    Hi,
    I encountered the following error message in the application.log when i attempt to preview my iFrame Portlet:
    2003/2/13 5:35 iframev2: [id=(null), instance=39337722_2_PREVIEW] CONFIGURATION: Default container renderer not specified
    2003/2/13 5:35 iframev2: [id=(null), instance=39337722_2_PREVIEW] CONFIGURATION: defaulting container renderer to DefaultContainerRenderer
    2003/2/13 5:35 iframev2: [id=(null), instance=39337722_2_PREVIEW] ERROR: ResourceRenderer.renderBody - Resource "/htdocs/iframe/iFrame.jsp" returned HTTP Status: 500. Error message: OracleJSP:
    oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\Oracle9iDS\j2ee\home\application-deployments\iframev2\iframev2\persistence\_pages\_htdocs\_iframe\_iFrame.java</H3><TABLE BORDER=1 WIDTH=100%><TR><TH ALIGN=CENTER>Line #</TH><TH ALIGN=CENTER>Error</TH></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>66</TD><TD>[jsp src:line #:17]<br> Class htdocs.iframe.PrintWriter not found.
    PrintWriter pOut = new PrintWriter(out);
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>66</TD><TD>[jsp src:line #:17]<br> Class htdocs.iframe.PrintWriter not found.
    PrintWriter pOut = new PrintWriter(out);
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>73</TD><TD>[jsp src:line #:24]<br> Class htdocs.iframe.Map not found.
    Map params = new HashMap();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>73</TD><TD>[jsp src:line #:24]<br> Class htdocs.iframe.HashMap not found.
    Map params = new HashMap();
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>95</TD><TD>[jsp src:line #:44]<br> Variable params may not have been initialized.
    dRenderer.renderShowFooter(pr, pOut, params);
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>100</TD><TD>[jsp src:line #:49]<br> Variable params may not have been initialized.
    params.put(
    </TD></TR><TR><TD WIDTH=7% VALIGN=TOP><P ALIGN=CENTER>140</TD><TD>[jsp src:line #:74]<br> Variable params may not have been initialized.
    dRenderer.renderShowFooter(pr, pOut, params);
    </TD></TR></TABLE>. Content returned follows....
    2003/2/13 5:35 iframev2: [id=(null), instance=39337722_2_PREVIEW] ERROR: null
    Please help. Thanks for your help and replies!

    Please let me know the following config details to analysis this problem:
    1. The PDK version installed.
    2. The OC4J Version used .
    3. Make sure you have deleted <OC4J HOME>\j2ee\home\applications\iframev2 folder and <OC4J HOME>\j2ee\home\application-deployments\iframev2 folder before redeploy new iframev2.ear file
    4. Check <OC4J HOME>\j2ee\home\application-deployments\iframev2\application.log file to find error log.
    Please note I have deployed the iframev2 on Oracle9iAS (9.0.2.1.0) and it is working fine.

  • Servlet Reloading Problem!

    JSP + Bean is OK!
    But, Servlet + Bean occur a reloading problem.(Reloading does not happen)
    For example,
    1) TestClass.java (Bean)
    public class TestClass {
    private String txt;
    public TestClass() {
    txt = "Test!!"; ---(1)
    public String getTxt() {
    return txt;
    2) Test.java (Servlet)
    public class Test extends HttpServlet {
    public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
    TestClass testClass = new TestClass();
    PrintWriter out = res.getWriter();
    out.println(testClass.getTxt());
    In above examples, though I change txt String(number (1)) Bean reloading does not occur. So old txt String shows.
    In Tomcat, such problem does not happen.
    Is this a problem of OC4J?
    Thanks.
    null

    Well, only servlets are supposed to be reloaded, not their dependent classes.
    If you are using Tomcat 4.x, then there might be an explanation. It seems that Tomcat 4.x will simply reload the entire web app context if it detects that a servlet (not a JSP!) has changed. Just define a servlet context listener to see that.
    Regards,
    Vadym

  • Portlet communication problem

    hello
    i am pretty new to portlets
    the problem is that
    i want that i dispaly a list of record in one portlet and if user click on that record then on the next protlet this record is shown.
    this require two portlets
    i followed a lot of links but i dnt get clear understaning about the functions and ipc ie when is processAction() called and when is doedit called etc etc
    can any one give complete example or links or help me how to do tht
    i am working with jsf.

    It seems you are trying Inter Portlet Communication for JSF Portlets. Check this article : http://developers.sun.com/portalserver/reference/techart/ipc.html . This describes InterPortlet Communication that was added as an extension to JSR 168(implemented in OpenPortal Portlet Container 1.0_02).
    Regards,
    Deepak

  • IFrame portlets with customization mode is available with JPDK v2 on OC4J

    iFrame portlets with customization mode is available with JPDK v2 on OC4J is uploaded into Knowledge Exchange.
    1. Download the 53708.ZIP from
    http://portalstudio.oracle.com/pls/ops/community.comm_folder_download.get_item?p_folderid=233480&p_itemid=279865&p_caid=233
    2. Unzip the 53708.zip into iframev2.ear and copy into your <OC4j_HOME>/j2ee/home
    3. Edit server.xml and http_web_site.xml or default-web-site.xml to deploy iframe provider.
    4. Detailed installation are available in same zip file
    Please provide your feedback.

    iFrame portlet being referred here belongs to verion2 ( v2 ), which
    is supposed to be used with OC4J not Apache JServ. Version1 of iFrame
    can be found at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PERSONALFOLDERS/DKNOX/IFRAME.ZIP
    Installation instruction are available at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/SAMPLES/WEBPORTLETS/IFRAME/IFRAME.WEB.PORTLET.HTML
    -aMJAD.

  • Installation of iFrame portlet

    Hi,
    i am trying to install the iFrame portlet and am unable to bring up the test page.
    http://host.domain:port/servlet/iframe
    My test page is at :
    http://ps3.au.oracle.com:7779
    My concern is that i don't recall where the '/servlet/' is being maped and the 'iframe' aliase.
    The instructions i have followed were from here :
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PERSONALFOLDERS/DKNOX/IFRAMEPORTLET/IFRAME.WEB.PORTLET.HTML
    I have made all the changes specified in the above doc.
    I have recently installed a RH3 Linux with 10g (9.0.4) Infrastructure and Portal 10g.
    i have successfully instaled the PDK and have been able to add various samples from the PDK into my portal.
    Regards,
    Hareesh

    everything is at portalcenter.oracle.com
    see http://download.oracle.com/docs/cd/B14099_13/portal.1014/b19305/toc.htm for installation

  • Applet Reloading problem

    Hi,
    I am involved in a project in which we are using many images to scroll in a applet.The url of the images are retiriving from the data base and given to the applet using jsp.The problem is when the page is reloaded it takes much time to show the applet again even i am using the archive tag.Can any one tell me how to get rid of this reloading problem.
    Regards,
    Prakash

    Hi,
    Thanks for the reply.Actually i am not reloading the page.when i go to some other page and comes back it takes a long time ro load the page.Is there any way to overcome this problem.
    Regards,
    Prakash

  • Page/Portlet Reload/Refresh

    I have two jsp page based portlet which host two application(Flash based application),i.e each page has one jsp portlet, but every time I switch around tabs the portlets reload, This process initializes the whole jsp portlet. I would like avoid this page/portlet reload behavior. I think the way to do is to use backing file at the page level or at the portlet level, but I am not sure which method to override since prerender completely stop rendering the page at all.
    Thanks

    I'm not sure I understand exactly what you mean by wanting to stop the "page/portlet reload behavior". Every time you switch tabs, the portal control tree is rendered with the new page and portlets that are "in view", and this means that the portlets on the page will get re-rendered, including running through the JSP again. If you want to stop the JSP render from happening again, and no state has changed on the portlet since you last viewed it, portlet caching may be what you are looking for. There is some information on portlet caching at http://edocs.bea.com/wlp/docs102/portlets/performance.html but unfortunately this points to a document on the BEA dev2dev site which has now been moved to http://www.oracle.com/technology/pub/articles/dev2arch/2005/01/portlet_caching.html
    By caching the content of the portlet, it should only be re-rendered (and have the JSP re-run) when the cache expires due to timeout or a state change in the portlet.
    Returning false from preRender in the backing file will abort rendering of the control (page or portlet) entirely, and you will see no content at all-- as you have already noted.
    If by "stopping the page / portlet reload behavior" you mean to stop the Flash-based initialization, I'm not the person to answer the question.
    Hope this helps!
    Kevin

  • Java portlet caching problem

    I am facing portlet state problem.
    Problem is below,
    step 1. I opened a page in java portlet, then set some filters for my list boxes and for check boxes, then executed i got all my search results,
    then closed the page.
    step 2. opened page again, which opens in the same portlet as step 1, then this portlet displays the page with results instead of default page
    I tried setting _nfls parameter to false in request URL, but still it is loading the  page with state as in step1.(i'e page with filters set and with results)
    Any suggestions on how to overcome this?

    Raju,
    Hope this thread helps you.
    http://forums.bea.com/bea/message.jspa?messageID=600014822&tstart=0
    Let me know if this works for you.
    Cheers,
    Satish

  • Integrate WCS in iFrame Portlets

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normale Tabelle";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    I tried to setup an Iframe portlet to view the WCS status page. But all it shows is the login page of WCS, because it goes full screen after saving the portlet settings.
    I configured all the hidden variables I saw.
    So what did I do wrong? Any idea…
    running: LMS 3.2 all latest updates are installed

    thanks for your reply, but since Cisco is pointing out
    they integrated WCS in LMS trough iFrame for Cisco Live there must be a way (http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/case_study_c36-565461_ps2425_Products_Case_Study.html)
    Hope anyone knows?
    Until than i'll use the link as advised

  • IFrame Portlet Problem - Provider test

    Hiya,
    Can someone please help figure out why I can not see my iFrame provider. I have downloaded the zip from the Portalcenter and followed the instruction to the letter.
    I test the provider like:
    http://machine_name:7779/iframev2/providers/iframev2
    But this returns HTTP 404 error.
    Thanks
    Daryl

    Please let me know the following config details to analysis this problem:
    1. The PDK version installed.
    2. The OC4J Version used .
    3. Make sure you have deleted <OC4J HOME>\j2ee\home\applications\iframev2 folder and <OC4J HOME>\j2ee\home\application-deployments\iframev2 folder before redeploy new iframev2.ear file
    4. Check <OC4J HOME>\j2ee\home\application-deployments\iframev2\application.log file to find error log.
    Please note I have deployed the iframev2 on Oracle9iAS (9.0.2.1.0) and it is working fine.

  • When are portlets reloaded? Can it be controlled?

    Hi all
    I am fairly new to Weblogic Portal and would appreciate any help in answering the following questions:
    When does weblogic portal reload a specific (or all) portlets?
    Can this be controlled in some or other way?
    What is cached and for how long?
    How does javascript in a portlet affect the portal's behaviour?
    Thanks
    Riana

    Hi
    What I mean with 'reload' - The content of the div is re-fetched from the server.
    As the content did not change, only the div size, there is no need to re-fetch the content from the server.
    HTML snippet:
    <form action="" method="post" name="frm_accCrashes">
    <input id="hid_accCrashesHeight" type="hidden" value="0" name="hid_accCrashesHeight"/>
    <table id="tbl_accCrashesDim" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr> <td class="maxButton">
    <button id="btn_accCrashesMax" class="shown" onclick="jMaxMinDiv('accCrashes', 'accCrashes','Year,Month,Week,DayOfWeek',
    'accFilterFull', true, 'btn_accCrashesRestore', 'btn_accCrashesMax', 'hid_accCrashesHeight');" name="btn_accCrashesMax" type="button">
    </button>
    <button id="btn_accCrashesRestore" class="hidden" onclick="jMaxMinDiv('accCrashes', 'accCrashes','Year,Month,Week,DayOfWeek',
    'accFilterFull', false, 'btn_accCrashesMax', 'btn_accCrashesRestore', 'hid_accCrashesHeight');" name="btn_accCrashesRestore" type="button">
    </button>
    </td> </tr>
    </tbody>
    </table>
    <div id="div_accCrashesDayOfWeek" class="selectedDim">
    <iframe id="if_accCrashesDayOfWeekIFrame" class="selectedDim" src="http://172.30.0.231:7001/Tst.html?_xpf=&_xpt=1&_xt=NONE&_xf=xml&cond=Al"
    name="if_accCrashesDayOfWeekIframe"></iframe>
    </div>
    </form>
    JS:
    function jMaxMinDiv(divId, frPrefix, frList, hideShowDivLst, doMax,
         showBtn, hideBtn, hidHeightFld)
         var show = true;
         var className = 'wlp-bighorn-window';
         var h;
         var nh;
         var ph;
         var hObj;
         if (doMax) {
              show = false;
              className = 'max';
         if (hideShowDivLst != null) {
              var hsArr = hideShowDivLst.split(',');
              for (var cnt = 0; cnt < hsArr.length; cnt++) {
                   jShowDiv(hsArr[cnt], show);
         var frName;
         hObj = document.getElementById(hidHeightFld);
         if (hObj != null) {
              ph = hObj.value;
         h = document.getElementById(divId).offsetHeight;
         jChangeOneClass (divId, className);
         nh = document.getElementById(divId).offsetHeight;
         hObj.value = h;
         if (doMax) {
              if (frPrefix != null && frList != null) {
                   var frArr = frList.split(',');
                   for (var cnt = 0; cnt < frArr.length; cnt++) {
                        frName = 'if_' + frPrefix + frArr[cnt] + 'IFrame';
                        obj = document.getElementById (frName);
                        if (obj != null) {
                             obj.style.height = nh + 'px';
         else {
         document.getElementById(divId).height = ph;
         jChangeOneClass (showBtn, 'shown');
         jChangeOneClass (hideBtn, 'hidden');
    return true;
    CSS:
    div.max {
         display: block;
         position: absolute;
         left: 0%;
         width: 95%;
         height: 80%;
         border: solid red;
    Edited by: rross on 20-Oct-2009 23:02

  • Ultra Search Portlet Configuration Problem

    Guten Tag,
    we are using OracleAS 10g Rel. 2 Portal. I've registered the Provider for Ultra Search.
    Now I understand that I have to add a data source in the OC4J_Portal configuration file "data-sources.xml"
    I want to make Ultra Search crawl and search our Portal.
    So I need to create a news Instance with the following entries (also for the data-sources.xml):
    - username and password are the Oracle Ultra Search instance owner's database user name and password.
    where do I find these info? It all has been done automatically by the RepCa when installing the IASPortal... ?- database_host is the host name of the back end database computer.
    is this the URL of our portal server (with or without /pls/portal/)?- oracle_port is the port to the user's Oracle Database.
    the standard Port of the Oracle Listener (1521)?- oracle_sid is the SID of the user's Oracle Database.
    Where do I get the SID of Portal DB after Installation?Thx,
    Gerhard

    Hi echee!
    I don't know what happened in the weekend, but now the Ultra Search portlet doesn't throws any exception.
    It seems works correctly.
    Maybe the servers was restarted or the sheduled crawler recovered something in the indexed data.
    I'm totally surprised.
    I checked the log files, but I didn't find any failure message.
    Now I must build a new Search Portlet for our portal, and I will contact you, if the problem returns.
    Csaba.

  • Is Apple ever going to address this force reload problem in Safari?

    Seriously, Safari 5.1 is, for all intents and purposes, completely disabled now.  I leave a lot of windows and tabs up at any given time, and when I return to a window after having been someplace else (usually coding in a plain text environment), the window reloads.  If I try to stop it, I get the dreaded message, "Webpages are not responding, so loading cannot be stopped.  Do you want to force reload this page and all pages in other tabs and windows?"  Obviously I do NOT always want to to that!  As of yesterday afternoon, Safari doesn't run at all, because it has never stopped reloading pages.  It's been doing this for over twelve hours.  I'm reading messages all over the support community that indicate MANY people are having this problem.  When is someone at Apple going to address this??

    I am still having this problem occasionally, but one thing I did that helped immensely was to:
    1.) Disk Utility > First Aid > Repair Disk Permissions, and
    2.) Empty Cache in Safari (maybe even for extreme issues just "reset Safari."  It's actually no big deal.)
    I was told to do this; I am by no means an expert, so kudos to my buddy for this solution--hope it helps!

Maybe you are looking for