APEX 4.1 is it possible to remove pagination "unsaved changes" message?

Hi,
We've developed a tabular form in APEX 4.1 which only contains one updateable column. Once the user modifies the column it raises a Dynamic Action which UPDATES data at source table. The problem is after modifying any field and clicking on pagination link, we get the following alert message "This form contains unsaved changes. Press "Ok" to proceed without saving your changes."
Is it possible to get rid of that message? I found the way to translate the message but nothing to remove it. We also saw pagination is calling a JavaScript function called paginate, would it be possible to modify its definition to disable the message somehow?
Thanks

Hi,
Apex uses a global array called gTabFormData to store the original form values when the page loads and identify which ones have been modified when the user does pagination. So, a hack you could use is to call this function right after you saved the changes to the database:
function resetFormCachedData() {
    var c = $x_FormItems($x('report_<REPORT_STATIC_ID'>));  // e.g. report_MYSTATICID
    for (var e = 0; e < c.length; e++) {
        if (c[e].name != "X01") {
            gTabFormData[e] = c[e].value
        } else {
            gTabFormData[e] = "0"
}I suggest putting this code in a JS library, so if Apex changes in a future release (e.g. providing a documented way to do this), it is easy to change it too.
Luis

Similar Messages

  • Is it possible to remove the submit form button that's automatically created when you distribute a form?

    I have created a form for my boss and distributed it. She doesn't want the submit form button to appear as people don't need to submit the form to anyone, just fill it in and keep a copy. I can't figure out how to remove this button. It's not one I've created, it's the one that it automatically generates when you don't have a submit button in your form. Is it possible to remove this button or do we just have to live with it? I am using Adobe Acrobat X Pro.
    Thanks

    You can have more control on the email subject/ to and CC Email address, if you use a regular button and place the code in the click event.
    Refer to the attached sample below.
    https://acrobat.com/#d=HouRLov3lOntSbqAfsr5Hg
    Thanks
    Srini

  • Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    I currently have a 2009 Macbook and am wanting to upgrade to a new Macbook Pro.  I have upgraded my hard drive in the macbook to a 500gb and have a duel boot with Windows 7 installed with Boot Camp along with other software that I do not want to lose.  Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    A much better solution is to hook your two Mac together and the first time you start the new Mac and it asks if you wish to recover data from another Mac, answer yes. This will invoke Setup Assitant which will do the job for you but intelligently.
    I know because I just used Setup Assitant. It worked like  a charm.
    Allan

  • Is it possible to remove yellow text background in the entire document?

    I have the same problem as the one that is mentioned here:http://forums.adobe.com/message/1155089 In my case the yellow background is already in the pdf-file which was created with a virtual pdf printer and then manipulated with another pdf-editor.  I noticed accidentally that it is possible to remove the yellow background in Acrobat Pro as if I'd edit an object. Getting rid of it on each page by hand would be a daunting task. Is it possible to do this somehow with the entire document? All help would be much appreciated.
    cheers
    Btw: The yellowish background does not appear in other pdf viewers.

    I'll try to describe the process but the exact numbers will depend on your document - as I said earlier when I ran a test of your file I got 3.4%, but you may not.
    Your file has a mixture of color spaces (CMYK/RGB/etc.) and so you must first run the Convert Colors tool from the Print Production Panel to get everything into a consistent space, or Preflight will choke. Run the default profile to convert to the SWOP v2 profile.
    Open the Output Preview tool from the Print production Panel and hover over one of the yellow areas, write down the percentage of yellow. Hopefully nothing else in the document will have the same percentage.
    Now open Preflight from the Print Production Panel, switch to the Single Checks tab.
    Open the Options menu, choose "Create new Preflight Check".
    Name it "yellow boxes" and apply it to "Page contents" and "Current file".
    Select the Colors group and pick "object uses Yellow with a percentage of..." - press ADD.
    Configure it with "Equal to" and your percentage (no % sign)
    Click OK, then switch to the Single Fixups tab.
    Options menu > Create new Preflight Fixup
    Name it "move yellow  to layer"
    Choose the Layers category, "Put objects on layer" and press ADD
    In the "Objects identified by a check" dropdown, select your "yellow boxes" check.
    In the Layer name field, type "yellow boxes"
    Click OK, then click the Fix button to run it.
    You'll get a message to save/close and reopen the file.
    When you do, (hopefully) all your yellow boxes will now be in their own layer.
    Open the layers navigator on the left side of Acrobat's window and turn off the eyeball for that layer.
    Print

  • Is it possible to remove "Revision" from standard check in

    Hi,
    Is it possible to remove or disable the revision text box in the standard check in screen. This number can be changed by the user each time the document is checked in. It can be changed to go backwards and use duplicated is the user changes it without giving an error i.e. 1 - 3 - 2 - 3. The documentation says "The revision increments automatically with each check-in of the content item, so generally, you should not change this value"
    Is there a way to remove/disable this from the standard check-in to prevent people changing it.
    Thanks

    Kizume and Rhm Zanz it should be still there as that is what manages that specific feature.
    In the top menu bar, where is says:      Finder   File   Edit   View   Go   Windows   Help
    Click on the Go, and in the same time click the option key on your keyboard near the space bar.  In that the drop down menu list the word Library will appear.
    Click on Library and Finder will open, look for the Preferences folder. Within that folder which should be in alphabetical order look for the file named, com.apple.sharekit.recents.plist
    Drag that file out of finder and unto your desktop. Close out the Finder window and close out all other your applications, including Safari, and reboot your Mac and once it turns on, reopen Safari and look at your share sheet. Any recents should be gone. That file named com.apple.sharekit.recents.plist will recreate itself on a clean slate in that folder. Should you encounter that you shared something again to a contact with Safari's share sheet, be sure to follow the same directions.
    Cheers!

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • Is it possible to remove or edit gps data from photos?

    Just listened to a Mac Roundtable podcast and they were talking about removing or editing gps data from photos taken with an iPhone but they never explained how to do it.
    Is it possible to remove or edit out latitude and longitude info from photo files?

    Thanks for this, though after looking at it I'm not too inclined to use an app that requires getting into the terminal. Way too technical for me. But thanks.

  • Is it possible to remove leading 0's?

    If I have a column called id_inst in tableA of type String
    and having a value of 0000203,is it possible to remove
    the leading zeroes from it?
    Select LTRIM(id_inst, ??
    Is this possible?

    There is of course no need to strip leading zeroes before storing a numeric value into a number datatype since Oracle will not store leading zeroes anyway.
    How a numeric value retrieved from the database is display is completely under the control of the requester via the to_char function:
    UT1 > select fld2, to_char(fld2,'009') as c2, to_char(fld2,'999.99') as c3
    2 from marktest;
    FLD2 C2 C3
    1 001 1.00
    2 002 2.00
    3 003 3.00
    5 005 5.00
    6 006 6.00
    HTH -- Mark D Powell --

  • Is it possible to remove properties from a dynamic class?

    I have a dynamic ActionScript Class that is used to send
    parameters to a WebService. Some of these parameters are always
    present, so they are public properties of the Class:
    package
    [Bindable]
    public dynamic class WebServiceCriteria
    public var property1:int;
    public var property2:String;
    public var property3:String;
    public var property4:String;
    But, I am also adding properties at runtime that can change
    over time:
    criteria.runTimeProperty = "1";
    I'm not very familiar with using dynamic classes, so I was
    wondering if it is possible to "remove" the new property. Let's say
    the next time I call the WebService I don't want that property sent
    - not even as a null. How can I remove it from the Class instance
    without creating a new instance each time?

    Hi,
    Please try delete criteria.runTimeProperty. Please find more
    details on the delete operator at the URL below.
    http://livedocs.adobe.com/flex/3/langref/operators.html#delete
    Hope this helps.

  • Is is possible to remove space in front of bulletButton?

    Hi all,
    Is it possible to remove the space in front of a bulletButton (RichTextEditor)?
    By that I mean the space in front of
    <- this.
    So that the bullet is totally aligned left.
    Thnx,

    Hi Malla,
    To my knowledge, this is not possible. You can hide/show the entire toolbar. But not a specific item for security reasons.
    Check out the following link
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=7845
    Regards,
    Mathan

  • Is it possible to remove an action log entry from a ticket?

    Hello.
    Is it possible to remove an actoin log entry from a ticket.  We may run into a situation when confidential data has been pasted into the action log.
    Thank you,
    Richard

    Yes, but not through the UI. the easiest way to do this would be with
    SMLets.
    Import-Module SMLets
    $IRClass = Get-scsmclass Workitem.Incident$
    $SRClass = Get-SCSMClass Workitem.ServiceRequest$
    $ActLogRelationshipClass = get-scsmrelationshipclass System.WorkItem.TroubleTicketHasActionLog
    $IR = Get-SCSMObject -Class $IRClass -Filter "Name -eq 'IR21'"
    $ActionLogs = Get-SCSMRelatedObject -SMObject $IR -Relationship $ActLogRelationshipClass
    Foreach ($ActionLog in $ActionLogs) {
    if ( $ActionLog.Description -match "TEST") {
    Remove-SCSMObject $ActionLog -Force -WhatIf
    It should be noted that this will not remove the action log form the data warehouse. there isn't a supported method to edit data in the DW, so you're kinda on your own if you need to remove this data from the historical records

  • Is it possible to remove user interaction in a eventListener ?

    Hi,
    I am working on two scripts that both need to deal with the user interaction.
    This following script works just fine. The only matter is that Indesign alerts me that the script prevented the UI dialog from opening.
    What if I don't want any alert ?
    #targetengine "newdialog"
    Application.prototype.main = function(){
         //app.addEventListener ("beforeNew", preventMe, false);
         var myMenuAction = app.menuActions.item("$ID/Document...");
         myMenuAction.addEventListener ("beforeInvoke", preventMe, false)
    function preventMe(myEvent){
         //alert(myEvent.cancelable);
         myEvent.stopPropagation();
         myEvent.preventDefault();
    app.main();
    I thought about userInteractionLevel but I tried to use it recently and I couldn't get it working. My intention was to get an automated update of my modified links when opening a file.
    It's like
    app.scriptPreferences.userInteractionLevel
    couldn't be set once the script has been launched.
    #targetengine "autolinkupdate"
    main();
    function main(){
         var myMenuAction = app.menuActions.item("$ID/kPMOpenDocTextKey");
         myMenuAction.addEventListener("beforeInvoke",removeInteraction,false);
         //app.addEventListener("beforeOpen",removeInteraction, false);
         app.addEventListener("afterOpen",updatelinks, false);
    function updatelinks(myEvent){
         var doc=myEvent.parent;
         var lk = doc.links;
         for(var i=0; i<lk.length; i++){
              try{
                   lk[i].update();
              catch(e){}
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    function removeInteraction(myEvent){
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    So my question is : Is it possible to remove user interaction in a eventListener ?
    Thanks,
    Loic

    Assuiming NHTEST is a database link to the remote database connecting with SCOTT, use user_Tab_cols@NHTESTNicolas.

  • Is it possible to remove unnecessary hardware and add more memory?

    I wanted to know if it was at all possible to remove, say, my cd drive and add more memory.

    Yes, it certainly is.  Look at this link:
    http://eshop.macsales.com/item/OWC/DDAMBS0GB/
    Ciao.

  • Is it possible to remove 'Self-View' softkey from 8945

    Hi All,
    CUCM 10.5.1.11900-13, 8945 load SCCP8941_8945.9-4-1-9.
    Does anyone know if it's possible to remove the 'Self-View' softkey from the 8945 when it's on hook?  Would like to free up a softkey so we can have other functions on the screen.
    Thanks,
    Jonathan

    Ref: http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-version-70/111900-cucm-faq-00.html#
    Q. How do I remove the self-view softkey on the 6945/8945?
    A. When you are on the video call, you will receive the option such as the self view box near the hide video button, and only the box is there. If you click that box, the self view video will disappear. If you press the same box again, it will appear on the screen again.
    -Terry

  • Is it Possible to Remove a Library from iTunes 12?

    I am trying to fix a synching issue in which, long story short, iTunes 12, without my knowledge, forced a move of my Books library from My Documents folder to the iTunes Media folder, and now the synching of my books is all f***ed up.  So I would like to try remove all book fodlers from the iTunes library and re-establish the Books library to where I originally had it.
    I guess the two main questions I have are:
    - I know how to add a folder to the library, but is it even possible to remove a folder from the library?
    - If I could do this, would what I am trying to accomplish even work?

    There are a few ways. Perhaps the simplest for you, since you only want to eliminate the first minute, is to use the Cycle Region. Press C on your keyboard (or the circular arrows button in the Transport controls) and you'll see a yellow bar appear at the top of the Timeline. You can move and resize it over the portion of the song you want to export. (Try zooming in to get it to an exact spot.) Then you use the Share menu to export the song while the Cycle Region is visible and only that portion will get exported.
    Alternately, you can highlight the portion you want to delete in the Track Editor and hit Delete/Backspace. Then you'd have to move the remaining region to the beginning of the Timeline and then move the End Of Song Marker to the end before you export.
    Depending on what you're going to use the song for, you can export at full (aiff) quality, or compress to mp3.

Maybe you are looking for

  • C#: Handle count is getting increased

    Hi, I have developed an application in C# that is doing some database operations. I am calling a method that is doing DB operation inside infinite do while loop and pausing the application for 1 second using Thread.Sleep(1000). When I left the applic

  • Link to a cue point in flv

    Hi everyone, I imported a video into flash and set three navigation cue points. Is it possible to linke to these cuepoints using buttons on my stage?

  • Can I update from version 3.6.18 to version 5.x

    Can I update from version 3.6.18 to version 5.x

  • Jdbc derby connectivity

    Hi I m new to java database connectivity part. I have written one program to connect with Derby database but whenever i execute the program i get following error: What could be the problem C:\Documents and Settings\milindk\Desktop>java TestDB java.sq

  • Install Report Service with 10gAS?

    I have installed Oracle 10gAS Enterprise (904). How can I install 10g Report Service in the same machine and the same ORACLE_HOME? please help.....