Refresh Portal Browser By Code

Hi All,
I have done coding in Java WebDynPro to dynamically assign and remove roles on the click of a link.
But I am unable to refresh the browser automatically through the same code, to reflect the changes.
As of now I am using window.top.location.href = sURL ,for refreshing, but it refreshes the Iviewwindow but it does not refreshes the portal main web browser.
My requirement is to refresh the portal main web browser.
Can anyone suggest on this , how to make it work.
Thanks and Regards,
Nuzhat

Hi All,
I think i am calling html page wrongly in java webdynpro code.
Can anyone help me with some code how to read html file saved in src files.
I am using
try
          String path = WDURLGenerator.getWebResourceURL(wdComponentAPI.getDeployableObjectPart(),"Refresh.html");
          TaskBinder.getCurrentTask().getClient().sendRedirect(path,1);
     catch (Exception ex)
          wdComponentAPI.getMessageManager().raiseException(new WDNonFatalException(ex),true);
But think this calling method is porblem.
Anyother alternative to call HTML page.
Thanks and Regards,
Nuzhat

Similar Messages

  • Applet not refreshing in browser

    I wrote a HelloWorld applet and viewing it through internet explorer. when i modify the code, compile it, then it replaces the original .class file, but when i refresh the browser, it loads the original applet. when i delete the .class file from the directory, the applet still shows up on the browser after i refresh it. whats going on? and how do i update the applet.

    you hafta CLOSE the browser and then re-open it so the VM sarts up again

  • Servlet does not refresh in browser

    Hi,
    If I change a Servlet code, re-compile it and Refresh the browser (Firefox), it does not refresh. I can only get it to refresh if I re-start Tomcat (v 5.5.4).
    Is there a workaround for this please?
    I put the lines:
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("max-age", 0);
    response.setDateHeader("Expires", 0);
    at the top of my doGet method and this does not work.
    Thanks,
    Hal.

    Hi,
    For classes, you can set the reloadable parameter in your application configuration file (in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory)
    Set it to true if you want Catalina to monitor classes in /WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically reload the web application if a change is detected. This feature is very useful during application development, but it requires significant runtime overhead and is not recommended for use on deployed production applications. That's why the default setting for this attribute is false. You can use the Manager web application, however, to trigger reloads of deployed applications on demand.
    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
    For JSPs, you can configure Jasper (in $CATALINA_BASE/conf/web.xml file) and use the reloading parameter.
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

  • Is there any way to prevent misbehaving solved by refreshing the browser?

    When I play my published Captivate 6 file in the browser (in this case Google Chrome), it sometimes gets "stuck" --- rollovers don't  work properly or buttons don't show up when they are supposed to. Sometimes I get the audio echo problem where audio from some previous slide plays on a future slide). None of these things happen during previews.
    If I refresh the browser and then continue where I left off, the problems are gone.
    What is causing this awful behavior? I am afraid I am disappointing my client, which I never want to do and have never done in the past!  We will have to publish instructions telling people that if anything goes wrong, they should just refresh their browsers. But some may not know how to do that, some may not read the instructions, etc. etc. causing support calls to my client and general dissatisfaction with the training.
    Is this just a shoddy product or did I not do something I need to do to get it to behave itself?
    Please advise! Thank you,
    Ellen

    hmm the a64 is locked so you cannot use a cpu multipier to have only cpu go faster..
    i oc with the fsb....but noticed that i may actually be over running my power, at high oc's(233)  if i unplug at least 3 hard drives, and some fans it will run microsofts memmory tester...but not with them in.
    you may be able to oc if you drop your mem speed down in bios to 333 or 200.
    so when you oc the memm will clib from there...i have seen good results from that.
    one person was able to catch my 232 results from dropping down to 200 mem speeds.

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Portal UI source Code

    Can we write an sql query in the Login PEI of portal UI source code?
    we have requirement where we have to fetch some details from our database and display it in our authenticated landing page.

    Hi
    Can you please confirm if this is for Oracle Weblogic Portal 10.x (Former BEA WLP) or Oracles its own original Oracle Portal. If its BEA WLP, then explain this "Login PEI". I do not recollect any out of box Login Portlet shipped with WLP 10.x. So what exactly you mean by Login PEI.
    Creating a Login Portlet is very simple and straight forward either using Pageflow based login controller or BackingFile based Login approach in WLP. Once you have, you can always call your custom SQL code. Infact we do the same thing. Once the User logs in, we need to get some of his details like groups, roles etc which are stored in our custom db with that userid as PK. So we get this information after login is successfull, and store in the session or user profile for later purposes.
    If this is for Oracles own old Oracle Portal, then please post your question in Oracle Portal Forums for quicker/better response: Oracle Application Server Portal
    Thanks
    Ravi Jegga

  • How to invoke safari browser through code?

    how to invoke safari browser through code?

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I continually get the following error message "Warning Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure."

    MSN is my homepage, I am using hotmail for my e-mail...this error message above comes up about every 2 e-mails, no matter if I'm reading, deleting, sending, moving e-mails....about every 2nd e-mail I have to refresh my browser. I also use Firefox for my Comcast e-mail and NEVER get this error message.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Hotmail keeps telling me I've logged in from another computer and to refresh my browser

    A short time after I log in to Hotmail I get the following message - "Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure."
    The point is - I only log in from one computer. I have asked Windows Live Support, and the first thing they want is for me to 'optimise my browser'.
    I don't get this response on any other site, and I suspect it's down to Microsoft. This question does not seem to crop up in your collection of questions.
    Your help would be appreciated.

    Clear the live.com and passport.net cookies and maybe msn.com cookies as well.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • In Hotmail I keep getting message to "refresh your browser" every 5 minutes!

    Every few minutes I get a message across the top of my Hotmail screen asking me to "refresh your browser" and adding something to the effect that the browser is being used by two different computers. It is not!

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • To close a portal browser

    Hi,
    I have tried the following scripts to close portal browser:
    1. window.close()
    2. top.close()
    3. self.close()
    The above work well in web application. But do not seem to work in portal application.
    Any idea is much appreciated, thanks!!!

    Hi Tashi,
    Thank you for your quick response & help.
    According to your more info link, the check will return ABAP_TRUE as the webdynpro app is ran on Portal.
    Sorry i should have mention that I got it working on our Dev & Test portal but now forgotten how i have done it, we now need it config for our production portal. I have vague memory collection that i config it somewhere on the portal, maybe one of the Application Modules in NWA?
    Any advise, help, hints would be very much appreciated.
    Thank You & regards,
    Derek

  • Browsing Source Code - 8 Space Tabs

    Greetings, all!
    When browsing source code (text files), things look a bit strange because Safari doesn't display 8 space tabs. Does anyone know of a way to gently encourage Safari to display 8 space tabs?
    Thanks in advance,
    Raj

    Raj,
    welcome to Discussions!
    I don't know of a simple way to configure Safari to act as you want. You can try looking for an answer in the Safari Developer site, or on the webkit official site.
    Hope this helps!

  • Portal browser tool in PDK SP12

    Hi.
    Recently, I installed PDK SP12.
    After that, I try to use Poral browser tool in EP but I can't find it.
    I assigned java developer role to my user and I can access other portal java development tool ( ex. PCD browser ...).
    Portal browser only doesn't exist in menu.
    Any ideas.
    Regards, Arnold.

    Hi All,
    Can you please suggest using SAP Portal Accelerator will help to improve the performance.
    And also please share some documentation and blogs on the same.
    Regards
    Ponnusamy

  • Opening hotmail: Please refresh your browser window, When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure . Refreshed but no change. in Safari no problem

    opening hotmail in firefox: Please refresh your browser window, When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure . Refreshed but no change. in Safari no problem

    Go to '''Options '''on Firefox Browser-->'''Advanced'''-->''Click on'' '''Network '''tab-->''Select '''''Settings'''-->''Select '''''Use System Proxy Settings
    '''

Maybe you are looking for

  • Highlight  a row in classic report based on condition

    HI all Gurus Using Apex 4.1.1 oracle 11g linux oc4j I want to highlight a row where #column_value#='Y' to grey  keep others as normal report settings. I have a simple sql query SELECT PK_ID,   FIRST_NAME,   LAST_NAME,   INITIAL_REG_DATE,   MAIL_DATE,

  • How to convert Abap output/excel output into pie charts

    Hi....... I've managed to output my Hierarchial sequential report output into a excel file....converting the abap output to xml and then mailing it.....now how can i convert this to pie chart......and mail it.....is it possible to have a pie chart in

  • VIDEORA DOESN'T WORK WHEN INSTALLED

    I just downloaded and installed Videora and also the Videora iPod Converter. None of them work when I try to run them! I get some sort of application error and I have to click on OK to terminate the program. Can anyone help me please? Please don't di

  • Mapping labview variables to teststand sequence context variables

    hi, how can i map variables from a vi (which is loaded in a test sequence in teststand) to teststand sequence context variables ? if my question is not clear enough then plz let me know.

  • Error adobe digital editions

    Hello. I installed adobe digital editions on my computer but when open an acsm file I bought in google play the following error appears "Error getting license" "Error E_GOOGLE_DEVICE_LIMIT_REACHED Any solution? Please