Message "Do you want to save changes" to save when user clicks on other tab

Hi,
I have a series of tabs embeded from the main template CustomerTemplate.jspx with <af:commandNavigationItem. I have tabs on BasicData, Accounts etc. I have backing bean (including update button for saving the changes in the same) writtend for BasicData.jspx embeded inside CustomerTemplate.jspx, linkewise other tab.
Now, i am capturing the changes being done in BasicData.jspx in the backing bean. When user shifts to other tab by clicking on the same, i need to popup the message "Do you want to save the changes" Yes/No. If use selects Yes, i need to call Save method from the backing bean else ignore and move to other page.
I have written the code in CustomerTemplage.jspx for bringing BasicData.jspx pages as following
<af:commandNavigationItem text="#{res3['cbuca.menu.basicdata']}"
id="pt_cni2"
immediate="true"
selected="#{attrs.mode=='basicdata'}"
action="basicdata"
destination="/faces/CustomerBasicData.jspx"
rendered="#{security.isUserInRole['basicdata,0']}"
partialSubmit="true"
attributeChangeListener="#{viewScope.backing_TestPage.openCustomDialog}"/>
As per the ADF Documentation, attributeChangeListener will be fired once the attributes is changed (like lose focus) and not through programatically to change the attributes. But, it looks like event is not being fired after several test. I have using JDeveloper 11.1.1.0.2. This requirement will be re-usable for saving the changes to other tabs as well.
If anybody suggest with the help of code to solve the acheive my requirement will be greatly appreciated.
Thanks in advance.
Thanks
-Mahesh

Hi Hasim,
Can you please elaborate like whether this code will be done in the Backing Bean or in the form of javascript.
Can you pl. give a brief on the below one with some more code snipets (if available).
((DCIteratorBinding)this.getBindings.get("VOIterator")).getViewObject().getApplicationModule().getTransaction.isDirty();
Thanks Guys for quick reply and help.
--Mahesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • I keep getting this error message and the spinning wheel on all websites, any fix? (Webpages are not responding, so loading cannot be stopped. Do you want to force reload this page and all pages in other tabs and windows?)

    I keep getting this error message and the spinning wheel on all websites, any fix? (Webpages are not responding, so loading cannot be stopped. Do you want to force reload this page and all pages in other tabs and windows?)

    Hi, this has worked for a few...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Removing a message (Do you want to save changes)

    Hi all,
    I have a screen (login), to let the user enter the user name and password then click the button (enter), but when the user clicks enter the message (Do you want to save changes) appear,
    How to remove it??
    Thank you very much
    Tasneem

    hi
    is it db items or non db items?
    clear_form();
    or
    search online for.
    SYSTEM.MESSAGE_LEVEL  built-inThere are 25 Levels of Message in an Oracle Forms.
    How much cretical error or message is
    0 -- all errors or message
    1
    2
    25 -- don't shows any
    If we don't want to show any error or message to the user then we assign 25 to message level as
    :SYSTEM.MESSAGE_LEVEL := 25;Now, system will not show any message error to the user.
    If i wanna show all the errors then assign it 0.
    :SYSTEM.MESSAGE_LEVEL := 0; sarah

  • Suppress the message do you want to save the changes you have made

    hi all
    i have written a rollback
    it clears my record
    but gives me the message
    do you want to save the changes you have made
    i have written
    :system.message_level :=25;
    rollback;
    :system.message_level=0;
    but still it is giveing me the message
    can you please tell me how to suppress this message
    please help me
    thanks
    mandar

    try in reverse

  • How to enforce the message "Do you want to save changes?"

    Hello,
    How to enforce the message "Do you want to save changes?" when the user attempts to close a form after checking a non-database item (check-box).
    All the other database items in the block are not updateable and only viewable.
    After checking the non database item check-box, if the user tries to commit, then the system is saving the changes and call the appropriate procedure on save.
    But if the user tries to close the window without committing, the form is not showing the message "Do you want to save changes?" since the check-box is a non database item.
    How to enforce the message "Do you want to save changes?" in this scenario when the user tries to close the window?
    Thanks in advance.
    Cheers
    Sri

    This is a fairly common question in the forum. You will need to override the default exit form process and check to see if the checkbox is checked. You can do this in the Key-Exit trigger. For Example:
    DECLARE
      al_id     ALERT;
      al_button  NUMBER;
    BEGIN
      IF ( CHECKBOX_CHECKED('YOUR_BLOCK.CHECKBOX_ITEM') ) THEN
         /* Display an Alert here that asks, "Do you want to save changes?" */
         ...code here to set the properties of your alert...
         al_button := Show_Alert(al_id);
         IF ( al_button = ALERT_BUTTON1 ) THEN
            --YES
            /* Perform COMMIT Processing here...*/
         ELSIF ( al_button = ALERT_BUTTON2 ) THEN
            --No
            Exit_Form(NO_VALIDATE);
         ELSE
            --Cancel
            RAISE Form_Trigger_Failure;
         END IF;
      ELSE
         Exit_Form;
      END IF;
    END;If you need more help with the Alert, please check out the SHOW_ALERT topic in the Forms Help.
    BTW, what happens if all the user does is check the checkbox? No other changes have occured. What changes are you trying to process?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • I keep getting a message mac keeper wants to make changes type in your password. should i do this?

    I keep getting a message Mac Keeper wants to make changes ,type in your password. Should I do it?

    Remove "MacKeeper" as follows. First, back up all data.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    Do not empty the Trash after dragging the MacKeeper application to it. Let the application delete itself.
    Do not try to uninstall by dragging the MacKeeper icon in the Dock or the LaunchPad to the Trash.
    Here are some general suggestions. If you want your computer to be usable, don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    The only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Never install any third-party software unless you know how to uninstall it.

  • When I try to open firefox it pops up, "do you want to allow changes to your hard drive" everytime

    Firefox update while I was trying to resolve a issue with a brother fax drive to update for windows 7, now every time I go to firefox it pops up, "Do you want to allow changes on your hard drive" as if it didn't finish, so I answer "yes", firefox browser comes up, but if I get out and go back in it does the same thing.
    in the pop up window is listed; C:\program file(x86)Mozilla firefox\firefox.exe
    But when I search it, nothing

    Check that you do not run Firefox as Administrator.
    Right-click the Firefox desktop shortcut and choose "Properties".
    In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.
    You also need to check the Properties of the firefox.exe program in the Firefox program directory.
    If you can't make the changes then you need to start Windows Explorer as Administrator.

  • Every time I launch iTunes I get the message: "Do you want the application iTunes.app to accept incoming network connections" Any suggestions?

    every time I launch iTunes I get the message: "Do you want the application iTunes.app to accept incoming network connections" Any suggestions?

    Just fixed this on my machine, the easiest way to remove this pop-up assuming you are no longer needing that software to print is the following:
    Open Finder
    Go > Go To Folder...
    Type In: "~/Library/Application Support"
    Delete All Folders Named Kodak
    Open System Preferences
    Go to "Security & Privacy"
    Click the lock and enter your admin password
    Click the Firewall Tab
    Go to "Firewall Options..."
    Find KodakAiO
    Right-click KodakAiOBonjourAgent or equivalent (I forget the exact name)
    Click "Show in Finder"
    Go Back to a folder and delete the Kodak Folder there.
    Remove Kodak from Firewall Options by selecting it and clicking the " - " button the base of the list.
       or
    Open Finder
    Go > Go To Folder...
    Type In: "~/Library/Printers"
    Delete All Folders Named Kodak
    I'm going off memory, so If I forgot something let me know.

  • I began to purchase songs off iTunes, a prompt message appears whether you want to buy the song after the first click... I ticked the box to say I didn't want this warning again... But now I wish I had that - Anybody know how to get that message back???

    I began to purchase songs off iTunes, a prompt message appears whether you want to buy the song after the first click... I ticked the box to say I didn't want this warning again... But now I wish I had that - Anybody know how to get that warning/prompt message back???

    Sign-in to your iTunes Store account (Store menu > View my account).
    At the bottom of the Account Information page is a Reset box to click to reset all warnings for buying and downloading.  Click the "Done" button when you're finished.

  • I want to add Narration to my movies. I've watched the Elements Guided Help for Narration. But when I click the RECORD Tab, I get an error message. "Your current audio hardware selection does not have any inout channels." My question, therefore: Do I need

    I want to add Narration to my movies. I've watched the Elements Guided Help for Narration, and closely followed their procedure. But when I click the RECORD tab, I get an error message. "Your current audio hardware selection dos not have any input channels." My question, therefore: Do I need to buy an external microphone? I have an HP Pavilion Laptop, running WIndows 8.1. I thought I had a built-in microphone. But ,maybe not. Please help. Also, WHAT KIND of microphone - exactly - should I buy? Thanks for your help.
    Mike Moore
    Corvallis, Oregon

    mikem
    Go to Edit Menu/Preferences/Audio Hardware and ASIO tab and click on it.
    Under the Input tab, make sure that you have your microphone selected.
    Please let us know the outcome.
    Thank you.
    ATR

  • Why does the calender do not show the right time if you want to choose 10, 11, 12 o'clock or any other time with 1x:00?

    Why does the calender do not show the right time if you want to choose 10, 11, 12 o'clock or any other time with 1x:00? It only shows 1:00 and there is no way to change the time to 1x:00.

    Ok well you need to get your facts straight. You say the reason to upgrade to OS 4 but half of these have to do with the new iPhone 4 and not the OS. Two totally different issues

  • HT4623 In trying to download itunes 11 I keep getting the message, verfiy that you have access to parental advisory. When I click yes it continually re tries but doesn`t load. Any ideas ???

    In trying to download itunes 11, I keep getting the message, verfiy that you have access to parental advisory. When I click yes it continually re tries but doesn`t load. Any ideas ???
    Actual message
    Error writing to file;C:\programs files(x86)\itunes.resourses\da.lproj\parentaladvisory.png. Verfiy that you have access to that directory.

    Sorry I can't help but I do get the same error. Previous versions of iTunes on Win XP machine ran fine. I have uninstalled, rebooted, and tried a new install but still get the same error. I can access the directory via Windows Explorer so not sure why the error says it can't access the directory.

  • Using OS X 10.6.8 on my IMac, I find that items on my message list no longer "fade" from dark to light when I click on them. I recently switched the font from Arial to Helvetica to permit me to select italics for any word. I am composing in rich text.

    Using OS X 10.6.8 on my IMac, I find that items on my message list no longer "fade" from dark to light when I click on them. I recently switched the font from Arial to Helvetica to permit me to select italics for any word. I am composing in rich text.

    Not sure why it would default to IMAP?  But any how, start the account anew, fill in the first page of info, but before clicking on the Create button, hold down the Option key until the Create button changes to read Continue.  Click continue, and proceed in a more manual process during which you can set the account type as POP.
    Ernie

  • Change default settings when user share file

    When users click on share file default setting is:
    Can edit and mark send an email invitation.
    Is there possible to change to:
    Can view and NOT mark an email invitation

    Hi,
    According to your description, you want to change default settings to
    can view and uncheck send an email invitation when user share file.
    To by default uncheck send an email invitation.  Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can change:
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="True"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    To
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="False"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    Here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/f250aa4a-94f0-4603-9da2-e9040d5d6133/how-to-by-default-uncheck-send-an-email-invitation-when-granting-access?forum=sharepointadmin
    To by default can view. Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can add the following code into the function _spBodyOnLoad():
    document. querySelector('[id$=DdlsimplifiedRoles]').value="role:1073741826";
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Prompted to sign in to trial version of CS6 after logic board replaced

    Hello. I purchased CS6 10 months ago and just had the logic board replaced on my iMac. Now, when I open Photoshop on that computer, I get a dialogue box "Sign in Required to use your trial version of Creative Suite 6 Design Standard". I did that, but

  • Best file format for PS and Illustrator files to be placed into ID

    I'm writing a proposal using InDesign. It will be output to PDF for circulation among the team members; I imagine they will view it on a variety of screens and some will print it out on various desktop printers. I have a variety of images, all in col

  • Booting x86 with serial console by default

    Let's say I have a x86 box with no monitor and no keyboard. I'd like to boot the x86 Solaris 10 installation dvd and have it booted with the 'serial console' option. However, it's not selected by default and I can't select it without using the keyboa

  • Installation fails at 12% every time

    I have had Windows 8 on my laptop for the longest time, and after trying to install Windows 10 it fails every time at 12% with a "Windows cannot install the file" error. I have done these things in attempt to fix it, I've updated my BIOS, wrote zeros

  • Lenovo TVAC Automatic Location Switching

    Hello All, I am in the process of creating a global image for our company and we are completely lenovo migrated. We install TVAC 5.31 as a software in the image deployment process and used the Profile manager to export and import profiles. But the Au