Page jsff ADF and the F5 key

Hello

I use jdeveloper 11.1.1.6

My situation is, there is a table on page jsff, and there is a button "Refresh" that, when click on it, will update the table with the most recent values, it works fine.

Now the user want when press the "F5" key, will be the same as clicking on the button "Refresh", not "recharge" the jsff page.

I think JavaScript is the only way to do it, and I can find many examples of code press 'F5' (keycode 116), but how does leave jsff page capture the 'F5' key and call the JavaScript? I know that the way in which clientlistener adds a component, for example a button and when clicked to call JavaScript, but have no idea how to call JavaScript on button, tried document.onkeypress, but did not work.

Thank you

On the definition of the button refresh, the java script function is only triggered on the events button on the Refresh button.

Here is the code example to manage the F5 key:


     
          
     
          
               window.onkeydown = function (event) {
                    if ((event.which || event.keyCode) == AdfKeyStroke.F5_KEY) {
                         alert("F5 Pressed")
                         //Write your logic here
                    }
               }
     

Jean Lou

Tags: Java

Similar Questions

  • page up and down and the arrow keys do not work, they do on any other programs

    Page up and down and the arrow keys do not work or jump at the bottom of page.

    You may have accidentally entered mode 'Keyboard Navigation. The F7 key will toggle "Keyboard Navigation" on or off.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Satellite M40X-286: energy saving and the E - key utility does not work on Vista

    First of all, sorry for my bad English.

    I managed to install Windows Vista Ultimate 32-bit on my Satellite M40X-286. Everything works, except for the energy saving and the E - key utility. I tried the added value of packages of other TOSHIBA models, but they all give an error message during the installation. Is there a solution for this problem?

    Now I can't change the speed of the processor and the brightness of my screen, and I can't even adjust these settings in a power mode. The only way to change the brightness is manually using the FN + F6 and F7 keys.

    Kind regards
    Stijn.

    Please don t be crazy about me, but there is no problem at all. The situation is quite clear.

    First: tools and utilities are similar, but in most cases have to be adapted for each laptop model. It may happen that some tools work on the different model of laptop, but this does not mean that he has to work on each model.

    Second important fact is that Toshiba does not Satellite M40X support for Vista operating system and I guess you won't be able to use this tool. In my opinion, it is not so important, because all the energy-saving settings you can find in Vista power options.

    For utility E - key, I don't see a solution. If you use OS not supported, you must live with it.

  • How can I find the name of the network and the WEP key or passphrase WPA from my computer

    I need to install a printer on my laptop, and I wanted to do it by using a wi - fi connection.  But its asking me my network name and the WEP key or the WPA passphrase!  Of course, you can say I'm not very computer savvy and my son actually made me the laptop for Christmas and it was all set up but now I try to install this printer all on my own and I don't know where I can find this info on my computer.  Help!

    Her often on the back or the bottom of your wireless router.

  • I have the original CD and the product key.

    I have the original CD and the product key. How many computers can I install Windows XP Home Edition?

    I have the original CD and the product key. How many computers can I install Windows XP Home Edition?

    You can install it as many times as you want, but the product key is activated on a computer at one time only.

    If you have 2 computers, 2 keys are needed.

  • My version and the product key were stolen, what can I do to reactivate my version?

    My version and the product key were stolen, what can I do to reactivate my version?
    There is a solution to get the new password or product key for my version?
    Thank you for your same

    You're out of luck. You will need to buy a new one.

  • I installed Vista in a Virtualbox VM and the product key does not work, how to fix this? I use the same product key supplied with the computer originally.

    I bought a Dell Precision T3400 of Dell Financial Services and it came with Vista Business installed.  I installed a new hard drive and installed Vista in a Virtualbox VM by using the recovery disk that came with the computer, and the product key does not work for activation.  I get a message that says I need to activate Windows, but he says that the product key is not valid.  How can I fix it?

    Thank you

    If you have reinstalled the OEM of Vista Business copy on the new hard drive, as Bill says you can't also use it in a virtual machine.

    You can only reuse your OEM of Vista professional copy if it is no longer used on the computer. Do you have what operating system installed on the new hard drive? It was an upgrade copy or complete the license?

    If you used a license to upgrade to another edition of Windows to replace your copy of company then Vista Business license is still in use (for upgrade) and you cannot reuse it in your virtual machine.

    However if you replaced Vista business with a copy of the full license of another edition then you are able to use the OEM copy in a virtual machine, but only on the same computer. You must use the product key from COA to the label on the computer. The product key is put in the copy OEM cannot find the SLIC table on the host motherboard. You must use the phone activation from within the virtual machine. Click on start in Vista Business and typing "slui 4. Do not meet the audio guests until it asks you if you want to speak to an agent. Explain that you have completely replaced the OEM copy with a copy of the full license of the new windows and now want to use the OEM copy in a virtual machine on the same computer. Agent will then give you the activation string. Remember that the virtual machine is not transferable to any other computer.

    This information is offered by Darin Smith (MSFT) and the team of Windows licenses, November 18, 2011.

  • I have a hp laptop and the original key of windows behind the laptop which is glued is half damaged then, how can we get that original key again?

    I have a hp laptop and the original key of windows behind the laptop which is glued is half damaged then, how can we get that original key again?

    Hi yayatisharma,

    Product key Finder programs are USELESS for Vista computers preinstalled, as they find the product key of plant manufacturers, which is used for installations of mutiple during Assembly of the computer.

    This key will not help you reinstall Vista!

    If you communicate with HP they will post you Recovery DVD for a low price to reinstall Vista and they do NOT require a product key

    Or ask the use of the recovery Partition, which must be copied to the hard drive HP

  • Keypad does not and the volume keys not working not

    I had this problem since I got this laptop, the pad and the volume keys don't work.

    I tried to uncheck keys mouse in Control Panel, but they still do not work, I put on a frame, so it makes a noise whenever you click on capslock and numeric keypad. However when I press numlock that noise does not turn on, I just wanted to make sure that there is a way out maybe solve this before I take it to the store.

    Looks like a defective keyboard that should have been replaced under warranty.  It won't be cheap to replace.  You will need a technician because it involves a lot of disassemble very delicate pieces.  Make sure that the technician replaces with the correct part.  There are a lot of almost the same thing available.

  • Floppy disks to install Windows 7 and the product keys are exclusive to each other?

    Floppy disks to install Windows 7 and the product keys are exclusive to each other?  Or can I use a disc that I have to restore the windows on a second laptop and activate it with a different product key?  It is not a question to find out how many users I can put in place, but whether the disk and product key are mutually exclusive.

    As long as the product key matches the edition, it should work perfectly, no exclusivity.

  • Record and the product key of Windows 8

    Unfortunately, my husband has one person to put up my new PC for me and I do not know now what is my windows product key and whether or not it is registered.  How will I know (the PC came with Windows pre-installed).

    If it was built by an OEM System Builder, then the product key must have been connected to the computer on a certificate of authenticity. If this isn't the case, it could be on the envelope that came with your PC. Otherwise, you must contact the manufacturer and ask him if he is or consider purchasing a product key for your installation.

    How to buy additional keys:

    Press the Windows key + X

    Click System

    Click on see details in the Windows Activation

    Click on the link: buy Windows to another computer

    http://www.Windows.com/buy

    Yes, you may be prompted to go through the installation routine with just the web installer of 5 MB, but you don't actually have to download, simply to purchase and the product key will be presented to you in the Upgrade Wizard (you also a copy is sent to your email address).

  • Extract Pages... and the Split... do not do what I expect

    I have a document created in Illustrator (CS4), which has several work plans. I want that it split into several documents, Board of Directors an art - > a document with only this work. When I use the extract PAges... and the Split... orders to generate multiple documents, I get the multiple docs (same number of documents created as pages in the original document).

    The only thing is that every doc has all work plans and all works of art like the original doc. I couldn't understand all the works of art being there but all the plans of work also? What is going on?

    Appreciate the pointers on this.

    Writing a JSX to run in artificial intelligence, but hurt so far. Wire for solution started here: AS) export PDFs single page of work multi-plans

    No worries.  Just try to get a handle on the issue.  I think that we are talking in different worlds.  I wrote to the Acrobat and PDF software for 10 years, printing, processing documents, forms, etc. name you it.  I have never worked with Illustrator, never heard of work plans and never seen references that you use.

    see you soon,

  • It comes to DEME past in FireFox, the tetter to the right of the key 'k' is coding as a 't' and the next key to the right is coding as an "F".

    It is DEME past in FireFox, the 'L' key is like a 't' and the key encoding ';' is coding as an "f". At first, I thought that my keyboard came out, but Firefox is the only program that does this. All other keys seem to work correctly. This question reads correctly because I wrote in wordpad and copied in FireFox.

    Have you tried restarting the computer?

    It is possible that you have activated the keyboard by accident using the sequence of keys to rotate the page layout.

    Windows remembers the setting by application keyboard layout and you have probably changed the keyboard by accident via a keyboard shortcut.

    • Make sure you have the language bar visible on the Windows taskbar
    • You can do this via the context menu of the taskbar: toolbars > language bar
    • Check the language setting (keyboard) keyboard for the application that has focus via the icon in the language bar
    • You need to do that while Firefox has focus because Windows remember the keyboard by application setting
    • The combination of default keys to rotate the disposal is the Ctrl + Shift or Alt + Shift key combination that is used in Firefox to the menu items, so it is quite possible to accidentally changing the layout.
    • To avoid an unintended switch, assign a specific keystroke (Alt / Ctrl + Shift + number) to select keyboard layouts and remove the key combination to rotate (Alt + Shift or Ctrl + Shift) layouts
    • Control Panel > regional and Language Options > keyboards and languages > change keyboards > advanced key settings > change key sequence
  • When I open the browser Firefox with Yahoo home page. Images and the font size is so small, I can hardly read it. Frustrated! Tim

    I was on the Firefox help page and tried everything that was suggested. I have yet to find a default selection value where I can put my home page to open to say 125% or a way to have it open where I don't have to enlarge each page - whenever I open it.

    You can increase the chain pref layout.css.devPixelsPerPx from 1,0 to 2,0 to 0.1 or 0.05 as follows to adjust the size of all fonts and other elements in Firefox (percentage divided by DPI, for example 150% / 96).

    In current versions of Firefox this pref is a string parsed in float value and allows you to adjust the dimensions of all elements (user interface and web pages) more precisely.

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

    • Use the filter at the top bar of the on: page config to more easily spot a preference.
    • Preferences that have changed see the bold (user set).
    • Preferences you can restore the default value or change via the context menu.
  • Selection of the tabs and the arrow keys Tab Switching

    Older versions of Firefox had this feature. Before 3.0, Firefox allow you to select the text around a tab by clicking through, allowing you to scroll the tabs using the arrow keys. After 3.0, you could do this by clicking on the left and then immediately right clicking. I have since past 12 Firefox, and I can't seem to find this feature, even if it is useful for me. Is there a solution or a way to do this in Firefox 12 I don't know? Addons which adds this functionality or a parameter, would be greatly appreciated.

    EDIT: I know there are other ways of the tabs, but the arrows were particular dresser.

    In fact, I found a good work-around (which was rather hidden) which is exactly the same functionality as before, but in several stages.

    If you're like me and you wanted it, do the following:

    -Press Control-K-
    -Press tab-
    -Take advantage of arrow tab switching!

    I don't know why it happened progressively more difficult over the years, but at least I can still do it.

    Thanks to cor.el, or something like that.

Maybe you are looking for

  • Is it possible to set keys as keyboard shortcuts?

    This is my first post so be gentle. Is it possible to define keys as the keys for quick access to features like adding text that is to do. e-mail address? If this is possible could someone explain to me how: ConcerningRABT

  • output table

    How to get the output value of 1.5 in the table table if the value is between 11-13 values?

  • How to upgrade Windows xp copy instalation

    I use windows xp since 2000 about I have old version of windows without service pack Can I upgrade to service pack 3, but I can update windows installation copy? because when my computer does not start I have to reinstall and update several times I h

  • BlackBerry Curve 8310 on AT & T smartphones

    Is there a way to change the order of messages compose? He automatically wants to start by Email, but my wife is a single SMS user. Is this possible in a submenu that we don't know? or is she stuck with her? Is it possible to go directly to the SMS t

  • How to search string in the window layout and paste it inside the element?

    I'm new to indesign to animals. Learn extendscript for automation.I need to paste a string copied instead of '< media >' element in the window layout like the image below.But I do not know how findgrep in window(ctrl+y) layout rather than the editor.