Custom save / apply changes / remove buttons...

Hi all

I wanted to make a custom save / apply changes and delete buttons in my forms. That's why I wrote some JavaScript functions to call these actions as shown below;

function saveRecord (pListPage) {}
If (P & APP_PAGE_ID._CALLACTIONTYPE! = 'CANCEL') {}
If (P & APP_PAGE_ID._CALLACTIONTYPE! = 'DELETE') {}
doSubmit (P & APP_PAGE_ID._CALLACTIONTYPE);
}
}

lvurl = ' f? p = & APP_ID.: "+ pListPage +": & APP_SESSION.:NO: ' + pListPage + ': P' + pListPage + '_CALLTYPE' + ', P' + pListPage + '_CALLFROM, P' + pListPage + '_SELECTEDRECORD,' + 'P' + pListPage + '_MANDATORYFILTER,' + 'P' + pListPage + '_MANDATORYFILTERVALUE, P' + pListPage + '_REFERENCEDBY' + ':' + $v (P & APP_PAGE_ID._CALLTYPE) + ',' $v (P & APP_PAGE_ID._CALLFROM) + ',' $v (P & APP_PAGE_ID._SELECTEDRECORD) + ',' $v (P & APP_PAGE_ID._MANDATORYFILTER) + ', ' + $v (P & APP_PAGE_ID._MANDATORYFILTERVALUE) + ' ,' + $v (P & APP_PAGE_ID._REFERENCEDBY);
Top.Location.href = lvurl;
}

function deleteRecord (pListPage) {}
document.getElementById("P&APP_PAGE_ID._CALLACTIONTYPE").value = 'DELETE ';
confirmDelete (htmldb_delete_message, 'DELETE');
}

But the problems that I couldn't sort out;

1. If an error occurs in doSubmit(); (can be any DB error by triggers etc..) I can't show the error. Someone know to check if doSubmit() returned an error or not...

2 Remove button displays the confirmation dialog box, but when I confirm delete I had a show of error below.

"Error checksum for the hidden and protected item ID (1737324593811176), (D636C53A8C84A57A1BBB04A61B600C4A) checksum of the posted value (DELETE), total control expected (*), index_i (9), index_j (5), index_m (7);

Can you please tell me how to sort this problem or can - does anyone know that there is another way to do these things?

I really need help guys...

Thank you very much
Osman...

Osman:

If you remove the "reset page" process which is currently on page 3, the values contained in P3_CALLTYPE, P3_CALLFROM etc. (all 3 items page) will be kept. If you need to reset only certain page elements, you can write a simple pl/sql block that defines the values of the elements of these pages to null.
Also, hidden items, stated on page 3 are not from database columns. APEX auto-line treatment is therefore not aware of these page elements. If you need the values of these hidden objects to be written to the database, you will need to write your own pl/sql page process to perform the DML required

CITY

Tags: Database

Similar Questions

  • How to remove the warning "do you want to save the changes to investigation.pdf before closing.

    Question: To remove the warning "do you want to save the changes to investigation.pdf before closing.

    I created a file of pdf XFA (using the LC Designer 8.2) to view this issue

    I can't attach PDF file. Without attaching the pdf file, it would be difficult to explain.

    Click event js:

    function activateUser() {}
    var PDFVersion = xfa.host.variation + xfa.host.version;
    xfa.host.messageBox ("registered button click event");
    XFA. Form.Form1.sendForm.welcomeMsg.Presence = "invisible";
    XFA. Form.Form1.sendForm.successMsg.Presence = "visible";
    Event.Target.Dirty = false;
    };

    docReady event js:

    function displayInfo() {}
    var res =xfa.host.variation;//Added this line to display the successMsg
    xfa.host.messageBox ("docReady event recorded");
    XFA. Form.Form1.sendForm.welcomeMsg.Presence = "visible";
    XFA. Form.Form1.sendForm.successMsg.Presence = "invisible";
    };

    docClose js event:

    xfa.host.messageBox ("docClose recorded event");
    Event.Target.Dirty = false;

    Steps to get the caveat:
    (1) open the attached pdf using Acrobat Professional.
    (Bouton 2) click on registration to confirm.
    (3) now close the document and the Acrobat gives a warning "do you want to save the changes to investigation.pdf before closing.

    The XFA pdf summary:
    It has two text fields. DocReady event field has done this & field B is rendered invisible.
    The button click event of the field made invisisble & field B are made visible.
    Closing the pdf should not raise this warning message.

    My Efforts:
    (1) found a property in js adobe docs.
    Event.Target.Dirty = false;
    It does not solve the problem.
    (2) I tried to put this logic in almost all the events listed in the designer, but I'm not able to solve the problem.

    Please help me solve this problem.

    Hello

    Change the visual appearance is dirty the screen, before all data are actually entered in the form. I've seen this before.

    I think that the docClose event is too late to have the sale/requiresFullSave script. preSave does not either, as this is triggered after the warning dialog is displayed.

    For a test, I would put the sale/requiresFullSave script in the layout event: loan. Not the most efficient, but he should do after changing the visibility of the messages.

    This could be interesting: http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html

    Niall

  • Portege 2010 - cannot find the button FINISH to save the changes to the BIOS

    I couldn't save my Bios Setup because I can not find the keys to the end to save the changes.
    I tried to hit all the keys on keyboard, but none of this save the settings.

    Can you show me the keyboard scheme showing the end keys?
    I have toshiba portege 2001 series.

    > Can you show me the keyboard scheme showing the end keys?

    I checked the user manual which you can download from the Toshiba user manual page and the END button seems to be located in the upper right corner, it s above the BACKSPACE key.

    See you soon

  • Display too large for the screen prevents access to apply or OK buttons to implement changes to the resolution.

    Can not access to apply or the buttons OK for changes in the resolution, because the text size too wide and does not scroll in.   Having the same problem trying to scanning/printing document.   How to restore the default resolution without being able to click OK?

    You are welcome.

  • The payment change ADOBE info Web page fails - I can't scroll down to save the changes. My subscription is expired and I am dead in the water! I can't find a support customer portal to this problem - HELP PLEASE!

    I can't scroll down to save the changes. My subscription is expired and I am dead in the water! I can't find a support customer portal to this problem - HELP PLEASE!

    catsrock

    Great salvation,

    We are sorry for the inconvenience caused to you!

    I recommend you contact customer service regarding this issue.

    Kind regards

    Rahul

  • When I select edit then preference, the window is too large to be able to see the record button at the bottom to save my changes in the preferences.  How do I make the window smaller so I can't save my changes?

    When I select edit then preference, the window is too large to be able to see the record button at the bottom to save my changes in the preferences.  How do I make the window smaller so I can't save my changes?

    Your system meets the requirements of System. Dreamweaver?

    The problem can also be caused by the settings of your system as in

  • Acrobat XI - personalize / create the new set of tools.  I want to add tools to Mark Up, but the record button at the bottom of the screen is gray evolve, and I can't seem to save my changes.  What gives?  Need these tools to increase!

    I tried different routes to add the standard brand of tools to my page, but it doesn't seem to be a way to save the change.  Never had this problem before.  I'm working on a Surface Pro 2.

    Hi smartguy927,

    Please open Acrobat, go to the menu help & "Repair Installation", also check the updates, if any please install.

    Now, try to reproduce the problem.

    Kind regards

    Nicos

  • I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    Trying to convert to the. WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • ' T access my passwords because I don't remember masster pw, how can I change/remove it?

    Well I forgot my master password and when I tried to change/remove, it asked me to enter my master password which I do not remember. So what now?

    The button for this was hidden to reduce accidental resets. You should be able to rinse it, as well as the previously saved passwords, by following the steps in this article: reset your master password if you forget. Does it work?

  • Photos app does not save the changes, impossible to edit photos without using other applications

    'Photos' of photo editing features does not work because it is impossible to save the changes. Photos can be edited as usual, but trying to save the changes that the photo is reinstated to the State of origin regardless of changes. There is no error message, to solve the problem, I tried to reset all settings, but it did not help.

    I have iOS 9.2.1 on an iPhone 6 s.

    Thanks in advance for your advice

    I have the same question since getting my iPhone 6. Very frustrating. Several times the photo says even "revert to original" even though the changes have been never applied, as if he thinks he has saved the changes. I asked for help with an apple store and they had never seen before and had no suggestions.

  • Why won't my router save the changes to 192.168.0.1 DNS settings? (DGN2200v4)

    I just bought a DGN2200v4 and successfully connected to the internet. However, it took me ages to figure out how to save the changes made to DNS settings. (I wanted to use "OpenDNS" on 208.67.222.222)

    It turns out that if I connect to the router through 192.168.0.1, I can not change the DNS settings. When I click "Apply" after entering the new numbering, it takes 30 seconds or more for the progress bar for complete, but no change is made. i.e. it does not save the changes I made.

    If instead I connect to the router via www.routerlogin.net, changes are correctly saved after clicking 'Apply', with the progress bar by taking 30 seconds or more.

    I tried several times with consistent results. Why 192.168.0.1 not working then as www.routerlogin.net don't? I thought they were equivalent - the webpage 'Netgear genius' is identical on both...

    JC

    JCA says:


    Also, do you recommend make a factory hard reset after the firmware update, or there at - there no need?

    Sorry for the late reply.

    Personally, I tend to reset factory and re - enter the settings manually, unless I've saved a backup of this same version of the firmware. However, I use Netgear as Access Points routers and so I have little data to re-enter. To some people will say that a factory reset is useless and very often they would be correct, but the effects of factory reset no when it may be necessary are often difficult to predict. I was moderator on these forums for a dozen years, and have seen hundreds of threads where the solution to the problems after an update of the firmware has been at the factory to reset the router.

  • Change/Remove primary parent

    Hello

    I need to change the primary parent on behalf of Microsoft family safety from one parent to another parent.

    How can this be accomplished?

    Thank you

    Arlo

    Hello

    To change the primary parent account that is associated with your child's account, you need to remove the primary parent. This will remove all restriction settings you requested to your child. After removing the primary parent, you will need to restore on behalf of the child under the new primary parent and the installer restriction again. To do this, please follow the steps below:

    1. go to https://familysafety.microsoft.com and sign up using the primary parent account.

    2. after accessing it, you will see the main page and a list of family members who are associated with the account main parent. Click manage the list of the members of the family , this option is next to make a family member, a parent.

    3. on this page, you can remove the Member who is under your account. You can also remove the primary parent by clicking on the checkbox next to the name of the main account.

    4. Once you have chosen, all members that are related to your account will be also included.

    5. click on the Remove button and confirm the operation.

    Once this has been done, you will have to restore on behalf of the child under the new primary parent account. To do this, please follow the steps below:

    Add/Re-adding a child (with a Microsoft account) for parental control in Windows 8

    In Windows 8, you can use accounts of Microsoft as a user. You just link the Microsoft e-mail account to the new standard user. Follow these steps:

    Note: Make sure that you have an internet connection to create a user with a Microsoft account.

    1. press Windows key on your keyboard to access the applications screen.

    2. tap create an account (you will be redirected to search application screen automatically).

    3. click on settings (second option with the gear icon).

    4. click on create an account on the selection to the left pane. (You may be prompted for access admin select an admin user, and then enter the administrator password).

    5. in the account management window, click Add a user account.

    6. you will be prompted to add a user, enter the Microsoft account email address in the text box then click on Next.

    7. check This is a child account? Turn on family safety for PC usage reports.

    8. click on Finish.

    After you create the child account, you can then go to the Family Safety website, log in using the parent account and then manage restrictions and control of your child options.

    Let us know the result later.

    Thank you.

  • Windows Photo Gallery - cannot save the changes when you edit a photo

    Photo Gallery - cannot save changes

    When you edit a photo, I get this message: "unable to save changes to this picture because library has encountered a problem." I tried various things I found online (several threads on this site as apparently others have experienced this too), but none of the ideas allowed. Here's the thing, it worked for years until now. Last week I played ignorance a little with my services, disabling some supposedly speeding up my computer and also played with my Start menu. I don't know that I've changed, however. Can any particular service being disabled cause this problem? Thank you and have a nice day.

    When you edit a photo, I get this message: "unable to save changes to this picture because library has encountered a problem." I tried various things I found online (several threads on this site as apparently others have experienced this too), but none of the ideas allowed. Here's the thing, it worked for years until now. Last week I played ignorance a little with my services, disabling some supposedly speeding up my computer and also played with my Start menu. I don't know that I've changed, however. Can any particular service being disabled cause this problem? Thank you and have a nice day.

    =================================
    I have collected the following information from various places...
    If there is something you haven't tried
    may be useful:

    Windows Photo Gallery... Cannot save modified photos...

    No guarantees and proceed at your own risk!

    Good luck...

    --

    (1) try to do a system restore to an hour before
    the problem started.

    With the help of the Windows Vista system restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    --

    (2) I've seen reports that this problem may be related
    Kodak Easy Share software. Installation "Kodak
    Single-action Version 8 for Windows from the
    the following link may be the solution.

    Kodak Easy Share 8 software version
    http://www.kodak.com/eknec/PageQuerier.jhtml?PQ-path=130&PQ-locale=en_US&_requestid=5320
    (FWIW, it's a good idea to create a system)
    restore point before installing software or updates)

    --

    (3) I saw reports that could clarify the next steps
    until the question...

    Right click the library icon and choose
    "Run as Administrator"

    --

    (4) I copied the info from a tech forum on
    the net... I don't know if it works, but maybe it's
    worth a try:

    A. right click on Task Manager open the
    taskbar on the bottom of your screen and choosing
    The task in the menu Manager.

    B. click the tab process, along the upper part of the
    The Task Manager screen.

    C. in the process tab, select the corresponding button at the bottom
    left of the screen that says "show processes of.
    all users"and click on it. Click 'Continue' to the UAC
    the prompt that appears.

    D. the screen should turns off a moment, then
    back with much more than process listed. Click
    the "Command line" column to sort the list and
    Search:

    "C:\Program Files\Windows Media Player\wmpnetwk.exe"

    Read the description in the next section on:

    Windows Media Sharing Service reader network

    F. click on this process. Click the end «»
    Treat button"at the bottom right of the screen.
    Confirm 'End process' if necessary.

    You should now be able to save your changes to
    your photos normally. The bad news is that this
    should be performed whenever you start or restart Vista.
    And I don't know how to prevent the situation from
    in the first place of loading.

    --

    5) posted by: artologik
    The solution came to me when I could not recreate
    the problem on a laptop with Vista Home.
    Everything I could compare, I noticed that the
    %Path% environment variable was not between different
    the 2 machines.

    I guess that WLPG relies on the dll must be found
    on the way to the system; When not found, it must return
    Back to ' base or incomplete "library finds it
    the default specific paths or the user. The solution for
    me has been to ensure the entire path system
    to the folders in the order appropriate.

    To fix, follow these steps:

    A. right click on the COMPUTER icon on the
    desktop and choose PROPERTIES

    B. choose ADVANCED SYSTEM SETTINGS

    C. Si you are prompted by UAC to allow, go ahead.
    and ALLOW

    D. click on ENVIRONMENT VARIABLES...

    E. in the bottom half, under SYSTEM VARIABLES,.
    Find the PATH variable and highlight the

    F. click the button CHANGE

    G. ensure that what starts with
    % SystemRoot%\system32;%SystemRoot%;

    H. ensure you that a semicolon separates each entry.

    I. click OK three times

    J. restart the computer

    Good luck...

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Can't save changes made to the photos. Claims "error in Gallery blocks save ' how can I save the changes?

    When cropping or erase red-eye or auto adjust color, a box appears that says, error in Gallery blocking save.   Very frustrating...

    ==========================================
    Windows Photo Gallery... Cannot save modified photos...
    ==========================================

    No guarantee, but the news shows might offer some ideas.

    Proceed at your own risk *.

    Good luck...

    --

    (1) try to do a system restore to an hour before
    the problem started.

    With the help of the Windows Vista system restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    --

    (2) I've seen reports that this problem may be related
    Kodak Easy Share software. Installation "Kodak
    Single-action Version 8 for Windows from the
    the following link may be the solution.

    Kodak Easy Share 8 software version
    http://www.kodak.com/eknec/PageQuerier.jhtml?PQ-path=130&PQ-locale=en_US&_requestid=5320
    (FWIW, it's a good idea to create a system)
    restore point before installing software or updates)

    --

    (3) I saw reports that could clarify the next steps
    until the question...

    Right click the library icon and choose
    "Run as Administrator"

    --

    (4) I copied the info from a tech forum on
    the net... I don't know if it works, but maybe it's
    worth a try:

    A. right click on Task Manager open the
    taskbar on the bottom of your screen and choosing
    The task in the menu Manager.

    B. click the tab process, along the upper part of the
    The Task Manager screen.

    C. in the process tab, select the corresponding button at the bottom
    left of the screen that says "show processes of.
    all users"and click on it. Click 'Continue' to the UAC
    the prompt that appears.

    D. the screen should turns off a moment, then
    back with much more than process listed. Click
    the "Command line" column to sort the list and
    Search:

    "C:\Program Files\Windows Media Player\wmpnetwk.exe"

    Read the description in the next section on:

    Windows Media Sharing Service reader network

    F. click on this process. Click the end «»
    Treat button"at the bottom right of the screen.
    Confirm 'End process' if necessary.

    You should now be able to save your changes to
    your photos normally. The bad news is that this
    should be performed whenever you start or restart Vista.
    And I don't know how to prevent the situation from
    in the first place of loading.

    --

    5) posted by: artologik
    The solution came to me when I could not recreate
    the problem on a laptop with Vista Home.
    Everything I could compare, I noticed that the
    %Path% environment variable was not between different
    the 2 machines.

    I guess that WLPG relies on the dll must be found
    on the way to the system; When not found, it must return
    Back to ' base or incomplete "library finds it
    the default specific paths or the user. The solution for
    me has been to ensure the entire path system
    to the folders in the order appropriate.

    To fix, follow these steps:

    A. right click on the COMPUTER icon on the
    desktop and choose PROPERTIES

    B. choose ADVANCED SYSTEM SETTINGS

    C. Si you are prompted by UAC to allow, go ahead.
    and ALLOW

    D. click on ENVIRONMENT VARIABLES...

    E. in the bottom half, under SYSTEM VARIABLES,.
    Find the PATH variable and highlight the

    F. click the button CHANGE

    G. ensure that what starts with
    % SystemRoot%\system32;%SystemRoot%;

    H. ensure you that a semicolon separates each entry.

    I. click OK three times

    J. restart the computer

    Good luck...

  • Not available change icon button

    I have a program that includes two parts, two shortcuts, but the same icon for each.

    SnagIt and SnagIt Editor.

    On my pc windows 8.1 I could change the icon icon I did just by right clicking on the icon, choose Properties, shortcut, and then click Change icon.

    On my pc win 7, change icon is not available.

    I tried as admin, but that did not work.

    Is there a reason why this would be?

    Every other icon on the desktop, pointing to a program has available change icon?

    No idea why this might be the case? In any case of change by using only not the properties box?

    Graham

    Figured it out. For some reason any shortcut, if it worked by opening the program, was not a good shortcut.
    By removing these, replacing them with new shortcuts from the windows > programs folder etc, I managed to get the job of change icon button and change the icon :)

Maybe you are looking for

  • Music library has emptied

    My library of music on my PC (content downloaded CDs and downloaded items from the store) seems empty.  I tried to download files from an application when it happened. Is it possible to sync with my iPod that gets the music between iPod and computer?

  • Capsule WiFi does not

    A year and half ago we bought a new Mac and the Time Capsule (TC) to go with it. I tried to set up at the start and think about this topic, I do not think that it has never worked properly. I say this because we got a new modem without router because

  • How to remove the adware on my imac (I use firefox not safari)

    For work, I downloaded filezilla and now I get pop ups advanced cleaner mac or mac advanced (?) cleaner. Please help me remove these annoying pop-ups.  (By the way, I tried to follow the instructions presented by Linc Davis in the post by Supermom 66

  • IdeaPad Yoga 13 - flashing icons and taskbar

    I have a Lenova IdeaPad Yoga 13 and updated since Windows 8.1 for Windows 10. Everything works fine apart from the icons flashing in the bar of tasks and above the taskbar. The flashing seems to start when I move the slider autour, but in any particu

  • An entry to determine the output of a polymorphic VI?

    Hi all I communicate between producer/consumer loop using a queue. The queue would be element is a group consisting of an enum type def and a Variant. In the variant data type will depend on the State of the enum. I would use a Subvi to convert the v