Why my screen is blinking just before launching the form?

Hello
I am developing an Adobe interactive form from LiveCycle designer from Webdynpro ABAP.
I wrote some very very simple validation Java Script at the form fields level at INITIALIZATION event, fine.
When i am launching the form in the browser (i mean, TESTing the webdynpro application in SE80), am getting couple of BLINKING popups.......at the same time, the screen also BLINKING.........finally, the form is launching!!
Why am getting BLINKING (popups, laptop screen) just before launcing the form on the screen/browser? Any mistakes in Java Script? When i did/click CHECK SYNTAX button, i did not see any red issues(except couple of warning).
Thank you

Hello Srinivas,
    Even I see this on my screen several times. This might be because of any javascript error resulted from your script.
To see this dialog box, you should enable your javascript debugger. Open Adobe Reader,got menu, Edit -> Preferences, click the javascript tab on the left hand
side.
Now on the right hand side,
In Javascript section -- check Enable Acrobat Javascript.
In Javascript debugger section -- check the button Show console on errors and messages.
This should help you in displaying the javascript debugger. If you still dont see the debugger,
put some syntax errors temporarily in your form initialize event javascript, try to open the form using adobe reader.
If it still doesn't show, Use Ctrl - J to show the debugger.
Regards,
kc

Similar Messages

  • Download correct JRE before launching the jnlp application

    Hi,
    I have this requirement that before launching the jnlp application, the code should check the version of JRE installed on client's system, if it is less than 1.6 u10 then install the latest available JRE before launching the application.
    I am using the Java Script in my jsp to achieve this objective and it is working fine with non-IE web browsers. The trouble starts when the client machine is using 1.6.0_6 jre, in that case IE is not able to download /redirect user to the sun's page for the download of latest JRE.
    My java script code as follows:
    <script language="JavaScript">
    var launch = null;
    // try to check the JRE version installed on client's machine.
    //if its less than 1.6.10 redirect to Sun Micro systems website.
    //and then after installation, launch Receptionst and Call Center application
    function checkForInstalledJreVersionAndLaunch(appName)
         //detect browser used at client's machine
         var windowsIE = (navigator.userAgent.indexOf('MSIE') != -1) && (navigator.userAgent.indexOf('Win') != -1);
         if (windowsIE) {
              alert(windowsIE);
             document.write("<OBJECT codeBase=\"http://java.sun.com/update/1.6.0/jinstall-6u10-windows-i586.cab#Version=6,0,10,0\" classid=\"clsid:5852F5ED-8BF4-11D4-A245-0080C6F74284\" height=0 width=0>");
             document.write("<PARAM name=app VALUE=\"http://localhost:8080/"+appName+"/launch.jnlp\">");
              document.write("<PARAM NAME=back VALUE=true>");
              document.write("</OBJECT>");
         }else{
              if (navigator.mimeTypes && navigator.mimeTypes.length)
                   if(!checkWebStartWersion())
                        window.open("http://jdl.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=java.com","needdownload");
                   launch = setInterval('launchJNLP("http://localhost:8080/'+appName+'/launch.jnlp")',100);
    function launchJNLP(app) {
        if (checkWebStartWersion()) {
            clearInterval(launch);
            window.location = app;
    function checkWebStartWersion()
         var isMajorVersion = false;
         var isMinorVersion = false;
         navigator.plugins.refresh(true);
         if(navigator.mimeTypes['application/x-java-jnlp-file'])
              for(var i=0;i <navigator.mimeTypes.length; i++)
                   var pluginType = navigator.mimeTypes.type;
                   if(pluginType.indexOf("x-java-applet;jpi-version") > -1)
                        var jreVersion = pluginType.substring(pluginType.indexOf("_")+1,pluginType.length);
                        var jreUpdateNumber = parseInt(jreVersion);
                        if(jreUpdateNumber >= 10)
                             isMinorVersion = true;
                   if(pluginType.indexOf("x-java-applet;version") > -1)
                        var jreVersion = pluginType.substring(pluginType.indexOf(".")+1,pluginType.length);
                        var jreUpdateNumber = parseInt(jreVersion);
                        if(jreUpdateNumber >=6)
                             isMajorVersion = true;
         return (isMajorVersion && isMinorVersion);
    function launchApplication()
         checkForInstalledJreVersionAndLaunch("appname");
    </script>

    I hear your frustration. I am attempting to do something similar.
    To me, it looks like this ActiveX control has no ability to detect a minor version of JRE. It knows if some JRE 1.6 is installed or not, but not if say JRE 1.6.0_10 or higher is installed. But, if it finds that some JRE less than 1.6 is installed such as a 1.5 version, this ActiveX control can automatically install the latest JRE 1.6.0_12. This seems to work well for me. But, the overall behavior is not consistent. It looks to me that this ActiveX control is only good for making sure that the client has some version of JRE 1.6. It doesn't care which one.
    A similar issue exists if you try to use Java WebStart to automatically download the correct JRE 1.6 version.
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />As of today, this code will tell Java WebStart that it needs some version of JRE 1.6 or higher to run your app. If the client does not have it, Java WebStart will download and install 1.6.0_07. Apparently, WebStart thinks that version is a "good" one - whatever that means.
    If instead you use this in your .jnlp file:
    <j2se version="1.6.0_10+" href="http://java.sun.com/products/autodl/j2se" />Java WebStart will not run your application unless the client has at least 1.6.0_10 installed. However, it is not able to install this version if the client does not have at least 1.6.0_10 already installed. It isn't smart enough for that. It looks like no one at sun has gotten around to updating http://java.sun.com/products/autodl/j2se to deal with recent JREs.
    Maybe I'm missing something, but WebStart deployment is more difficult than it needs to be. Sun introduces all sorts of new things into minor versions of Java, but nobody seems to be interested in making sure that the end user can have seemless upgrade experience.
    And people wonder why Flash and AJAX have become so popular...
    There probably is another workaround using a Java applet to determine what version is really installed before launching WebStart, but it just seems like an ugly hack to me. If an older version of Java 1.6 is detected, you could direct the user to java.sun.com in a new browser window, just as in the case of Firefox in your code. Ugly, but it would probably work.

  • My ipad 2 got repaired like 4 months ago from a broken screen. I just saw that the side of the ipad is lifted like if the glue isn't glued right any suggestions how to repair??

    My ipad 2 got repaired like 4 months ago from a broken screen. I just saw that the side of the ipad is lifted like if the glue isn't glued right any suggestions how to repair??

    If the screen was repaired by anyone other than Apple ,They will not touch it
    you will have invalidated your warranty

  • HT1551 My Apple TV is just showing the apple logo on my screen and light just flash on the Apple TV box

    My Apple TV is just showing the apple logo on my screen and light just flash on the Apple TV box

    Welcome to the Apple Community.
    Which Apple TV do you have.

  • Restrict Duplicate entry of record before saving the form

    Hi!!
    I need to validate duplicate entry of ITEM CODE before saving the FORM. Which means, if I have entered an ITEM CODE in a row, the same ITEM CODE should not be allowed to be entered in any other rows. It should throw an error message and should ask to enter another ITEM CODE instead. I did not get the correct logic from the threads.
    Regards
    Mitto

    hey i have a requirement that to restrict duplicate entry in both block(both multi record).the blocks are DEPT(MATER)
    EMP(DETAIL)
    the associated fieds in master block DEPT.DEPT_NO,in detail EMP.EMP_ID .
    I have done' Kevin D Clarke’s calculated item ' both in master and detail block
    its working fine for master block but in case of detail block its only respond to the current session(i.e. if the new value is inserted or save it will restrict another record to be inserted of that last record's value),it does not restrict duplicate value enter ,checking with other existing records(which are saved in earlier session,though after query it is shown on the form)
    can anyone guide me why its not working

  • Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Here is one solution:
    // mouse up action for submit button;
    function GetField(cName) {
    // get field object for cName field with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
    return oField;
    } // end GetField function;
    var oPhone = GetField("phone");
    oPhone.required = oPhone.value == oPhone.defaultValue;
    var oEmail = GetField("email");
    oEmail.required = oEmail.value == oEmail.defaultValue;
    if(oPhone.required && oEmail.required) {
    app.alert("Missing required fields.", 1, 0);
    } else {
    app.alert("Submitting form", 3, 0);
    // additional code for submission;

  • Adobe validations of field before submit the form

    Hi forum
    I have an Interactive Form, but i can validate the fields before submit the form and display a popup message, is this possible ??
    Thnks
    Josué Cruz

    Hi josue,
    Use the regular button and for that in the click event write all the validation scripting and at the end use the following code
    In JavaScript: xfa.connectionSet.MyWSDLDataConnection.execute(0);
    In FormCalc: $connectionSet.MyWSDLDataConnection.execute(0)
    Regards
    Pradeep Goli

  • How to use DDL-Operations in before processing the form

    I want to drop and create a sequence when i make a form with
    WEBDB at the part "before processing the form" where i can add a
    PL/SQL code in a varius text area.
    Sybille Krvnert

    not sure in webdb how to do that, but I think you can put the
    code in the before proccessing form and after processing form
    block. In portal that should work, or you can place code in the
    button events for the save/insert/update buttons to do that like
    this:
    create sequence .....
    doInsert;
    drop sequence ....

  • Validation of Item Values before saving the form

    Hi,
    I have requirement in Oracle Forms, we give header information as per the requirement and the lines info of the specific header. In lines whe have two feild as type and amount. If the type is 'E' then we need to sum up the amount value as credit and if type is 'F' we need to sum up of those feild values as Debit and before saving the form we need to check the sum of Credit and Debit is equal or not if equal then we should allow to save the form else it should not. We can have multiple lines under single header..Can any body help on this..Its very emergency..
    Thanks,
    Maggi.

    Hi,
    In Customer-exit ILOM0001 read table IMPT_BUF[] from sap stack. It contains all enteries of measuring points.
    Use below mentioned code in above exits for your reference.
    FIELD-SYMBOLS : <fs_impt> type ANY TABLE.
    data : tab_impt type TABLE OF impt.
    ASSIGN ('(SAPLIMR0)IMPT_BUF[]') to <fs_impt>.
    if sy-subrc is INITIAL.
      tab_impt = <fs_impt>.
    endif.
    table TAB_IMPT is filled wilth all entries of measuring point while creating and changing functional location.
    Thanks,
    Vijay

  • Attach a selection screen to a Tcode before accessing the table Contents

    Hi All,
         I have a requirement where when we access table from se16 we get a default selection screen...So the same selection screen should b displayed when that table is accessed directly with a transaction code attached to it..i mean the path is Tcode -->selection screen --> table/view contents.

    Hi srinivas,
    first let us discuss about your requirement.when you go to transaction se16 and enter a table name and then when you press enter you will get a selection screen to cretae or view contents of that table.you want to get that selection screen by entering any tcode in command bar.
    if this is your requirement please follow these steps.
    1)go to se16
    2)enter the table name and then press enter.you will get a selection screen for that table as we discussed
    3)in the selection screen go to menu item
      System->Status...
    you will get another screen
    4)in that screen you will see
    in SAP data->in Repository data->Program(Screen)
    note that program name
    5)go to se93(to create a transaction)
    6)enter a tcode which you like and press create
    7)  you will get another screen and in that screen select the radio button
       Program and selectio screen(Report Transaction)
    8)you will get create report transaction screen
    9)in that screen in program text box enter the program name that you noted earlier
    10)check all the checkboxes in GUI support
    11)save,check and execute the transaction.you will get the selection screen that you get when you use se16 for that table.
    please check the screen by entering the tcode that you created in teh command bar.
    please reward points if useful.

  • Setting DynaActionForm before loading the form

    Hi, all,
    There are many tutorials on how to set a form property to something in an action class after a form is submitted. However, how do you set items in a DynaActionForm in an action class before the jsp page is loaded? I have experimented with the following code in my action class, but it is still not getting set. Please tell me if you see anything wrong with my code or if I am barking up the wrong tree:
          FormBeanConfig formBeanConfig = mapping.getModuleConfig().findFormBeanConfig("shipForm");
          DynaActionFormClass dynaClass = DynaActionFormClass.createDynaActionFormClass(formBeanConfig);
          DynaValidatorForm thisForm = (DynaValidatorForm) dynaClass.newInstance();
          thisForm.set("shipType", "generic"); It seems that I have just made a DynaActionForm in the above code, but how do I make it THE form for the following page?
    Thanks!

    I have found some code out on the www, but It gives me an error:
          ModuleConfig moduleConfig = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
          FormBeanConfig formConfig = moduleConfig.findFormBeanConfig("shipForm");
          DynaActionFormClass dynaClass = DynaActionFormClass.createDynaActionFormClass(formConfig);
          DynaActionForm thisForm = (DynaActionForm)dynaClass.newInstance();
          thisForm.set("shipType", "generic");
          request.setAttribute(mapping.getAttribute(), thisForm);  // gives error at this line!
    // Partial Stacktrace:
    java.lang.IllegalArgumentException: Cannot call setAttribute with a null name
         org.apache.coyote.tomcat5.CoyoteRequest.setAttribute(CoyoteRequest.java:1439)
         org.apache.coyote.tomcat5.CoyoteRequestFacade.setAttribute(CoyoteRequestFacade.java:349)
         com.cdmtech.icodesweb.struts.action.ShipMaintenanceDispatchAction.selectShipAction(ShipMaintenanceDispatchAction.java:151)
            ...Right track? Wrong tree?

  • How to suppress the Save Dialog before closing the form?

    Dear all,
    I created a form which will open a data connection on a button click.
    I catch the error on failure and code to close my form by app.execMenuItem("Close");
    but a Save Dialog will appear before I can close it.
    (may be because I have done something on opening the form),
    is it able to suppress it? Or simply cannot?
    Best Rgds.

    but it seems that after event.target.closeDoc(true);
    the codes that follow will continue to run,
    but this doesn't happen if I use app.execMenuItem("Close");
    I already include the closeDoc inside the try catch.

  • CAN I JUST PRINT THE TEXT JUST ADDED IN THE FORM?

    I SCAN A FORM AND FILL IT, BUT I JUST NEED THE PARTICULARS THAT I FILLED AND PRINT IT TO ANOTHER PAPER, WHAT SHOULD I DO?

    Hi toxicfreemw,
    You can definitely print the form from the physical printer and then get it filled manually.

  • Minecraft gives black screen just before entering the map

    Hi all.
    I just created a new world and didn't even enter it. Because whenever i enter it i see those errors in the terminal and the game go black screen (Minecraft 1.8 & Sun java 6 & Nvidia 280 driver) :
    rafael@rafael-945GZM-S2 ~/.minecraft $ java -jar minecraft.jar
    java.io.IOException: Cannot run program "javaw": java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:31)
    Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... 1 more
    17 achievements
    161 recipes
    Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)
    Failed to open device (/dev/input/event2): Failed to open device /dev/input/event2 (13)
    Failed to open device (/dev/input/event1): Failed to open device /dev/input/event1 (13)
    Failed to open device (/dev/input/event0): Failed to open device /dev/input/event0 (13)
    Linux plugin claims to have found 0 controllers
    Starting up SoundSystem...
    Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
    OpenAL initialized.
    java.lang.NullPointerException
    at wb.p(SourceFile:84)
    at wb.a(SourceFile:63)
    at qr.a(SourceFile:95)
    at net.minecraft.client.Minecraft.a(SourceFile:460)
    at sf.a(SourceFile:115)
    at qr.a(SourceFile:72)
    at qr.f(SourceFile:120)
    at qr.i(SourceFile:108)
    at net.minecraft.client.Minecraft.k(SourceFile:1197)
    at net.minecraft.client.Minecraft.run(SourceFile:666)
    at java.lang.Thread.run(Thread.java:662)
    New max size: 484
    New max size: 784
    java.lang.NoSuchMethodError: org.lwjgl.opengl.GL11.glTexCoordPointer(IILjava/nio/ShortBuffer;)V
    at xe.a(SourceFile:116)
    at bv.a(SourceFile:184)
    at i.a(SourceFile:1188)
    at iw.a(SourceFile:866)
    at iw.b(SourceFile:756)
    at net.minecraft.client.Minecraft.run(SourceFile:689)
    at java.lang.Thread.run(Thread.java:662)
    Stopping!
    SoundSystem shutting down...
    Author: Paul Lamb, www.paulscode.com
    Exception in thread "Minecraft main thread" org.lwjgl.LWJGLException: X Error - disp: 0x89e6240 serial: 554 error: BadWindow (invalid Window parameter) request_code: 2 minor_code: 0
    at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:284)
    at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
    at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
    at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
    at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1028)
    at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
    at net.minecraft.client.Minecraft.d(SourceFile:506)
    at net.minecraft.client.Minecraft.run(SourceFile:750)
    at java.lang.Thread.run(Thread.java:662)
    Any help please ?
    Last edited by smokn (2011-09-15 14:29:24)

    I too am having Minecraft problems.  I've managed to fix the black screen issue by launching minecraft with the script posted in this thread.
    export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"
    java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
    Some people have reported that simply installing the updated LWJGL libraries has fixed the black screen problem but it didn't work for me.  If you're unsure how to do this, you basically drag and drop them into the proper subdirectories of ~/.minecraft
    Last edited by SuperRaWR (2011-09-20 02:52:17)

  • Why did my iphone 4 just go to the apple logo then go straight back to the home screen?

    I was just listening to music on my iPhone when all of a suden my music cut off. I looked right at my phone to see that it went to the apple logo then a few seconds later it went right back to my home screen. The only thing I had open on my phone was my music and a text message I left open for a moment. Is there a reason why my phone shut off? Is somethign wrong? Or am I jsut worrying for nothing?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for

  • Iphone won't power on after screen replacement

    So I've dropped my Iphone 4S once and screen showed blue vertical lines. I replaced the screen for about $120. After 6 months or so I dropped it again and the screen cracked. I decided to replace the screen on my own so I got a new one and replaced i

  • Bug in SQL Developer Version 1.5.1

    I have a problem with the Database Export : The generated Insert-Command look's like: INSERT INTO atable (Field1, Field2) VALUES (10.'test'); The Value-Separator is a point and not a comma. Is it a bug or have I chance to change the separator-paramet

  • Configuration of a Point to MultiPoint link with Cisco Aironet 1310 bridges

    Hi All, The previous problem of which I started another conversation here: http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Wireless%20-%20Mobility&topic=General&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddba023 somehow dissa

  • The Best Chart Tool?

    I looking for a chart tool to use in jsp and export chart to image format (gif or jpg). This lib must have direct connect to db by jdbc. Somebody knows which one can be the best choice?. Any suggest are welcome?

  • 4.7E Vs 5.0

    hi all 1. wts NEW GL 2. Difference in bet ween 4.7e & 5.0 3. wt are the additional fields are there in new gl coparing to old gl