How to disable Refresh action

Hi to all ,
Please let me know if their is any way to disable or prevent Refreshing of a page by providing javascript scope in JSP.
I want to disable the Refresh action in IE-6.0 window .
Don't want to open my application in second window with disabled the Menu bar etc. Or by capturing the F5 key event.
Thanks in advance

Thanks YoGee ,
But as i had written in my problem , I don't want to open my application in new window after user open default IE 6.0 window . As it creates Window switching overhead .
Second thing i want to disble or prevent use of Refresh to avoid resubmitting of my form after it has been send to application server .
One more thing while a JSP page is refreshed , In-built IE 6.0 Alert message to Re-try or Cancel .Is thier anyway to capture it or prevent it in Javascript.
With Regards,
Naseem

Similar Messages

  • How to disable refresh every time I write code in dreamweaver

    Hi....how to disable refresh every time I write code in dreamweaver...thank very much.

    Hi.......every time I write code or content on the web, from interfce code, I get a message on the bottom of the program, with a button that says "refresh"... please look the attach picture .... thanks for helping me ....

  • How to disable Refresh,Reload in browser and user should not allow to multiple browser sessions ?

    Dear All,
    How to disable Refresh,Reload in browser and end user should not allow to multiple browser sessions in portal.Where we need to configure the settings or any code in masthead or any other component. My server version is 7.4 - SP5 .Please help us.
    Thanks for advance,
    BR,
    Durga Rao.

    Dear all,
    i am able to logoff the click refresh button on keyboard.I am using this code to log off the user into the portal.
    document.onkeydown = function(e)
      var key;
      if (window.event) key = event.keyCode
      else
      var unicode = e.keyCode ? e.keyCode : e.charCode
      key = unicode
      switch (key)
      { //event.keyCode
      case 116: //F5 button
        LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 82: //R button
      if (event.ctrlKey)
    LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 91: // ctrl + R Button
    LSAPI.sessionPlugin.logoff();
      event.returnValue= false;
      key=0;
      return false;
    Thanks.
    But i am unable to control the multiple windows opening the browser.So any one can tell me the how to block the new window and new tab/duplicate tab option.
    BR,
    Durga Rao.

  • How to disable refresh button in webi reports in BOXI3.1SP2-Java SDK

    Hi all,
    We have integrated Java with BO, here end users will give parameters through java screen. After submitting all the parameters webi reports will opens in separate window.
    Here requirement is end users should pass the parameters from java screen and they should able to save the report in to excel/PDF.
    Refresh/edit buttons should disable/hide in the webi report.
    below is the sample url we are using in the java.
    http://" + CMS + ":8080/ OpenDocument/opendoc/openDocument.jsp?"+ "iDocID=" +ReportID + "&sType=wid&sRefresh=N&sWindow=New&lsSEnter List Name: =+List&token=" + token
    we tried with using &buttonrefresh=hide in above URL.
    Note: We are also having hyperlink reports in the Webi.
    Please provide me inputs to disable refresh button.
    Thanks,
    Subash

    Hi,
    why do not set this over the authorization scheme? Just deny your users the right to refresh/edit the report.
    Regards,
    Stratos

  • How to disable mouse actions for Spotlight?

    Spotlight causes me problems, because it is activated, when the middle button of my three-button mouse is pressed. Many X11 and Windows applications have some functions for the middle button and then Spotlight grabs it and nothing else works as it should. Hence, I would like to disable all such mouse functions in Spotlight and other mouse bindings and use mouse only as a pointing device, as it originally was intended to. How can this be done - I cannot find any such hotkeys etc. defined in System Preferences.
    ArNO
    2

    ArNo,
    the central button can be programmed to do anything from System preferences ->Keyboard and Mouse-> Mouse. Use the drop down box to select "none" if you dont want the middle button to do anything.
    If you use a lot of x11 apps that require a different set of actions than the normal mouse environment, I would consider creating a separate user account and turn on fast user switching in system preferences->accounts.
    Then you can customize the user environment (mouse actions, etc) to be utilized differently for each unique operating environment.

  • How to disable hotkeys & action keys?

    Hi, I have a Pavilion dv6 3006tx.
    I have all these strange "hotkeys" on my laptop doing non-standard things. It's pretty confusing, Alt-F4 doesn't work anymore, for instance, since the F4 key is now a monitor key. How can i make it so all the F1-F12 keys just be F1-F12 keys by default, and I can use the other function by using the fn toggle?
    I would also like to disable these so called "action keys". I keep pressing the calculator key when I intend to crouch in a game (ctrl key).
    Help, thanks.

    Key Instructions
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02035108&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    Please try the instructions from the link I put in and let me know if that helped you or not.
    Thank you.
    I am an HP employee
    Knowledge is power...Power to the people

  • IN OBIEE, how to disable drilldown for specific users

    How to disable drilldown action in a hierarchy as manager,lead,reporter.
    in this scenario i need to disable hierarchy for the specified reporter and the upper two peoples will have that functionality
    Awaiting ur reply
    Bala

    The RPD hierarchies themselves have no security attributes on them. So your left with a workaround or two. First one that springs to mind :
    Create the report in question save this as 'Manager' report.
    Create the report in question, disable drilling on the column in question, save this as 'Reporter' report.
    Deploy both reports to the dashboard in seperate sections and use the section permissions (against the Webgroups those users exist in) to determine which section is displayed to which user.
    Maybe more options will come up from other users, but this one is a start.
    Hope this helps,
    Alastair

  • Disable Refresh and back  facilty in a jsp page

    hi,
    I have a jsp page which makes entries in a db. to stop is doing it again (by refreshing the page) refresh facility is to be diabled. I do not want to use cookies or session . Can any one tell me how to disable refresh and back button in a html/jsp page
    Atishay

    i am bit new with jsp and i do not know how to use synchronization token
    howeever i think if we have a hidden input with value=0 and later make it one when entry is made in the db by the jsp page. But the problem is that i do not know how to check the value. Because each time we refresh the page the value of the variable will be initialized so a check can not be made.
    Also following will help
    <META HTTP-EQUIV="Expires" CONTENT="Fri, 1 Jun 2001 00:01:00 GMT">
    but how to take the time of the host machine which will run the jsp page.
    Thanks
    Atishay

  • How to Disable the Lead selection Action on aTable n How to Refreh a Page

    HI....
    1)How to Disable the Lead selection Action on aTable n How to Refreh a Page r web dynpro application.
    In my case i have a table n user enters data on multiple rows in table , n i have some input fields outside of table for those Inputs fields am settiing the data  at the screen initilization(in Init() moethod by hard code).the problem is whenever the is clicking in th 2nd row of a table the Lead Selection is triggerig and the data in the Input Fields outside the table is not displayinig.
    So by removing the lead Selection Action of a table i thought i can reslove this,
    2) How to refresha page(like we click F5 on key board),is it can be done thru code in web dynpro application
    Regards
    Rajesh

    Hi,
    You did not explained what is your functionality or coding in leadselection. Is that action on leadselection is necessary for you?.
    1)If you just want to remove the action then go to table properties and remove the action for leadselection.
    2)If you still want to continue with your leadselect action, then what you can do is.. write the code in leadselection action to again set the input fields which are out from table.  That is what you did in your init method.
    Page Refreshing
    3) What do you mean by page refreshing? is that refreshing your table only or both the table and input fields. 
         What I understood is you are allowing the user to enter values in table and soon after pressing a button the values should be saved and the data in input fields shld be deleted.  For this if you only invalidate the node then the user entered data will be lost. 
    So what you do is after getting the input data from the user add it to a ArrayList and then invalidate the node which clears the data in input field. Finally bind the Arraylist to your node.  see the following code. This is a concept make changes according to your requirement
    ArrayList list1=new ArrayList();
    wdContext.nodeAbc().bind(list1);
    IPrivateExcelviw.IAbcElement ele = wdContext.createAbcElement();
      ele.setNo(wdContext.currentAbcElement().getNo());
      ele.setName(wdContext.currentAbcElement().getName());
      ele.setMarks(wdContext.currentAbcElement().getMarks());
      list1.add(ele);
      wdContext.nodeAbc().invalidate();
    wdContext.nodeAbc().bind(list1);
    Revert me if you have any doubts
    Regards
    Raghu
    Edited by: Raghunandan Madarikuruva on Oct 16, 2008 8:07 AM

  • How to disable PanelAccordion overflow action?

    Hello all,
    I am using jdeveloper 11.1.1.2.0. I created a dynamic menu with PanelAccordion using ShowDetailItem. I put the PanelAcordion in a scrollable PanelGroupLayout.
    Here is my code:
    <af:panelGroupLayout id="pt_pgl8" layout="scroll">
    <af:panelAccordion id="pa1" discloseNone="true">
    <af:forEach items="#{backingBeanScope.backing_userTemplate.mainGategories.allRowsInRange}" var="menuItem">
    <af:showDetailItem text="#{menuItem.categoryName}" id="sdi1" flex="1" stretchChildren="first"
    inlineStyle='background-image:url("../images/site-background-image.gif");'>
    <af:panelGroupLayout id="acordin" layout="scroll">
    <af:forEach items="#{backingBeanScope.backing_userTemplate.realtedCategories.}" var="subs"
    <af:commandImageLink icon="/ImageServlet?Id=#{subs.imageId}" id="subsIm" shortDesc="subs.name"/>
    </af:forEach>
    </af:panelGroupLayout>
    </af:showDetailItem>
    </af:forEach>
    </af:panelAccordion>
    </af:panelGroupLayout>
    Code is creating the menu. However there are two problems.
    1. If the number of 1st level menu items(ShowDetailItem) is too many to fit the area, panel accordion creates an arrow(bottom overflow icon) in the bottom for other elements' list. But instead I want to see al elements in a scrollable panelgrouplayout. Is there a way to disable overflow action or stretch the Panel accordion in height?
    2. Second problem is, the height of each ShowDetailItem. I want its height to be enough to cover the inside elements(imageLinks). But it has a fixed height of 100(inflexibleheight) in default. I think it is related to the 'Flex' attribute of ShowDetailItem but I couldn' figure it out. How can I dynamically set the height of the ShowDetailItem?
    Thanks in advance,
    Ozgur

    Hi Ozgur,
    Were you able to find a way to disable the PanelAccordion Overflow and show all ShowDetailItems under a scroll-bar?
    Thanks,
    Makrand

  • UCM - WEBDAV - How to Disable the New Folder option in the action popup

    I am trying to implement WebDav functionality. I don't want the users to create folders in the folder mapped to a security group. As long as the user has privilege to contribute to the security group he/she can checkin documents but they should not be able to create folder under it. I did not find documentation as to how to disable the new folder option in the context action menu that pops up on mouse right click. Is there any way we can do that?
    Thanx.
    Edited by: user10991492 on Nov 1, 2010 11:24 AM

    This is the boilerplate text often used in connection to networks in general. It is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe:
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files.
    Working across a network in general is not supported by Adobe.
    See: 
    http://kb2.adobe.com/cps/406/kb406793.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
        Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.  It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.

  • How to Disable a PARTICULAR action key?

    Hi,
    I know how to turn off action keys from BIOS. What i want to is just disable the help action of the F1key. I basically want it o have no fuction (so that it would perform the assigned function for the game) like the f5 key on my Envy 15t. I use the f1 key in games, since every time i press it it opens up the help, i want to disable it. However, i do not want to disable the rest and want to be able use them without having to press the FN key. 
    I am not sure if there is a solution to this problem but i would still love to hear some suggestions.
    Thank You.

    Hi,
    If just for Windows XP: you should be able to disable the help stuff by disabling the Help and Support service. (start->type services.msc->press enter).
    And for Windows 7 (Vista could be the same):
       http://www.sevenforums.com/customization/171360-there-way-totally-disabling-f1-hotkey.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can i disable an Action listener temporary?

    hi folks,
    I have a GUI with many Jcomboxes. Each one of them has an actionlistener.
    The idea was: when one of those comboboxes is selected, then the selected value will appear on ALL the comboboxes (by using setSelectedIndex(int index)).
    The problem is when i select a value on ONE of those comboboxes and set it on the others, the actionListener thinks that i selcted a value on the other comboboxes and starts setting the values again... I other words if i select one combobox i obtain an endless loop...
    Is it possible to disable the action listener temporary when setting the selectd values on the other comboboxes?

    Just use removeActionListener and then addActionListener
    Noah

  • How to disable "Page Expired " dialog

    Hi,
    I have a problem about session expire. in my web application while time inactive (no request, no access) then "The page has expired" dialog on browser. how to disable the message dialog. dialog title is "Page expired".
    dialog Image link here: http://codeplay.net/wp-content/uploads/2011/05/expired.png
    thanks
    juddi
    Edited by: juddi on May 24, 2011 9:41 PM

    Thats correct the page expired warning does not come when the value is set to 0.
    But , if you remove the page expire warning message by setting the warning value to 0 .The expired page stays there and it the user does a ppr on that expired page he will get an ugly java exception message in popup. If the user does an action which causes a full page refresh there wont be a problem but ppr causes exception in popup like Error in ppr#36 java.lang.NullPointerException.
    If you want to handle that scenario you would need to override ADF Exception Handler http://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler and redirect to error page rather than show an exception in popup. Additionally, if you notice in the custom exception handler when such an view expired exception occurs the message of exception contains ADF_FACES-30108 . So you can check the message and redirect to a custom view expired page.
    Thanks ,
    Achinto Banerjee

  • How to disable parent window while popup window is coming

    Hi,
    I am working on Oracle Applications 11i.
    I am able to get the popup window using the Java script in the controller.
    Please see the below code for the reference.
    String pubOrderId = pageContext.getParameter("orderId");
    StringBuffer l_buffer = new StringBuffer();
    StringBuffer l_buffer1 = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    l_buffer1.append("/jct/oracle/apps/xxpwc/entry/webui/AddAttachmentPG");
    l_buffer1.append("&retainAM=Y");
    l_buffer1.append("&pubOrderId="+pubOrderId);
    String url = "/OA_HTML/OA.jsp?page="+l_buffer1.toString();
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    But here the problem is, even though popup window is there, i am able to do the actions on the parent page.
    So how to disable the parent page, while getting the popup window.
    Thanks in advance.
    Thanks
    Naga

    Hi,
    You can use javaScript for disabling parent window as well.
    Refer below link for the same:
    http://www.codeproject.com/Questions/393481/Parent-window-not-disabling-when-pop-up-appears-vi
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Urgent expalantion reqired about foreign keys

    we are doing data migration project and we have get data from different regions data in flat files, but we have problem below like: i am facing a problem to declare unique constraints, because in some files column should be in number data type and sa

  • Import PO -custom invoice

    Hi experts, I have created PO with custom duty In condition details entered the freight vendor Inorder to capture the custom duties Tried to create Miro before gr I selected delivery costs in PO reference the custom duties displayed with qty and amou

  • Multiple oracle client configuration 9i / 10g - variables question

    Our ETL tool sits on a Windows application server. The ETL tool communicates with Oracle databases using SQLNet Client. The database we need to output to is 10g. The target for this database is defined in the tnsnames.ora file. We need to read from 8

  • [b]FRM-92060 Oracle Developer 9i Error Message[/b]

    Dear Sir, when I have run the module that builds with Oracle 9i form developer the following error happened: Frm-92060: Filed to connect to the Server. Bad machine Specification: /forms90/l90serverlet:-1 Also when I try to run address with L90servlet

  • ADDT Redirect not working properly

    I have a dynamic list with 3 dynamic forms which sort of act like a wizard where you select the record you want to edit from the dynamic list and then you go through 3 pages clicking next which should update the each part of the record and redirect t