Trying to use code found in working PDF from online in LC. (Keystroke Event)

I found a PDF online (at http://www.planetpdf.com/developer/article.asp?ContentID=javascript_dynamic_updates_w) that works on my iPad running PDF Expert for iPad 5.0.4.
I tried to recreate it in LiveCycle ES4 using the same code. However, the author says to place the code in the "keystroke" event. I can't find a "keystroke" event. I've tried it and variations in change, preOpen, and exit without any success.
Can someone help me?
This is the exact functionality I need and the only example that I have seen work in both a PC environment and an iPad (running PDF Expert).
Thanks!
Dan
The code can be found at: http://www.planetpdf.com/developer/article.asp?ContentID=javascript_dynamic_updates_w
The sample PDF can be found at: http://www.planetpdf.com/codecuts/pdfs/Populate.pdf
I am specifically looking at the code in the dropdown box called "Three" - which is captioned as "Dynamic"
Code follows:
==========
/* This version updates a secondary combobox based on the entry
** selected by the user dynamically. The keystroke event should
** be processed until the value is about to be committed (as
** indicated by event.willCommit). */
if (!event.willCommit) {
    var f = this.getField("Four");
    f.clearItems();
    /* In a keystroke event, event.change contains the non-export value of the item selected by the user. */
    switch (event.change) {
        case "Cities":
          ;       f.setItems(["Paris", "Berlin", "Amsterdam", "Rome"]);
        break;
        case "Fruit":
          ;       f.setItems(["Bananas", "Mangos", "Strawberries", "Papayas"]);
        break;
        case "Garden Tools":
          ;       f.setItems(["Hoe", "Rake", "Leaf blower", "Shovel"]);
        break;

The first problem I see is that you are using an old version of WebUtil, which is not supported for use with Forms 10.1.2.3 and is probably the cause of the problem.
RegisterWebUtil - Loading WebUtil Version 1.0.6
The correct versions of frmwebutil.jar and webutil.pll are applied to Developer Suite installations and can be copied to Application Server. If you do not have an iDS installation, you can install the latest Forms Bundle patch which includes the correct WebUtil files. Refer to Patch ID 9593176 and Note 1188127.1. Be sure to review the ReadMe included with the patch.
The second problem is that you are using Jinitiator. Jinitiator has been obsolete for a long time. However, if you have some reason why you must use it, I would recommend that you at least get the last version released (1.3.1.30). This can be downloaded from within MyOracleSupport (account required) using Patch ID 7410076. If you do not have access to MyOracleSupport and you are using Forms 10.1.2.3, then you can use JRE6 (1.6.0_37). Do not attempt to use JRE7
http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
You would need to install the 32bit version: jre-6u37-windows-i586.exe
References:
<li>Note: 566628.1
<li>Note: 561273.1

Similar Messages

  • Safari keeps trying to use Adobe Reader to view PDFs

    I had to download adobe reader because my banks electronic statements can only be read by it. Even tho it is not my default reader Safari always tried to use it to read a pdf. I can't find any way to tell Safari to use Preview again without uninstalling Adobe Reader.
    Thanks

    I had the same problem with bank and some government (FAA) sites. 
    Without Adobe Reader installed, they either would not download or would download a blank pdf page.
    With Aobe Reader installed, you can download to view in Safari, but cannot save on your Mac as a .pdf.
    [When Adobe Reader is default .pdf reader it hijacks the Export PDF option, including using printer driver to print to file as .pdf]
    Deleting AdobePDFVewer.plugin from /Library/Internet will work, but there are a couple of easier fixes than deleting and reinstalling the plugins:
    You can switch the default viewer back and forth (including Safari's default viewer) by: 
    Right click on a .pdf file and from the context menu select Get Info > Open With: (select Adobe Reader or Preview) > Change All and close the popup to set selected app as default.
    If you have to use Adobe Reader to view a .pdf on the picky site and decide to save it - don't try to use Adobe Reader to do so (via Safari).
      Instead either:
    1. Option click on the site's link to the .pdf to download to your default download folder.
    - or-
    2. Right click on the site's link to the .pdf and select either "download linked file..." or "Save linked file as.." and save to desired folder.
    I am not sure if this will work in all cases, but so far it has worked OK for those I normally use.

  • I'm trying to use migration assistant to transfer applications from my imac to macbook. Using either a firewire or network, as I'm waiting to select items to migrate, I receive an error message that "the application quit unexpectedly". My imac is newer.

    I'm trying to use migration assistant to transfer applications from my newer imac to an older macbook (10.5.8).  I keep getting an error message "application quit unexpectedly" as I'm waiting to select the items to migrate.  I've tried using a firewire cable as well as just a network connection.
    Thank you.

    Here is some information:
    http://support.apple.com/kb/HT4889
    It mentions that migration is not supported with 10.4; now you said you have 10.5 - it may be the same problem. Besides, migration assistant will recognize an older system and move apps etc. over to a newer system - I'm not sure it will do the same thing in reverse.
    And, there are a couple more problems: one is that your newer versions may not be backwards compatible with the old 10.5 and the second is that is you are trying to copy apps so you can use them on both, it most likely violates the SLA (unless you purchased them on MAS).
    So, if none of those two apply, I'd simply try target disk mode (without the assistant) and drag over the apps.

  • HT4413 I am trying to use migration assistant to move everything from snow leopard (10.6.8) to mountain lion (10.8.3) using a direct machine to machine ethernet cable connection but it stalls out at about 17 minutes remaining.  Thoughts on how to proceed?

    I am trying to use migration assistant to move everything from snow leopard (10.6.8) to mountain lion (10.8.3) using a direct machine to machine ethernet cable connection but it stalls out at about 17 minutes remaining.  Thoughts on how to proceed?

    Have you set both to never sleep?
    Is the source (old) Mac's software up to date (including the Migration Assistant for Mac OS X Snow Leopard update)?
    Is the old Mac healthy?  Have you run Verify Disk on it lately?
    The estimates are wildly inaccurate under the best of circumstances.  How long has it been stuck? 

  • Which is the simplest version of acrobat to use to create high quality pdf from a doc file

    which is the simplest version of acrobat to use to create high quality pdf from a doc file

    Acrobat Standard.

  • Azure cloud application (trying to use emulator) is not working with NCover

    So, at work, we are trying to use NCover Desktop for code coverage on a cloud based azure web application. We are using Azure SDK V1.8 and Visual Studio 2010.
    I researched online for answer and found some article a little bit helpful in setting up environment and stuff. Following is the procedure I'm following for this.
    Create new NCover project and select auto config
    Reset IIS and detect w3wp.exe process
    Start application and select/deselect executable.
    Problem is, I think VS is running on localhost rather than IIS, that's why even after restarting IIS, I'm not able to detect w3wp.exe process to attach.
    how can I fix this issue?
    Any help is appreciated.

    Hi Frankthecoder,
    Thanks for your post.
    >>>1.Create new NCover project and select auto config
    >>>2.Reset IIS and detect w3wp.exe process
    >>>3.Start application and select/deselect executable. 
    Azure cloud web role application usually use the Visual Studio IISExpress to host the web when you debug. It not use the local IIS. If above solution is right, you can try to set the web application running with local IIS.
    >>>Problem is, I think VS is running on localhost rather than IIS, that's why even after restarting IIS, I'm not able to detect w3wp.exe process to attach.
    Right click your web application and select Properties=>Web section=>Servers=> select "Local IIS".
    Besides, I suggest you take a look at below thread and get more information.
    http://stackoverflow.com/questions/9409083/debugging-azure-error-attaching-the-debugger-to-the-iis-worker-proccess
    Hope that helpful, thanks.
    Best Regards,
    Fuxiang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • My Airport Express will not stream music to my remote speakers through the laptop (windows Vista), gives error code -15000. Works fine from my IPAD and Ipod. Any thoughts, suggestions?

    Itunes is throwing a -15000 error code on my Windows vista. Ipad and Ipod work great for streaming to remote speakers, trying to use the computer and it throws the error code.
    Any thoughts? I've rebooted the laptop, modem, and AE, even plugged in the laptop recommended by other users, still nothing.

    the following is for W7 but might work for you:
    Fix for error -15000 Remote speakers on iTunes / Windows 7

  • Installing .csf files and using them to create a pdf from Indesign.

    I have a .csf file that was sent to me that I need to:
    1.     Install (not sure how to do that in CS4),
    2.     And be able to use in Indesign when I create a pdf from an Indesign file.
    I'm not sure how to do this.

    Like it or not, InDesign is a color managed application, and your files are all being managed.
    You'll always have less grief if the working spaces match the output, but that isn't always possible. If you want to to convert to the profiles specified in the CSF file, choose one of the "Convert to Profile" settings and select the correct profile as the destination. You'll have two options, preserve numbers, or don't preserve numbers.
    Preserving numbers will cause colors to shift, but will preserve 100% K blacks. Not preseving numbers will change the numbers to give you the closes match possible in appearance, but will royally screw up your 100% K type if going to press.

  • Trying to use the plug in to switch from iPhoto to lightroom but all I get is a window that says "checking iPhoto library" Whats happening?

    rying to use the plug in to switch from iPhoto to lightroom

    1. Back up your Library now. You don't use iPhoto to back it up, you can do it simply by dragging the iPhoto Library from the Pictures Folder to the External Disk
    2.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • HT1338 While using Word or reading a PDF from a downloaded file, my computer falls "asleep" - backlight fades in and out.  I tried adjusting energy saver but it didn't help.

    My backlight dims as if sleeping while I am using my laptop, typing in word, reading a PDF, as I am typing right now.  I tap on the light button to restore but it only temporarily does so.  I have tried "energy saver" but have not been able to wake it up.  Otherwise, it responds.

    Reset the SMC.
    Read the support article for the correct method for your machine here:
    http://support.apple.com/kb/HT3964

  • Trying to use APPLE diagnostics-wont work-trying to diagnose the awful sound my book pro is making

    So Im trying to figure out what is causing this sound that starts as soon as I turn it on & sounds like a crackling fire---scratchy coming from the left side under the keyboard--which gets quieter when I pick up the laptop. Plus sometimes it stops or isn't so loud. So I see on  here to use the APPLE diagnostics by holding down the D key while turning it on and waiting for the diagnostics screen to show up---WELL it doesn't work. NOW what? Can anyone help?

    Per Apple's agreement, the seller is suppose to include the system discs.  Either contact the seller for the system discs or order the replacement System Discs directly from Apple's Customer Support - US (800) 767-2775 for a nominal fee. You'll need to have the model and serial number of your Mac available.
    If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html

  • PSE 11 - Trying to Use "Open With" not working right

    Hi - I just bought PSE 11 and have installed it on my computer.  I am trying to right click on a file and use the "Open With" option to open the jpg in the program.  However, the program opens but not the photo.  I can open files within the program by going to "File - Open" just fine.  The program that is on the "Open With" list isn't the right one (it's Adobe Photoshop Elements 11 rather than PhotoshopElementsEditor.exe).  However, when I try to browse to and select the correct file it doesn't show up when I get back to the "Open With" screen.  I've tried uninstall and reinstall.  I've also tried using the program on another user and it works fine there but I don't want to switch all of my info to another user just to open photos.  Photos open just fine in PSE 9 with the "Open With" method.  Any help would be *greatly* appreciated.  Thanks.

      Go to the Editor application in the programs or programs (x86) folder and right-click on it and choose properties. Select the security tab and make sure you have full permissions with read/write capability.

  • Trying to use a button to work link a link

    I have a report from which I link to execute a procedure
    Link Text <img src="#IMAGE_PREFIX#edit_big.gif" alt="Edit">
    Target URL
    URL #OWNER#.LOADDOC?p_file=#LOAD#
    How do I achieve the same thing using a button.
    Howard

    Alright - so I've been trying to work w/the scripting language (I'm sorry, I'm fairly new, and one of two things happens whenever I enter it in.
    1. The text disappears from the box on the right and doesn't show up in the assigned boxes.
    2. Nothing happens
    I've attached a photo (below) of the script as my ignorant self believes it should look. Any thoughts? (Again, I appreciate your patience here - thanks!):

  • Trying to Use Parent action, doesnt work

    HI
    i am doing a poc on parentaction. i have three taskflows TF1,TF2,TF3. TF1 calls TF2, TF2 calls TF3 now from
    TF3 i want to go to TF1. i have dragged ParentAction in TF3 and named my parentoutcome as "toreturn"
    now in TF2 i have dragged a taskflowreturn and named controlflowcase as "toreturn".
    Thats it when i run my page....TF1 to TF2 navigation on button click works fine.TF2 to TF3 navigation works fine but main
    thing TF3 to TF1 doesnt work and on click of button it remains on same page.
    wat could be the problem?
    anyways in my TF2 ,i get warning mark on the controlflowcase rule from viewactivity to taskflow return as
    "outcome "toreturn" is not found in TF3"
    Hope u guys got wat i am trying to do.
    Thanks
    Edited by: AdfNew-b on May 28, 2012 11:54 PM

    Hi
    Yes, there is navigation button from button to parentaction. And it is called on debugging.
    I think(as mentioned before)
    anyways in my TF2 ,i get warning mark on the controlflowcase rule from viewactivity to taskflow return as
    "outcome "toreturn" is not found in TF3"
    The problem is somewhere here.But i am not able to figure it out
    Thanks
    Edited by: AdfNew-b on May 28, 2012 11:56 PM

  • Firefox will open a 1Mb PDF file. With 30Mb PDF file Firefox gives error "File not found". Both PDFs from Adobe web site. Using PC with XP-sp3. Firefox 3.6.13

    Option in "Tools/Options/Applications/Adobe Acrobat Document" is set to "use Adobe Acrobat in Firefox". If I change the option to "Use Adobe Reader 9.2 (default)" then the large file gets downloaded and then opens in Reader.
    Any help appreciated.

    I originally posted this nearly 2 months ago. Is no-one else having this problem...???
    I upgraded to Firefox V3.6.16; problem still happening.
    Anyone got any ideas please...???

Maybe you are looking for

  • How do I install newest version of itunes if the Bonjour file cannot be found?

    How do I install the newest version of itunes if the Bonjour file cannot be found on my computer?

  • WHAT IS A BEST QUALITY QT FILE?

    At the expense of causing some aggravation(!) I'm here going to try to simplify a request that has obviously got a bit tangled in another thread 'Quicktime Pixellation...etc" below, and not getting any positive answer. *Please can one of the Top User

  • Imported Photoshop Layers change in Motion after re-saving PSD file

    Curious if anyone has seen this issue: I have a multi-layered Photoshop CS drawing that I import (All Layers) into Motion to animate. No problem. If I make a change to the original Photoshop PSD file, the Motion layers are updated incorrectly. The la

  • IPhoto library problems in Aperture

    I made the mistake of importing my iPhoto library to Aperture, about 25,000 photos. I can no longer use Aperture as a result; it always crashes, as it keeps trying to load or update the thumbnails. So I tried deleting my iPhoto library, and all I get

  • Create JTree Menu Using file system

    I want to create a Dynamic tree menu by using the folder structure on my harddisk like I have a "A" folder as a root on C drive and in "A" folder we have a "B" and "C" folder and in "B" folder there are 2 folders like "B1" and "B2" and in "C" , "C1"