Skillbuilders Save on exit and form Plugin tabular popup LOVs in IE

Hello

I currently use the Skillbuilders Save on exit for a tabular presentation plugin and have a problem that only happens in Internet Explorer (tried 8 and 9) - it does not occur in Chrome or Firefox. I created the dynamic Action for the plugin to execute when the Page is loaded according to instructions.

My present tabular presentation of the fields that are popup LOVs. If in IE, I change the value of a field in the form of tables and then click on the LOV Save output warning goes off and I have to click OK on warning before my LOV popup window appears. For existing records I have overcome this problem by changing the switch to disable the warning :
:button, .lov a
The question I have now is when I add a new line to the tabular form using the button "Add a line" standard. If I change the value of a field on the new line, and then click the LOV I get the Save on the output warning message. I suppose that it is not deleted in the same way that it was for existing records, because the new line does not exist at the time wherever the dynamic Action then ran the lov (link) has not been added to the disabled items.

I would like to know the following, please? :
* Is there a known difference in behavior a popup LOV in IE form (which seems to act as if you leave the page) compared to say Firefox?
* Is it possible to add the link LOV popup on the new line of tabular form it also disables the warning?

I have created an example of my question here:

https://Apex.Oracle.com/pls/Apex/f?p=KK_SB_TF_SAVE_ON_EXIT

Concerning

Karl

Hi Karl,

The difference is that IE (wrongly) raises the onbeforeunload event whenever you click an anchor point, even if the anchor does not take the user to another page - as is the case with the Popup LOV.

Unfortunately, the plug-in must ensure that its code is executed before any other thing which is the reason why he's working onload. The only thing I can think is that you manually add the same functionality yourself using the public methods. For example, when a new row is added through the form of tables, you must add a click handler to anchor LOV. The call, click on:

$(document).apex_save_before_exit('disableWarning');

Then use setTimeout to solve the warning after a short period of time:

setTimeout(function(){$(document).apex_save_before_exit('enableWarning');}, 250);

Let me know how it works for you.

Kind regards
Dan

blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/
Twitter: https://twitter.com/dmcghan

Tags: Database

Similar Questions

  • Presentation tabular popup lov display value erased during validation

    Hello Infantraj and Jitendra

    I have exactly the same problem as in your discussion here

    Presentation tabular popup lov display value erased during validation

    Could you please share what was the solution?

    Hi Mark,

    Just follow the steps described in the blog (Cluttermeleon: Oracle APEX - descriptions of disappearing Popup LOV key) which is given in the thread. Instead of Java script that is at the page level using

    function get_LOV_value (pLOV, pId) {}

    If (pId! = ") {}

    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is get_LOV_value', 0);

    get.addParam('x01',pLOV);

    get.addParam('x01',pId);

    Return get.get ();

    }

    }

    Thank you

    Infant Raj

  • disable the Popup LOV and its icon in a tabular form

    Hello

    My requirement is

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    You can do it by using dynamic action.

    Use the javascript code in the next thread to turn lov popup tabular icon.

    Reference: How to disable the popup LOV (query based LOV) in the form

    and related to put on over ReadOnly rank tabular thread

    NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."

    If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.

    Kind regards

    Kiran

  • Save before exit Skillbuilders (version 3.0.1 for APEX 4.0): problem with some element of list in the form Manager

    Hello

    I have a problem with the plugin save before exit that I downloaded from Skillbuilders. As I use Oracle APEX version 4.0.2 and Oracle 10 g r2 database; so I downloaded one that says "Save before release (version 3.0.1 for APEX 4.0)" skillbuilders and follow-up of their documentation to import the plugin and use it.

    My problem is that even if I do not make any changes to data in the form and go to another tab. the alert message always appears, and by the way, I have an element of list manager on my form and it gets highlighted. So, even if I make the changes or do not change; still, the alert message is displayed and highlights the element of list manager. I think maybe the problem is to have a crèche in the form list item. I have reproduced the same problem in my personal workspace. Here are the details.

    http://Apex.Oracle.com/pls/Apex/f?p=55129

    Details of the workspace

    Name of the workspace: raghu_workspace

    username: orton607

    password: orton123

    App # 55129

    Page: 2 - has the element of list manager.

    Page 3 - works fine without the element of list manager

    Please help with possible suggestions.

    Thank you

    Orton

    Orton,

    I have connected to the workspace you and added a replacement JS file that corrects this error.

    If please, give it a whirl and let me know if you find other problems with it.

    It is to the 3.0.2 version of the plugin and I do not know if this even fix will work for your local Apex version earlier.

    When you are ready to go to the APEX 4.0.2 Please contact me directly for assistance. In the meantime, I'll work on the creation of a patch for this kind of new downloads of the plugin will contain this change.

    Greg

    [email protected]

  • Dynamic PDF up to 200 images, the size of the pdf is greater, cannot save the data and images to the form

    Hi all

    My client would like to dynamic images up to 200 photos to my forms. It works very well. However, when I add images up to 35 images. I could not add images to shape more. Then I save data on the form. All the images and the data entered on the form are missing. I don't know why.

    If I add only 10 images - I can record data and images on the form. 15456 KB is the size of the pdf.  I was unable to add more photos or data on the form.

    There may be a problem the size of the pdf? How big can make a limited dynamic pdf?

    Can save us the information and images as much as we want?

    I spent two weeks to work and trying to figure out this problem. However, it is not successful.

    Help, please

    Cindy

    You must ensure that your users do not import large images.

    Therefore, you can use a script on the change event of an image field that checks the size of the data and warns the user if the file is too large.

    function formatNumber(number) {
        var num = number + '',
        x = num.split('.'),
        x1 = x[0],
        x2 = x.length > 1 ? '.' + x[1] : '',
        rgx = /(\d+)(\d{3})/;
        while (rgx.test(x1)) {
            x1 = x1.replace(rgx, '$1' + ',' + '$2');
        }
        return x1 + x2 + "KB";
    }
    
    var sizeLimit = 200, //allow upto 200KB images
      thisSize = Math.round((this.value.oneOfChild.value.length * 3 / 4) / 1024);
    
    if (sizeLimit > 0) {
      if (thisSize > sizeLimit) {
      xfa.host.messageBox("Note: With " + formatNumber(thisSize) + " the size of the imported image is greater that the recommended maximum of " + formatNumber(sizeLimit) + ".\nLarge images can cause a insufficent performance.\n\nIf possible, use images with the following recommended specs:\nFormat:\t\tPNG or JPG\nColor depth:\t8 Bit (higher is not supported)\nColor space:\tRGB (CMYK is not supported)\nFile Size:\t\t" + formatNumber(sizeLimit), "Recommended image size exceeded", 3, 0);
      }
    }
    
  • Firefox don't ask to save tabs on exit and display them when restarting.

    Close a FF4 session with several tabs, don't ask me to save the tabs and so they do not show again on restart.

    In Tools-Options-Privacy, I unchecked
    Remember my browsing history
    Clear history of Firefox closing

    The other options are checked there.

    I checked in Tools-Options-Tabs
    Warn me when closing multiple tabs.

    My settings are incorrect? Basically I want the tabs open forthcoming session to another, but I don't want any other history to keep.

    A Firefox 4 is from Firefox showing the default warning message will stop, but it can be turned on again by changing some preferences.

    1. Type of topic: config in the address bar and press on enter
    2. Accept the warning message that appears, you will be taken to a list of preferences
    3. Find browser.tabs.warnOnClosepreference, if its value is set to false, double-click on it to change its value to true
    4. Repeat this step for these 2 preferences browser.warnOnQuit, browser.warnOnRestart
    5. From beta 12 there will be an additional preference that must be set to true - browser.showQuitWarning
  • Error message: to restore enough memory for programs running, save the file and then close or restart all programs

    It said "restore enough memory for programs to operate correctly, save the file and then close or restart all open programs".

    I changed the size of paging and says always the same, I have 1.5 GB free RAM, but don't know how to find or what to do 'virtual memory '.  Have windows 7.

    I started the safemode and run also memory dignostics and nothing found, please help, cannot afford to take a shop or get a new computer, I'm using another pc.

    I was recommended to download and. Run 'hitmanpro3'... but if anyone has had this problem and solved it or know how, please help!

    Thank you

    Hello

    Please contact Microsoft Community.

    I understand that you receive an error related to the lack of virtual memory. This error message appears when running any program that requires more memory your computer has, or running in the background, Windows manages the system memory by saving the data between physical memory and virtual memory. In order to help you better, please provide us with the following information:

    What is the brand and model of your computer?

    I suggest you follow the methods and check them off below if this solves the problem.

    Method 1: Clean boot

    A clean boot is a troubleshooting technique that allows you to get the computer facing up and running so that you can determine what elements of the normal starting procedure problems.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135

    Note: Once you are done with the clean boot, follow the section How do I reset the computer to start as usual after a clean boot troubleshooting under more information in the article to put your computer to normal startup.

    Method 2: Prevention of insufficient memory problems

    Follow the steps mentioned in the link and the check, it solves the problem. Follow the evolution of the size of the virtual memory section

    http://Windows.Microsoft.com/en-us/Windows/preventing-low-memory-problems#1TC=Windows-7

    Method 3: Virus Scan

    Microsoft Safety Scanner is a free burner that can be used to analyze a system for computer viruses and other forms of malware.

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Warning: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Additional information: Windows optimize for better performance

    Hope this information helps. Response with status so that we can help you.

  • Run the report and form 12 c

    Hello

    As in D2k we where using ifrun.exe to run the Oracle report and form module giving a parameter, in the form of 12 c and point out how we're going to run the package.

    In the ifrun.exe target us where giving as

    C:\ORANT\BIN\ifrun60. EXE C:\ERP\ERP\ERPMODULE. FMX erp/erp@erpksy

    Sandy

    Please see the documentation.  Windows 10 is not a certified platform.  The installation program performs a check to determine if the platform you are installing on is acceptable.  Probably, he sees that you're on Win10 and exits.

    Reminder, the basic steps to install are the following (don't forget first install Windows loopback adapter if the machine doesn't have a static IP):

    1. install the JDK 8U51 + (x 64)

    2. install WLS Infrastructure 12.2.1

    3. install the forms/States 12.2.1

    4. run the repository creation utility (RCU)

    5. run the Setup Wizard (to create the domain)

    6. start the WLS Node Manager, Server Admin and WLS_FORM.  If Windows, you must use a DOS shell with administrator privileges to do this commissioning initial.  Otherwise will result in the field not be created properly.

    Guides to the system requirements and the Installation Guide is located in the library of Doc here:

    http://docs.Oracle.com/middleware/1221/formsandreports/index.html

    The matrix certification can be found here:

    http://www.Oracle.com/technetwork/middleware/Fusion-Middleware/documentation/FMW-1221certmatrix-2739738.xlsx

  • Tabular with LOV PPR and popup errors

    I have a tabular presentation with several fields, which uses a value of selection as part of its sql source list.

    The fields are popup lov is that there are too many options for a selection list has.  While these work very well by default, so enable partial-page refresh in the form of tables and add a dynamic action for when the selection list is changed to refresh the form, whenever I try and add a new line of the window popup lov throw errors javascript 'object expected '.

    Someone else has come across this or know of a workaround?

    The apex is 4.2.5


    See you soon

    Have not met before, probably because usually I avoid discounting on tabular forms.

    But some research, I believe that what is happening is completely normal.

    When the page loads everything first, the init of the widget in a table row contains the javascript function calls. This means that the various manipulations on the plain text of it will also handle content of the script (and name etc.). What causes more functions to create the lines are created, as a function in the global scope is created for each line and each element.

    However, when page html code is retrieved on the server is placed in the document jQuery.html () - which "eats" the script tags and. After the update, the init line is reset. Because without script tags are present more that no function or is created. Where a javascript error because a nonexistent function is called.

    Note however, that this works when you add new rows in an index position that a line of work previously. In your case, if after the initial page load, you need to add a line, and then use the select that triggers the update, add a new line again no will cause an error. Features are created in the global scope, so they keep existing.

    Workaround solution? Yes, okay. Ugly as hell, but what is the source.

    1 / get elements of the last row lov

    2 / check these points if the associated function already exists

    3 / if not, go get the original function, discussed in the text, do replace it and add it to the global scope

    Add this to the declarations of functions and global variables:

    Only works for apex 4.2 AND a wizard generated in a table (not apex.item!)

    function myAddRow(){
      apex.widget.tabular.addRow();
    
      var lRowNum = apex.widget.tabular.gNumRows + apex.widget.tabular.gNewRows;
    
      $("#"+apex.widget.tabular.gTabFormReportID+" table.uReport tr:last span.lov input[type=text]").each(function(){
      var lName = $(this).attr("name");
      var lCheck = window["genList0_"+lName+"_"+lRowNum];
      var lOriginal = window["genList0_"+lName+"_$_row"];
    
      if ( typeof lCheck !== "function"){
        var lOld, lNew;
        lOld = lOriginal.toString();
        lNew = lOld.replace(/_0000/g,'_' + apex.widget.tabular.pad( ( lRowNum ), 4 ) );
        lNew = lNew.replace('p_element_index=" +  escape (\'0\')','p_element_index=" +  escape (\'' + ( lRowNum )+'\')');
        lNew = lNew.replace(/\$_row/g,( lRowNum ) );
        console.log(lNew);
        eval.call(window, lNew);
      };
      });
    };
    

    Change the button Add line to now call "apex.widget.tabular.addRow ()" but do call "myAddRow()".

  • I just downloaded Adobe XI on my macbook air, and now I can't save or print the PDF files. Don't let me do print - save as PDF, and if I do record as I get a message indicating that the file is corrupted. I had NO PROBLEMS of all do this several times unt

    I just downloaded Adobe XI on my macbook air, and now I can't save or print the PDF files. Don't let me do print - save as PDF, and if I do record as I get a message indicating that the file is corrupted. I had NO PROBLEMS of all do this several times until I downloaded the new version. I uninstalled and reinstalled it, nothing helps. I am super frustrated.

    lrfrustrated wrote:

    I just downloaded Adobe XI on my macbook air, and now I can't save or print the PDF files. Don't let me do print - save as PDF, and if I do record as I get a message indicating that the file is corrupted. I had NO PROBLEMS of all do this several times until I downloaded the new version. I uninstalled and reinstalled it, nothing helps. I am super frustrated.

    Print > save as PDF - use an excerpt (part of Mac OS X), so Adobe Reader should have no effect on that at all.

    As for the error "file corrupted", simply uninstall the Reader app will not affect it. Follow these steps:

    Mac/HD/Library/Internet Plug-ins

    Trash the files AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin

    Mac HD/Applications

    Trash the application Adobe Reader

    [user] / Library/Preferences

    Trash the com.adobe.Reader.plist file

    To access the [user] / Library, hold down the 'Option' and click on 'Go' in the FInder menu.

    Mac HD/Library/Application Support/Adobe

    Trash the drive (full record)

    Empty the trash.

    Download the installer FULL here: http://get.adobe.com/reader/enterprise/

    Quit your browser, and then reinstall the drive.

    Run it from the Applications folder and agree to the license agreement.

    You should have no problem with Safari PDF files download.

    Unfortunately, ANY PDF file that says it is damaged.... You will need their trash.

  • Hand-made backup of data and forms of data grids

    Hi guys,.

    Is it possible to make a backup of the data grids and forms of data manually (that is, without the use of LCM)? I work with a classic application, and I have files for all of the artifacts that were created (.alternance, .app, .rle, etc.).

    Thank you!

    See you soon!

    Easily through the U / I? Nope.

    Plan a.
    ------
    "Easier" option would be to use the hfmCopyApplication utility. (c:\hyperion\financialmanagement\server\HfmCopyApplication.exe). [NOTE: If you have 9 system, don't forget to download/get the system 11 version]

    The system 11 copy app gives you a healthy dose of flexibility in what you actually copy. For example, using the utility you can "copy" just forms/grids to another application. As with all versions of the utility, the application does not have to be in the same database as the source application. The utility works at the database level; Therefore, you don't need the application registered or same HFM running anywhere. All you need is available for utility data bases.

    If it was me, I create a new database file, use the 'copy' schedules or forms in the source application. Can I use the database connection and place the files in your folder structure for the storage. If you need to restore, all you need to do is Mount the database and use the copy utility to push them to an application.

    The major drawback here is that if you really want to look at forms / railings, you will need to register for this request and enter. A little annoying if you need to refer to the actual "source" forms and grids. If you simply need for a 'just in case' backup, it's probably a decent option.

    Plan B
    -----

    Write a script to extract all in the database tables. Excuse me, but I won't go into detail here because I have another post on this somewhere. Here are the important details.

    Tables of importance:

    _RPTS
    _BINARYFILES

    Navigate records in RPT for each record with the appropriate file type value. (3 = shape, 5 = grid)
    -For each matching record, take the EncodedLabel and get BinaryFiles lines where Label = EncodedLabel.
    -The BINARYFILE field has the text of the grid/form. I think it is in Unicode, but I don't remember off the top of my head.
    (NOTE: there may be several rows for an encodedlabel!) The field has a maximum length and if you have a grid or a big enough form, it will be more important and will require several lines. Remember to add together)

    NOTE: For bonus points, look at the ParentEncodedLabel. If you wrote your script well enough, you can use that is automatically create the folder hierarchy as well for you. It would be better than grids/forms spill in a folder on your computer/network.

    Plan C
    --------

    Review the U / I and click on about ten thousand times... Not recommended. Probably easier to curl up in the fetal position and cry yourself to sleep. :)

    Plan D
    --------
    Use the API to script a solution for this. The disadvantage of going directly through the database is that if they ever change the page layout, you have to adjust your scripts. If you use APIs published, in THEORY, these types of changes are extracted from your share as long as the ENTRY and EXIT of the API do not change, utility no matter what you do will work just as well. Sometimes the change in the API to the point where you have to adjust your program anyway, although...

    It's probably the more correct way to this address, SQL scripting is quite simple and is probably easier knock out.

  • "Save for Web and devices..." option under the menu file is grayed out

    I am trying to create a watermark as a fichier.png. When I try to save the file as a png via the option 'Save for Web and devices...' under the file menu of PS CS3, it is grayed out and cannot be clicked.

    I want to save the drawing in the format .png with a transparent background.

    I am running PS CS3 on Mac OS 10.6.8

    Thank you

    Gerard

    There are a few possibilities: the SaveForWeb plugin is missing, the document is not 8-bit RGB or the document is much bigger than SaveForWeb can manage.

  • There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:521)

    There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (0:521)

    Although I found other discussions in this forum regarding this error - none of the fixes seem to work. I have not found exactly the same error number (0:521), I might need a different fix for this? Has anyone else had the same error?

    Just to note, this seems to be a problem with Internet Explorer 8 on Windows 7 when displaying PDF files 'in the browser"which is using the plugin. Other versions of IE on other machines and FF on the same machine work very well on the same PDF files. It also works if you right-click on the pdf file, download and view it in Acrobat Reader 'locally '.

    Any help greatly appreciated, I'm stumped.

    'Open' Adobe Reader X

    Go to "EDIT".

    Open "Preferences" Ctrl + K

    Open "General".

    Select default PDF Manager

    Select the product of the WAA

    in this case WAA Reader X (10.1.1)

    Apply

    You want to enable blah blah blah YES

    Restart your system blah blah blah YES

    and he worked it at least he did

    a 0:521 on IE9, Windows 7 error

  • CS5 Photoshop - Adobe save for Web and devices error

    Hi people,

    I know subjects similar exist, but this one is different. For some reason, out of the blue, I can't use 'Save for Web'. When I choose "save for web", he opens the dialog preview nicely, until I have save & get this error:

    "Adobe save for Web and devices error ."

    Unable to complete this operation. An unknown operating system error has occurred. »

    save4weberror.png

    Deleted all my settings, and the error remains.

    I uninstalled PS CS5, installed again... always get this error.

    I hope someone knows how to solve this problem!

    TX!

    MacBookPro3, 1, running all the updates (OSX 10.6.4), CS5 Master Collection.

    Luckily still have CS4 Master Collection installed (and Flash CS3).

    (I just what to get off my chest, CS5 has so many of the issues that I have stopped using it, I'm not being paid to play. crashtestdummie ) Please don't rush all future collections CS and try to fix bugs instead. )

    It's fixed!

    I deleted this file:

    / Users / ~ / library/Preferences/Adobe/Plugins/Adobe save for Web, Photoshop/CS5/Adobe save for Web CS5 pret.

    (apparently, yet another settings file?)

    I had to do it manually and all is good now.

    TX Jeff for your help, this thread can be closed.

  • Firefox keeps search and form history when I told him not to do so.

    I've updated the security settings and privacy where Firefox does not remember search and form history, but it still does it... do I have to erase this story everyday when I used Firefox?

    You're welcome Helen.

Maybe you are looking for

  • video update

    Please, help me level video on PC HP Pavilion a C 6157, Windows Vista 32-bit.  If I install a video card is it possible to provision of iIs do not change the power of the PC.  I'm not a gamer, just need to connect HDTV and keep the existing monitor.

  • Why the bottons keep event pressed, although the structure of the event has already executed the event

    I have a problem with this VI, the structure of the event running the event when you press the botton but the botton maintains, even if the event has already run, just the stop button works as it should. Everyone thinks that I have to use an architec

  • wertetabelle aus einer curve create

    Moin, Bitte um Hilfe: ICH habe 8 Wertepaare und möchte eine curve generieren should. Aus dieser curve (oder einer Funktion) möchte ich nun mehr Wertepaare, also eine Wertetabelle create. Is nicht so schwierig, aber ich finde nichts. Danke schonmal

  • How can I delete name of user/passwords stored on my PC

    Hi, I have always chosen Remember me, save the details etc, so I can easily access my sites & don't have to put in my details, I've now decided that this is not a good idea & would like to dlete this from my PC, how can I get rid of this & where is i

  • Which windows do I have? Vista or 7?

    Hello I am very angry at the moment, hope someone can help me. I bought my computer years ago (it was a personal computer), and I remember buying Windows 7. I don't remember if the store installed her or me. Today, I ran a check on "can you run it?"