Confirmation to user regarding Save changes depending on data change

Hi,
I am using JDeveloper 11.1.1.0.2 version and new to ADF. I have a situation like, i have 8 - tabs and user will be moving from one to another by optionally modifying the information displayed on the each tab. If user doesn't modify the page, then system should not prompt for "Saving the data in the perticular tab". However in the case of modification in the tab and moving to another tab, system shoud prompt to the user with the message "Do you want to save the changes? Yes/No".
I need a help regarding this by using the JavaScript / backing beam. I feel, if this can be implementable by using Javascript will be good.
If we implement the above by using backing bean, then we may end-up in using ActionListner to send the status back to server and at the time of moving to another tab, again travel back to server to get the changed value status. If i have 20 elements on page, there may be ActionListner for all GUI element respectively and frequently traversing back to server may not be good.
If the code is shared related to above scanario, will be a great help.
Thanks in advance,
--Majid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

This might help
http://manieshsailoz.blogspot.com/2010/05/declarative-dialog-component.html

Similar Messages

  • Reporting on SR Owner Change, Activity Due Date Change

    We have few Report Requirements around Audit Trail. We are looking for Reports where we could Track Service Request Owner change, SR Status Change, Activity Due Date Change etc. As we know, In CRMOD Analytics, we cannot report on Audit Trail or use the PRE() function. Can anybody suggest any other ways for reporting on the Changes where we could show each and every change made to these fields and not only the previous values.

    Lets Say you want to track status Change in SR. There are two ways of doing it.
    Option 1:
    Create a Long text field in SR page.
    Name it "Track Status Change". Do not Display the field to the users.
    Default the Field to Initial Status+","+Now().
    When the Status Changes, you need to append the field with "Current Status"+","+Now()+";"
    The Semi Colon is delimiter to show that this is the new status. This delimiter would be used in the report to seperate the status. You can achieve this using the reporting functionalities.
    The down side of this is that it can affect the performance of report since lot of Sting functionalities would be used for the tracking.
    Option 2
    Whenever the status changes, create a completed task. Populate the Subject of the task with the Status. Put a workflow/field validation so that no one edits the subject when the task is created automatically.
    You can run a report on the Task Created Date and Subject to get the Audit Trail.
    Let me know if this helps.
    Paul Swarnapandian.

  • Allow reader users to save pdf form with data

    I want to create a form that an adobe reader user can open and save a copy as a pdf with the data in the form. I know that requires reader extensions - what i can't seem to figure out is if I already have this included and how to do it. I have LiveCycle Designer ES 8.2 - which is the download I end up at when searching LC with reader extensions.
    Does anyone have instructions on how to do this or know whether that functionality is available in the version I'm running?

    You can add the Reader Extesnion right to save the form with data locally in two different ways.
    1. In Acrobat Pro open the form and under the Advanced/Extend Features in Adobe Reader will walk you through a wizard. Once the wixard is finished, save the file and use that one. This technique is limited to 500 users by licence.
    2. LiveCycle Reader Extensions Server has a User Interface that allwos you to pick the rights you want. There are no luser imitations to this option.
    If you do not have either, option 1 is a lot simpler. You can download a trial copy of Acrobat Pro and try it.
    Paul

  • Regarding the Time dependent master data error

    Hi Masters,
            I've loaded the time dependent master data from flat file only two fields. When I checked that corresponding characteristics in maintain master data, that contains by default from date 01.01.2007and to date 31.12.9999 this date also. Could you please help me to rectify this error.
    Thanks in advance
    Raja.S

    Hi Antonino La Vela
          I have 2 Project Manger and in different duration for different project.
    Following datas are my data in Excel sheet.
    PM Name                    To date             From Date           Costcenter
    Ragunath                    01.09.2007        01.06.2006           Project name1
    Ramana mani              01.02.2008         02.09.2007          Project name2
    while loading above data, I'm getting following data in maintain master data
    PM name                   To Date             From Date           Costcenter
                                     31.12.9999         01.01.1000
    Ragunath                   31.05.2007         01.01.1000
    Ragunath                   01.09.2007         01.06.2007            Project Name1
    Ragunath                   31.12.9999         02.09.2007 
    Ramana mani             01.09.2007          01.01.1000
    Raman mani               01.02.2008          02.09.2007           Project Name2
    Raman mani               31.12.9999           02.02.2008   
    Could you please help me, how this unnecessary datas are loaded by default?
    Thanks in Advance
    Raja.S

  • Employee date change after pay roll run

    HI sapiers,
    i have an issue
    one employee join on 10th of the may but in sysytem it was enterd as 13th of the may
    and pay roll was processed to that employee
    now can we change the employe join date now
    if yes how can we do this
    please help me its urrgent
    thanks in advance
    shjish khan

    Hi Shajish,
    There are three scenarios when you may need to change hiring date:
    1) After payroll is run - when hiring date is before actual Hiring date.
    2) After payroll is run when hiring date is after actual Hiring Date.
    3) Before the payroll is run.
    1) PA30 -- Copy actions info type - action type - incorrect entry -- save and come out PA 30 copy actions info type -- action type - correct entry - now correct your entries, save your date is changed.
    2) PA30 - Utilities - change payroll status - delete accounted to field, save and come out - then again utilities change entry leaving date - correct the hiring date - save and come out.
    3) PA30 - Utilities change entry/leaving date change your date and save.
    Try this aslo
    Go to PA30
    Enter personnel number.
    Select action infotype.
    Select subtype hire mini master record.
    Change to new date.
    Under reasons, select new position.
    Click save.
    Please refer the below links:
    http://help.sap.com/saphelp_470/helpdata/en/48/35c5c34abf11d18a0f0000e816ae6e/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/48/35c5c34abf11d18a0f0000e816ae6e/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/1b/3e5c16470f11d295a100a0c9308b52/frameset.htm
    Also we have several threads in the forum related to this.
    http://scn.sap.com/thread/1185695
    http://scn.sap.com/thread/1185695
    http://scn.sap.com/thread/2012142
    http://scn.sap.com/thread/1466306
    Thanks,
    Madhav

  • The date changed for unlocking my iPhone from July to October

    For some change reason the date changed on which I was able to unlock my phone. I was July but suddenly it changed to Oct 2012. I have a German provider (T-Mobile) but they are not able to help me. Does anyone know waht happend. I found more people with the same question in other forums but no answers.

    Don't know what to tell you. Yours is the first post of its kind regarding a "delay" in authorizing an official unlock I've seen, and quite frankly I can't imagine any reason for such on Apple's end. All that Apple does is add your phone's IMEI number to a data base of officially unlocked iPhones. Something seems fishy to me regarding what your carrier told you. At any rate, there is no one from Apple here, thus nothing anyone here can do to help you. You could always call AppleCare & verify the veracity of what you were told, and if not true confront your carrier.
    Good luck.

  • Year Dependent Master Data in Funds Management

    Hi Gurus,
    Can anyone explain what is the difference between "Year dependent master data and Year independent master data" in funds management and its importance?
    Thanks in advance,
    Regards,
    Ganesh

    hi
    year dependent master data will have validity till the year.
    year independent master data will not have any validity

  • Difference between earliest master data and master data change bonus

    Hi,
          Can anyone tell me what is the exact difference between earliest master data change and master data change bonus? Whenver any infotype is changed, why are the dates updated in both the fields? Is  it not enough if only Earliest master data change field is updated? I was thinking that Earliest master data change bonus field is updated when IT267 is created, but even if i change the time data both the fields are getting updated. Please advise?
    Thanks

    Hi,
    Earliest master dat change date is date beyond which no master data change can be put in for employee in infotype.
    It is used to restrict any master data entry beyond certain date as restriction for employees that client has set and is moreover controlled at control record level but ocassionally used at employee level whenever payment was hold for long time and so on.
    Master data change bonus date is date which gets automatically filled in whenever there is any master data change.
    This date cannot be past earliest master data change date and will throw error if tried for employee to input.
    Thanks,
    Ameet

  • User exit for billing to change vbrk header data  on SAVE

    Hi
          I need to change vbrk header data on save in vf01
          transaction, can some one send me the user exit,
          also code if possible.
          I have tried out RV60AFZZ it is entering the exit
          but if i modify vbrk fields it does not get
          reflected.
    Thanks & Regards
    Abhimanyu.L

    Have a look in include RV60AFZC
    => maybe you can use form USEREXIT_FILL_VBRK_VBRP.

  • Unable to disable Save and Cancel button on change user answer form

    Hi,
    I am not able to disable Save and Cancel button on change user answer form depending on a condition. Any kind of help will be appreciated.
    Thanks

    save and cancel are the default buttons
    check the disable default buttons...
    Nsankar

  • How to prompt users to save changes?

    Hi,
    I am using WAD to develop planning layouts for BIIP.
    I am curious as how to prompt the user to save the changes thay made to the data on the layout if they decide to navigate away from the page.
    Any suggestions?
    thank you

    Hi AG
    Did you find the place choosing the options? I didn't remenber them all, you can try to search these options.If you want to change the default value of this option, you can go to System Administration --> System Configuration --> Service Configuration --> Applications --> com.sap.portal.epcf.loader --> services --> epcfloader. Set the value of Workprotect.mode.default, which default is 1, and other three options are related to 2, 3, 4.
    Best regards.

  • Prompt user to save change before abnormally closing the application

    Hi,
    I've some trouble prompting user to save change before abnormally closing the application (logging off, shutdownding machine...). I tried to use Runtime.getRuntime().addShutdownHook() and it doesn't seem to work. Here's part of my code. Help please!!!
    program print out "1" and stays in a "dead-lock" mode...
    private void shutdown() {
    boolean saveConfig = true;
    if (saveConfig) {
    System.out.println("1 ");
    int answer = JOptionPane.showConfirmDialog(null,
    "Configuration has been changed. Do you want to save
    configuration before exit?",
    "Save Config"
    JOptionPane.
    YES_NO_CANCEL_OPTION);
    JOptionPane.showMessageDialog(this, "Can't connect to unit. Error in Heal unit!", "Error", JOptionPane.INFORMATION_MESSAGE);
    System.out.println("2 ");
    if (answer == 0) {
    savefileButton_actionPerformed();
    jMenuFileExit_actionPerformed();
    else if (answer == 1) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    else {
    int answer = JOptionPane.showConfirmDialog(itself,
    "Are you sure you want to exit? ",
    "Exit",
    JOptionPane.YES_NO_OPTION);
    if (answer == 0) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    private class MyShutdownHook extends Thread {
    public void run() {
    shutdown();
    // add shutdown hook
    MyShutdownHook shutdownHook = new MyShutdownHook();
    Runtime.getRuntime().addShutdownHook(shutdownHook);

    doesn't much matter. shutdown hooks are not guaranteed to run or be able to finish.

  • How to promt user to save changes when changing non-database fields?

    Hi,
    I have a form with two tabs. The datablock Block_1 on tab_2 is based on a database view. But all the displayed items of Block_1 are non-database items. Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. This works fine.
    But the problem here is: after changing some items in block_1, if the user navigates to some other option/form from the menu , the form doesnt promt the user to 'save the changes' and all the changes made are lost. How can I fix that?
    I have a form level key-exit trigger, (which does not fire) with following code :-
    Declare
      X  Number;
      alert_is             alert;
    Begin
    If :System.Mode = 'ENTER-QUERY' Then
           Exit_Form;
    Else
      If :System.Form_Status In ('NEW','QUERY') Then
           alert_is := FIND_ALERT('TMPL_EXIT'); -- "Are you sure you want to exit?"
        X := Show_Alert('TMPL_EXIT');
        If X = Alert_Button1 Then
           Exit_Form(no_validate);
        End If;
        Else
           Exit_Form;
      End If;
    End If;
    End;

    Slava Natapov wrote:
    Samita wrote:
    Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. Try to copy values to the db_items not in save button, but in WHEN-VALIDATE_ITEM of non_db items.- I created the non-db items becoz, it was asking me 'Do you want to save changes', even when I only queried data from the view (becoz i was doing some computations while displaying the items. and the form assumed that the DB items were begin changed ). Inorder to get rid of that problem, i used mirror_items (non-db) for all the db items.
    So under this scenario, when i copy values to the db_items in WHEN-VALIDATE_ITEM trigger of non_db items, the form considers the db_items are changed and asks 'Do you want to save changes' even when the user has not made any changes and only queried data.
    Edited by: Samita on Dec 9, 2009 10:12 AM

  • ARD 3 not prompting user to save changes on restart

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam M.

    nthali wrote:
    well, onbeforeunload seems to be an IE specific event. we have some customers using firefox etc.It works in at least IE 5.0, FF 1.5 and Safari 1.3. Only not in Opera yet, because it very strictly follows the w3 standards. It doesn't support the onunload either though, which was also invented by Microsoft and adopted by FF and Safari, only a bit earlier than the onbeforeunload.
    And as I already said, the onunload is already too late. The browser will (already) be closed regardless of the (outcome of the) warning message.

  • ARD 3 not prompting user to save changes even when told to

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam Marcus

    Slava Natapov wrote:
    Samita wrote:
    Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. Try to copy values to the db_items not in save button, but in WHEN-VALIDATE_ITEM of non_db items.- I created the non-db items becoz, it was asking me 'Do you want to save changes', even when I only queried data from the view (becoz i was doing some computations while displaying the items. and the form assumed that the DB items were begin changed ). Inorder to get rid of that problem, i used mirror_items (non-db) for all the db items.
    So under this scenario, when i copy values to the db_items in WHEN-VALIDATE_ITEM trigger of non_db items, the form considers the db_items are changed and asks 'Do you want to save changes' even when the user has not made any changes and only queried data.
    Edited by: Samita on Dec 9, 2009 10:12 AM

Maybe you are looking for

  • Checklist for making transition from local testing server to remote

    Does anyone know of any resources which take one through the necessary steps required in putting an ADDT-built site to a remote server? I test on XAMPP (basic) and am dreading the errors I will discover when I actually put one of these sites to serve

  • Purchase order output message disappear at approval

    Gurus, Anyone encountered the problem of output type disappearing when purchase orders approval is carried out ? PO does not appear anymore in ME9F and vendors are calling as they haven t received the order. No problem when PO amount is below fisrt a

  • TV listing search no longer working correctly

    Has anyone else noticed that the TV listing search doesn't work correctly?  For example, if I'm looking for a football game with a team I want to watch (e.g. Penn State), no matches come up.  The only way to find the game is to look for "College Foot

  • IPod shuffle with ipod mini

    how do i re-name an ipod shuffle, if i already have itunes installed with my other ipod mini, how do I change the name so it shows up as what i'd like it to be in iTunes? Pls. Help Kelsey

  • Replication of Custom Include IS-U to CRM

    Hello gents! CRM 4.0 WebClient, IS-U 4.72. Currently custom fields where added to the technical objects in ISU. I am currently facing the following problem. A custom include was added into the IFLOT table (Functional Location) in IS-U. It appears on