Confirmation Dialog which saving any settings at OCI Mapping

Hi Experts,
OCI Mapping:
when i change and settings at OCI and when i click on Save button, I used to get popup(Confirmation Dialog) window with messaage as " Price fields are not configured consistently across all views".
I am not able to findout what is exact problem and why it is showing such message?
You help will be rewarded in points..
Thanks
Bharat

that happens when the same price setting fields (contract and list price) are not set for all the views in the catalog .
you should have the same fields (settings) for price - in all the views in the catalog (Resultset , Itemdetials, context, compare and Shopping list) to ignore the warning
thanks
-Adrivit

Similar Messages

  • How to get  the choice clicked by the user on a Confirmation dialog?

    Hi,
    'm trying with Confirmation dialog which should return
    'yes', 'No', or 'Cancel'
    I wrote like:
    String Message="Do u want  to update ??";
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
         IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( Message, controllerInfo.findInEventHandlers("Yes"), "Yes");
         dialog.addChoice(controllerInfo.findInEventHandlers("No"),"No");
         dialog.addChoice(controllerInfo.findInEventHandlers("Cancel"),"Cancel");
         dialog.open();
    It works as a normal dialog window
    But how can I get the choice that is clicked by the user.
    ie . either 'Yes', 'No', or 'Cancel'.
    can any body help me
    thanks
    Smitha

    Smitha,
    In addition to your code, create 3 event handlers in your controller, name them Yes, No, Cancel. In every event handler you know what event was fired, i.e. what button is pressed.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Centralizing standard Confirmations Dialog in external Component

    Hello Community,
    i'm developing on an application consisting of several different development-components, each containing again different wd-components. the component design of wd is a great advantage for reuse components.
    but i still have a problem to achive better reuseability.
    so i have one development-component which contains a component which at the moment contains methods (in the component-controller of that component) for outputing standard-messages. no view controllers or windows are defined.
    But i also have some Stanard-Confirmation Dialogs which i want to reuse.
    So i declared a new method in that central component-controller which i also declared in the interface controller of the component:
      //@@begin javadoc:dialogWarningNotYetSaved()
       * Method declared by application.
      //@@end
      public void dialogWarningNotYetSaved( com.sap.tc.webdynpro.progmodel.api.IWDAction contUnsavedEvent, com.sap.tc.webdynpro.progmodel.api.IWDAction contSavedEvent, com.sap.tc.webdynpro.progmodel.api.IWDAction abortEvent )  {
        //@@begin dialogWarningNotYetSaved()
           IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
           msgMgr.reportMessage(IMessageMessages.NOT_YET_SAVED, null);
           String dialogText = wdComponentAPI.getTextAccessor().getText(IMessageMessages.NOT_YET_SAVED, null);
           IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText, contUnsavedEvent, "Continue Unsaved");
           dialog.addChoice(contSavedEvent, "Save and Continue");
           dialog.addChoice(abortEvent, "Abort");
           dialog.show();
        //@@end
    The main problem is, that the dialog does not return a value but instead does fires an action or event, attached to a choice.
    But it seems, that such an event has to be one declared in the component. But i want to call the method containing the Confirmation-Dialog from another component and so, in my opinion, it has to trigger the event or action in the calling component. to reach this, i put the actions into parameters of the central method in the external component and put this action-parameters in the dialog.addChoise Method.
    But doing so, WD-Runtime throws an exception, that the actions are not known in the repository of the component???
    does anybody has an idea what i have to do to make it work correctly?
    regards and thanx in advance
    Matthias

    Hi,
    Create one event "SaveAndContinueEvent" with some parameters in your Common Component's Component Controller.
    SaveAndContinueEvent(String param1, String param2).
    And create one more method as "saveAndContinue(String param1, String param2)" in the same Component Controller with same parameters and
    fire the event "SaveAndContinueEvent" in that method as below.
    wdThis.wdFireSaveAndContinueEvent(param1, param2);
    Now in the "contSavedEvent" event handler of the View invoke the method saveAndContinue() of Component Controller as below.
    wdThis.wdGetCommonCompController().saveAndContinue(param1, param2);
    Now in the Other Components, from where you are invoking this Common Component to open the dialog box, in the corresponding Views create the eventHandler as
    "SaveAndContinueEventHandler" and while creating this eventHandler select "SaveAndContinueEvent" of Common Component as a source event to that eventHandler.
    Now when ever user clicks on SaveAndContinue button the "SaveAndContinueEvent" event of Common Component will be fired and that even will be handled by "SaveAndContinueEventHandler" of the main view.
    Regards,
    Charan

  • SRM MDM Catalog - SRM OCI mapping relevant for Contract Catalogs

    Hi,
    According to the scenario we would like to implement, the contract items are distibuted to a catalog and later on they are recalled within other contracts. In this case to do OCI mapping in SRM (customizing activity?) is still relevant? Is this activity necessary for all catalogs internal or external?
    Is this what is enabling to dispaly the catalog within SRM transaction like Process Contracts for all type of catalogs?
    Thank you in advance,
    Edited by: Gaia K. on Nov 18, 2008 6:16 PM

    Hi,
    Thanks for your input,
    I did unmapping between OCI fields and MDM fields at OCI Mapping and but i have selected unmapped fields at all Views.
    Now when i login and checked at my catalog side, i can able to see the data for that fields, which i have unmapped at OCI Mapping.
    My question is :
    1) Why this fields are getting values , when i Unmapped at OCI mapping Level?
    2) If this fields are getting values at catalog irrespective of mapping/unmapping at OCI Mapping level, then what is the actual use of OCI mapping?
    3) where exactly adding of Custom fields at OCI side is helpful?
    Your solution will be rewarded in points
    Thanks
    Bharat

  • Mail settings are not saved any more

    Hi,
    after my mailbox structure has crashed, I tried to reset Mail as explained in this answer: https://discussions.apple.com/message/22302114#22302114
    After restarting Mail all settings were deleted (as expected) and I set up my accounts and settings again. Then I recognized that the settings are not saved any more. I tried some times but Mail didn't save the settings.
    I hope there is a chance to fix this problem.
    Thanks for help.

    Thanks for linked document but I find it funny and someone rude that the article assumes that EVERYONE knows the lingo used - i.e. Profile Folder is in "%APPDATA%\Mozilla\" . Where the hell is that???? Jesus, it's much easier to switch to Chrome.

  • Are there any settings in the options (or anywhere else) that I can use to set up an auto confirm and resend without having to manually click the 'resend' butto

    There is a certain website I use that I refresh frequently. Every time I do I get a pop up message labeled ‘Confirm’ with a question mark in it that says;
    “To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
    It only seems to be a problem with this one particular site. Are there any settings in the options (or anywhere else) that I can use to set up an auto confirm and resend without having to manually click the ‘resend’ button in the pop up window?

    Hi cor-el, Thanks for responding;
    I am accustomed to seeing this type of pop up on occasion and understand why they are necessary to prevent duplicating orders, payments, etc. I am not using a back button, I wanted to use an auto-refresh app to search for reservation openings on a certain web site and can not because this pop up requires me to manually push a button every time the page refreshes. I am resending the same information every time (a date range) via the POST form, so, was hoping there was a way to either disable, override, or set up and auto response so I can use the auto-refresh app. Your description of how to avoid the pop up didn't entirely make sense to me, but If I have to do a bunch of manual steps in between each refresh attempt it doesn't matter because I'm no better off.

  • I have an iMAC/OsX from 2005 and now cannot anymore download and exicute programs (both net and installing CD). Any settings/preferentials which I should look at?

    I have an iMAC/OsX from 2005 and now cannot anymore download and exicute programs (both net and installing CD). Any settings/preferentials which I should look at?

    Unfortunately what you need is something that is designed for PowerPC Macs.  Stuff that is designed for Intel Macs will not work.  The PowerPC (PPC) Mac software is getting scarcer.    Macs in 2006 shifted to Intel CPUs.  Stuff that is designated Universal will work, and you can buy the retail 10.5 if you have no Mac OS 9 related software that needs to load.  If you partition your hard disk, or use an external Firewire hard drive partition just for booting into 10.4.11 or earlier, you can still use Classic for Mac OS 9.  My user tip here discusses your options:
    https://discussions.apple.com/docs/DOC-2275
    Don't dump your PowerPC Mac yet, Appleworks has no equivalent in the Intel Mac world once upgraded to Mac OS X 10.7 or later, and this tip covers Appleworks:
    https://discussions.apple.com/docs/DOC-2522
    So you are unfortunately stuck in the transition period, but if carefully reviewed can be done right if you ready all your documents for the transition when you can afford it.

  • Confirmation Dialog when clicking on Tree Node.

    I am working on Oracle Apex 4.2.0.00.27 and I have the following problem:
    The code below shows the definition of a tree. The tree displays records from the table ACTIVITIES in hierarchical structure.
    When user clicks on a leaf/node of the tree he will be redirected to another page where the details of each Activity/leaf/node are displayed.
    The tree is part of a page where I have established a functionality to check for changes on the input fields of the page and inform the user when he tries to redirect without first saving the changes he made.
    What I want to do is:
    WHEN user clicks on a node of the tree AND he hasn't saved any changes he made
    THEN
    trigger a confirmation dialog.
    IF
    he clicks OK he is redirected to the node details page as defined on the tree definition:
    f?p=&APP_ID.:10:'||:APP_SESSION||'::::P10_ID:'||"ID"
    ELSE if he clicks CANCEL
    he stays on the same page.
    The condition to trigger the confirmation box is:
    if (document.getElementById('P0_CHANGES_DETECTED').value == 1)
    where P0_CHANGES_DETECTED is a universal hidden text field that is set to +'1'+ every time a change is made.
    and here is the tree definition:
    select case when connect_by_isleaf = 1 then 0
    when level = 1             then 1
    else                           -1
    end as status,
    level,
    +"NAME" as title,+
    null as icon,
    +"ID" as value,+
    null as tooltip,
    decode(PARENT_ID,null,null, 'f?p=&APP_ID.:10:'||:APP_SESSION||'::::P10_ID:'||"ID") as link
    from "#OWNER#"."ACTIVITIES"
    where GROUP_ID = :P20_GROUP_ID
    start with "ID" in (select ID from "#OWNER#"."ACTIVITIES" where GROUP_ID = :P20_GROUP_ID and PARENT_ID is null)
    connect by prior "ID" = "PARENT_ID"
    order siblings by "ID"
    I hope it is clear what I want to achieve. Thanks in advance.

    So you'll want to bind an event to all tree nodes that checks for the value and then fires the confirmation if there value is 1.
    Try something like this:
    - first, give your static ID attribute in your tree the value of tree_static_id (or whatever you want. just replace the id selector below with what you choose).
    - In your Page Function and Variable Declaration Javascript:
    function confirmSave() {
    var changeDetected = jQuery('#P0_CHANGES_DETECTED').val();
    if(changeDetected == 1) {
    //only do this if change is detected
    if(confirm('You have unsaved changes. Do you want to leave this page?')) {
    window.location('[your url here]');
    jQuery(document).ready(function() {
    //bind function to the click event
    $('#tree_static_id').find('li a').bind('click', function() { confirmSave(); } });
    });Hope this helps

  • Confirmation Dialog Box

    Hi All,
    With ADF UIX, what is the recommended way to implement a confirmation dialog box to get user's confirmation before an action is actually executed? Any UIX element like <messagebox>?
    Thanks.
    Elton.

    Elton,
    The best examples we have publicly available are at http://download.oracle.com/otn/nt/ids/uix/217/uix-demo-2.1.7.zip
    (I hope the link still works)
    This is for UIX 2.1.7, which is what ships with JDev 9.0.3. You'll want to do some things a bit differently if developing with UIX 2.2 in JDeveloper 10G.
    Hope this helps,
    Ryan

  • Adobe PDF printer--multiple dialogs for the same settings

    Please excuse if this question is painfully obvious, but I just can’t figure it out.
    I’m working with FrameMaker version 8.0p277 (TCS).
    As far as I can tell there are at least three places where I can setup preferences for my PDFs
    From the Control Panel, I can right-click on the Adobe PDF printer and set two different joboptions depending on which menu item I choose (Printing Preferences or Properties/Advanced Tab).
    However, when I want to create a PDF from my FrameMaker book or document, I use File>Print to open the Print dialog. When I choose the AdobePDF printer, clicking the Properties button opens the Adobe PDF Document Properties dialog. From the dialog’s Adobe PDF Settings tab I can choose from any of the joboptions in my Settings directory.
    At the same time, I can select the Generate Acrobat Data option, click the PDF Setup button, and choose a completely different joboption from the Settings tab in the PDF Setup dialog.
    Can someone please explain the difference between these options? And just which one gets priority if I print directly from FrameMaker to the Adobe PDF printer? (I assume if I print to file (.ps) the options I set in the Distiller get priority.)
    Thanks!
    Wendy

    Hi Wendy,
    When you set the Preferences for the AdobePDF from the Control Panel via the Printers, these are then default system-wide settings for all applications in the absence of any other information.
    From within FM, the Properties setting, when you select the Adobe PDF printer instance, takes you to the same Preferences dialogue as in the first condition. You're temporarily resetting the preferences for the FM session to use. However, this does not change your default preferences set at the system level nor does it affect any other application that is running.
    The Generate Acrobat Data PDF Setup option is the last one in the chain and this provides the chance to specify an override for the session settings. This one has the highest priority.

  • How to create a modal dialog, which I can still interact with document when the dialog is show.

    HI,
        Now, I am developing an automation plugin, and want to create a modal dialog, which I still can interact with document when the dialog is show.
        I find photoshop has some modal dialog have this function, such as the dialog of Customize Proof Condition and the dialog of Color Settings. Are these dialogs not modal dialog?
         Thanks!

    The whole point of a modal dialog is that you cannot interact with other things while it is active.
    And Photoshop does not support plugins accessing the rest of Photoshop while any plugin UI is active.

  • How to popup confirm dialog trying to navigate away with unsaved changes

    Is there any generic or built-in solutions for this common requirement?
    JDev: 11g
    any idea or material on this is appreciated.
    Thanks.
    Kevin.

    try capturing the onBeforeUnload event and display a modal confirmation dialog asking the user if he really wants to navigate away from the page; and warning him that if he does so, all the changes he made hitherto will be gone.
    However, you need to handle this intelligently since you need to identify if any fields in the form have changed and only then warn the user to confirm his decision to go away from this page.
    You can do this by having a flag which is initialized to false but when onBeforeUnload event is fired, you would check if any of the form fields in the page have changed by iterating over each and every form field,and then setting the flag to true if some thing changed
    the onBeforeUnload Handler will always return this flag, if it is true, you will get this confirmation popup, else the page will go away. To show a customized confirmation dialog, perhaps you would have to invoke the custom dialog call from with in the onBeforeUnload handler. When the user says yes, return false;else true.

  • Why do I have saved podcasts on my iphone when I haven't saved any podcasts?

    A fairly basic question - Why do I have saved podcasts on my iphone when I haven't saved any podcasts?
    And a possibly related question "Why do podcasts I have deleted from my phone often reappear, but in the cloud?".
    And finally "How is the podcast app supposed to work?" and "Why doesn't apple even try to explain aspects of the app (i.e what "My Episodes", "Feed" and "Saved" is meant to mean). 

    Good morning mickp99,
    I'm going to start with your third question first ... there are two main ways to learn about our apps.    The first is the main product support page for the app online.  The second is the user manual for the device (your iPhone). Here are the resources for the Podcasts app.  The answers to questions one and two above may lie in the settings you have for downloading and syncing the podcasts you are seeing.  I've highlighted some key information for you below.  Click on the links for complete information.
    iOS Apps - Podcasts - Apple Support
    https://www.apple.com/support/ios/podcasts/
    Podcasts app for iOS: Browsing and searching - Apple Support
    Podcasts app for iOS: Stream, download, and subscribe to podcasts - Apple Support
    Downloading
    If you download a podcast episode, a copy of the episode is stored on your iOS device so you can play it anytime you like even if there's no Internet connection.
    Browse or Search for a podcast.
    Tap a podcast to view details.
    Tap the download icon next to an episode.
    The podcast will start to download and will appear in My Podcasts. When you use a cellular data connection, the maximum download size is 100 MB per episode.
    Subscribing
    You can subscribe to your favorite podcasts.  Whenever a new episode is available your iOS devices will get them automatically.
    Browse or Search for a podcast.
    Tap a podcast to view details.
    Tap Subscribe.
    Once you subscribe to a podcast it will appear in My Podcasts. The latest episode of the podcast will also begin to download.
    Podcasts app for iOS: Managing subscriptions - Apple Support
    My Podcasts
    Once you subscribe to a podcast, it'll appear in My Podcasts in the Podcasts app. Different parts and features of My Podcasts are described below.
    View: Swipe down with one finger to switch between tile or list view.
    Edit: Tap Edit to delete any podcast you're subscribed to or rearrange the order that your podcasts appear.
    Subscription Details: When you tap a podcast that you're subscribed to, you can view the latest unplayed episodes under the Unplayed tab. If you tap Feed, you'll see all available episodes. If you've saved any episodes of podcasts you'll be able to view those under the Saved tab.
    Notification badges: Once you've subscribed to a podcast, you may notice a badge on the Podcasts app. This shows the number of podcast episodes newly available since you last opened the app. Once you open the app, the badge will disappear until new podcast episodes are available.
    If you're browsing your subscriptions in My Podcasts, you'll see red badges next to your podcasts if you're in tile view or just a number next to each podcast in list view. These badges show you the number of episodes of each podcast that are unplayed.
    Settings
    There are two places you can change subscription settings for your podcasts.
    Default settings: From your Home screen, tap Settings and then Podcasts. These settings are shared by all of your podcast subscriptions. These are known as default podcast settings.
    Refresh Every: You can choose how often your iOS device checks for new episodes to your subscriptions. It's set to check every six hours by default.
    Limit Episodes: You can pick how many episodes you see for subscriptions.
    Download Episodes: The latest episodes of your podcasts will download automatically if your iOS device is connected to Wi-Fi.
    Delete Played Episodes: If this is turned on, episodes will delete 24 hours after you finish playing them.
    Use Cellular Data: If your iOS device has a cellular connection, you can allow downloads to use cellular data when Wi-Fi isn't available. This is off by default. Downloads using cellular data are limited to 100MB per episode. If an episode is larger than that, it won't start downloading until you're connected to Wi-Fi.
    Podcast-specific settings: The second place you'll find subscription settings is within the Podcasts app. Tap a podcast subscription under My Podcasts and pull down with one finger to reveal the settings buttons. These settings are unique to each subscription. If you don't change anything here, the podcast subscription will just use the default settings. If you do make changes to a specific subscription’s settings, they'll only apply to that podcast.
    Play: This setting lets you change the order in which a subscription plays. If you're listening to a news style podcast, you may want to set this to play the new episodes first. If the series is more episodic, you may prefer to play oldest to newest.
    Sort Order: This changes the sort order of episodes that appear for a podcast (not its playback order).
    Subscribed: When this is on, new episodes of this podcast will be marked as unplayed as they become available.
    Refresh Every: You can choose how often your iOS device checks for new episodes to your subscriptions. It's set to check every six hours by default.
    Limit Episodes: You can pick how many episodes you see for subscriptions.
    Download Episodes: The latest episodes of your podcasts will download automatically.
    Delete Played Episodes: If this is on, episodes will be deleted 24 hours after you finish playing them unless you've marked them as Saved.
    Inactive subscriptions
    If you do not play or access a subscription within 15 days, your subscription to that podcast will go inactive and you will no longer receive updates to it. As soon as you access the subscription again it will refresh.
    Podcasts app for iOS: Organizing your podcasts with stations - Apple Support
    Play iTunes Playlists
    If you sync your iTunes Playlists from iTunes on your Mac or PC, any playlist containing podcasts will appear in My Stations in the Podcasts app for iOS. If you have a playlist that is a mix of music and podcasts, only the podcasts will show in that playlist in the Podcasts app for iOS.
    Podcasts app for iOS: Playback controls - Apple Support
    Podcasts for iOS: Sync podcasts - Apple Support
    You can sync your podcast subscriptions, stations, and playback position between your iOS devices, computers with iTunes, and Apple TV.
    Here's what you'll need:
    An Apple ID. Sign in to the iTunes Store with the same Apple ID on all your devices.
    iPhone, iPad, or iPod touch with iOS 7 or later.
    Mac or PC with iTunes 11.2 or later.
    Apple TV with Apple TV software version 6.0 or later.
    Turn on syncing
    Sign in with the same Apple ID on any computer or iOS device that you want to sync podcasts.
    iPhone, iPad, or iPod touch
    Tap Settings > Podcasts.
    Turn Sync Podcasts on or off.
    Mac or PC
    Open iTunes.
    Choose iTunes > Preferences, then click the Store tab.
    Select "Sync podcast subscriptions and settings."
    Learn what syncs
    When you sync podcasts, you also sync subscriptions, stations, and play position. Here's everything that syncs.
    Subscriptions
    Subscribing. Syncing podcast subscriptions will download the newest episode for each podcast that you're subscribed to (but not previous episodes for that podcast). If you download other episodes for a subscription on a device, they won't automatically download to your other devices. See how to transfer episodes and playlists.
    Unsubscribing. If you unsubscribe from a podcast on a device, all of your other devices will unsubscribe to that podcast. If you subscribe to that podcast again, all of your other devices will also subscribe again.
    Deleting. If you delete a subscription on a device, all of your devices will automatically unsubscribe to that podcast. If you delete a podcast on your iOS device, iTunes on your computer will show the message "This podcast has been deleted from another device, but has saved episodes."
    If you click Resolve, you'll see the message "Do you want to delete or restore syncing of the podcast?"
    If you want to keep any episodes that you saved on your computer, click Restore Sync on the message. The subscription will sync back to your other devices.
    If you want to delete the podcast and all its episodes, click Delete. If you delete a podcast subscription on your computer, it will delete the subscription on your iOS devices, including downloaded episodes (unless they're marked as Saved).
    Stations
    When you create a station in iTunes on your computer or in the Podcasts app for iOS, it will appear on your other devices. Any station settings you change will also sync to your devices. If you delete a station on one of your devices, it’ll delete on every other device too.
    Playback position
    Podcasts can remember your playback position between devices and computers, so you can always start where you left off. If Sync Podcasts is on for your iOS device, playback position will sync. However, you might need to turn on this setting in iTunes on your Mac or PC.
    Select iTunes > Preferences.
    Click the Store tab.
    Select "Sync playback information across devices." It may take a few minutes to sync.   
    Transfer episodes and playlists
    Podcast episodes on one device don't automatically download to your other devices. If you want all your downloaded episodes to appear on your other devices, you'll need to sync your iOS devices to your computer over Wi-Fi or with a USB cable.
    Connect your iOS device to your Mac or PC with iTunes.
    Click the Podcasts tab.
    Choose which downloaded podcasts should appear on your iOS devices.
    To sync a playlist of podcasts to your iOS devices, select it under "Include Episodes from Playlists." The playlist will appear in My Stations in the Podcasts app for iOS.
    Click Sync.
    iPhone User Guide for iOS 8
    http://help.apple.com/iphone/8/
    mickp99, if this general information doesn't answer your questions, please reply back with the specific podcast(s) that you are having an issue with.
    Have a great day!
    - Judy

  • Confirm Dialog on Closing Web Application with unsaved data?

    Hi all,
    I am searching for best-practices or official solutions for implementing the following functionalty:
    User is trying to close the browser window or tab (Mozilla Firefox) by hitting the "X". We need to ask him if he is sure cause there might be unsaved data.
    The only solution we now see is the following:
    - event "onbeforeunlad":
    window.onbeforeunload = function (oEvent) {
      oEvent.returnValue = 'Sure? Unchanged data might be lost'
    Problem is that this event also runs, when youre navigating in the analysis item, e.g. expanding a hierarchy. You have to switch it of for every single Item with onmouseover and switch it on again later.
    And further on: It still has to be bound to the data... if data hasn't changed, it shouldnt pop up.
    Question: Are there any official suggestions from SAP? Seems to be a standard requirement. If not, do you know any better solutions for implementing this functionality?
    Thanks in advance for your help,
    Michael

    try capturing the onBeforeUnload event and display a modal confirmation dialog asking the user if he really wants to navigate away from the page; and warning him that if he does so, all the changes he made hitherto will be gone.
    However, you need to handle this intelligently since you need to identify if any fields in the form have changed and only then warn the user to confirm his decision to go away from this page.
    You can do this by having a flag which is initialized to false but when onBeforeUnload event is fired, you would check if any of the form fields in the page have changed by iterating over each and every form field,and then setting the flag to true if some thing changed
    the onBeforeUnload Handler will always return this flag, if it is true, you will get this confirmation popup, else the page will go away. To show a customized confirmation dialog, perhaps you would have to invoke the custom dialog call from with in the onBeforeUnload handler. When the user says yes, return false;else true.

  • Confirmation dialog box in JSf

    Hi,
    I have a Save (type 'Submit') button which onClick should give me a confirmation dialog box with Ok and Cancel.
    Ok would go ahead with the process and cancel would take me back to where the page was before the save button was clicked.
    Any help is really appreciated.
    Thanks.

    Hello,
    I hope you can invoke a javascript function when the user clicks on "Save" button (onClick event for save button). Specify window.confirm(....) inside your javascript function which will give you confirmation window. I am not well enough how you want to handle navigation in your page.

Maybe you are looking for

  • How can I use Acrobat Pro XI upgrade when I have a previous version on a different computer?

    I just bought an upgreade of Acrobat Pro XI and installed it on my laptop. I own Pro X on my  desktop but when I try to open XI it asks for a serial number of a for a previous version on the laptop. The previous version is on a desktop. What can I do

  • Error connecting to database - java.sql.SQLException: Io exception: The Net

    Hello friends, I know this question has been asked in a lot of other threads; but my problem is quite unique and that's why I'm starting a new thread... When I try to access an Oracle 10g database through a Servlet code using a JDBC thin driver (both

  • Problem in modifying a table through modify statement

    Hi, I am trying to update a 'Z' table in which there are 5 fields comprising of primary key. Out of them 2 key fields are defined as a part of seconadry index with 'Unique' option selected. As per the requirement, I am trying to update the table usin

  • Webui is undefined

    Hi, I have developed a e web application using netbeans 6.5 and deployed it in tomcat 6.0.18. When i am trying to access the application from the browser, the components are not rendered and i am receiving a javascript error '*webui is undefined*'. I

  • How can I apply a visable grid to an Image Control?

    I have an application where I do some image processing to measure a 'spot' on an image.  I then create a report that provides the measurement results.  Part of the report consists of the image and I need a visible grid sized to the magnification of t