Change the confirmation form use case dialog box

Hi all
I need to implement the following features for an ADF application in Jdeveloper 11.1.1.4.


I have two pages (pages of the edition and research). In the edition, page user can change the values of the fields and save in the database. It also has a button 'Cancel', which is nothing else than restoration. When the user clicks on the "Cancel" a popup just warn the user that any unsaved work will be lost. The popup is ok Cancel dialog.

So far, I am able to implement the above, I am faced with the below
(1) if the user chooses Ok cancellation occurs and is redirected to the search page. Currently what is happening is the user by clicking on the "Cancel" button, the restoration begins without waiting for confirmation to the user and does not redirected.
(2) if the user clicks Cancel, the cancellation does not happens and the user stays on the same page with the same values of fields as before. Currently restoration has already launched without waiting for user popup input.

Thank you

user,

sound like
by default. ADF provide some data behaviors cease. for a page.

go to drag just component pallate and drop the behoiur into the page.

here.
http://lucbors.blogspot.com/2011/01/ADF-11g-PS3-check-uncommitted-data.html
http://www.Oracle.com/technetwork/developer-tools/ADF/unsaveddatawarning-100139.html
http://Navaneeth-on-technology.blogspot.com/2011/02/adfjdeveloper-11g-PS3-check-uncommitted.html
http://www.javaoracleblog.com/Java/New_client_behavior_tag__afcheckUncommittedDataBehavior.JSF
http://article.feedznow.com/ADF-11g-PS3-check/1721830762.aspx

Published by: Les on October 2, 2011 22:57

Tags: Java

Similar Questions

  • You can change the font size using the form in the preview (not with the text box). Having also arrow drawing trouble in preview.

    You can change the font size using the form in the preview (not with the text box). Having also arrow drawing trouble in preview.

    What problems are you having with the arrow? You go to Tools-> annotate-> arrow and an arrow appears. Then you can drag around the head and tail to make it to the desired location.

  • Where is the location of the AI CS4 plugin filter dialog box?

    Hi all

    IM using CS4. In the CS4 SDK sample projects, "Tutorial" is a type of filter plugin, and I want to test this plugin.

    Project is compiled correctly and created plugin. Placed this plugin in the plugins of the AI folder.

    and then started to HAVE. The plugin tutorial shows under object-> filter-> SDK-> tutorial

    I clicked on "Tutorial" plugin from the menu filters. A dialog box is open. the value of some parameters in the user interface, and then click OK.

    The dialog box disappears after clicking on the OK button.

    now, how can I get the dialog ('Tutorial') same again? Where can I see the "Tutorial" dialog in artificial intelligence?

    As if we apply a 3d rotation effect, then the 3-d rotation dialog box is visible in the appearance Panel. If we want to change the settings, we can click "3-d rotation" in the appearance Panel, then the 3-d Rotation dialog box will be opned.

    Please tell me.

    -spirit

    Depending on what your filter (that is, if it leaves an effect or if it changes only the art), he can add a message in the appearance Panel. It is generally for the 'effects' no filters, although the distinction is somewhat blurred. One of the reasons why they took the menu filters in CS4 is because most of the "filters" were actually just the art operations and better adapted to be placed as menuitems in more appropriate places. The effects really are pieces of code that are returned when necessary on the art of change their representation on the settings page.

    If you just do something art once (like the simplification of the art, or reflecting the art) so you're not an effect. If this is the case, you can create just one menuitem anywhere you feel is right, if you do not want to be locked in the object > filter. Being a filter is not really give you a lot more more. You can simply create a menuitem, respond and do your job. The filters come with luggage as parameters of filter and 'fire last filter' and whatnot, and frankly, which is phased out. Its more a concept shoehorned in Illustrator Photoshop.

  • Address book - blackBerry Smartphones change the field "synchronize using.

    Hello world

    I recently changed my primary Gmail account on my blackberry (from [email protected] to [email protected]).

    I have a problem with sync'ing with my address book.

    All of my old contacts are synchronized via [email protected]

    And now, I would have them Sync with [email protected]

    In every Contact form, I discovered there is a synchronization field to aid which is filled with the google account. Unfortunately, you cannot change this field.

    Y at - it an easy and fast way to mass - change (the field sync using) all my old contacts sync with my new gmail account?

    I tried with importers and exporters of gmail to gmail, but I lose my contacts photos. I cannot accept this solution because I have more than 500 contacts and 90% of them have an image.

    So I'm asking if someone has an idea to solve this problem.

    Thanks in advance

    Thanks for your reply.

    But I decided I'm going to do it by hand and transfer between gmail via vcf file transfer account.

    It's a real pain in the * because I know that have to redo all the links between linkedin/facebook and my address book. And also photos of contacts. It would have been very happy to be able to mass change the field "to sync using"

    There is therefore no real solution to solve my problem except to waste a lot of time by hand.

    But I'll post another topic for a question than a problem with the synchronization of contacts and photos

  • Cannot process the request because a modal dialog box or the alert is active

    I can't work for the life of me why I get this message when "cannot process the request because a modal dialog box or the alert is active. I simplified my code to reproduce the problem.

    All I want to do is have a dialog box that allows me to edit items on the page... But it does not seem to allow it. I must be missing something simple.

    var selection = app.activeDocument.selection[0];
    
    dialog = new Window('dialog');
    
    var button = dialog.add('button', undefined, 'Resize');
    
      button.onClick = function() {
    
      selection.geometricBounds = [0, 0, 10, 10];
    
    };
    
    dialog.show();
    

    If you use 'dialogue', then you must leave the modal state to interact with the app was done by closing the dialog box.

    var w = new Window('dialog');
    var v = w.add ('edittext');
    var b = w.add('button');
    b.onClick = function(){
        w.close(1);
    }
    if (w.show()==1) alert (v.text);
    

    Or switch to modal MOM like brother suggested dialog boxes...

    Loïc

    Ozalto | Productivity-oriented - Loïc Aigon

  • How can I open the "Convert to indexed colors" dialog box with custom presets?

    Hello

    I need to automatically open the "Convert to indexed colors" dialog box in Photoshop. Before and after that I have a few scripts that are running, so it is not possible to open the dialog manually. Also, I want to put some custom presets (like the number of colors, etc.).

    Find something similar to what I want for the color range selection (opens the dialog with the presets you put in that):

    function colorrange(enabled, withDialog, fuzziness) {
        if (enabled != undefined && !enabled)
          return;
        var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
        var desc1 = new ActionDescriptor();
        desc1.putInteger(app.charIDToTypeID('Fzns'),fuzziness);
        var desc2 = new ActionDescriptor();
        desc2.putDouble(app.charIDToTypeID('Lmnc'), 31.22);
        desc2.putDouble(app.stringIDToTypeID("a"), 0.86);
        desc2.putDouble(app.stringIDToTypeID("b"), 0.31);
        desc1.putObject(app.charIDToTypeID('Mnm '), app.charIDToTypeID('LbCl'), desc2);
        var desc3 = new ActionDescriptor();
        desc3.putDouble(app.charIDToTypeID('Lmnc'), 95.34);
        desc3.putDouble(app.stringIDToTypeID("a"), 54.59);
        desc3.putDouble(app.stringIDToTypeID("b"), 49.85);
        desc1.putObject(app.charIDToTypeID('Mxm '), app.charIDToTypeID('LbCl'), desc3);
        desc1.putInteger(app.stringIDToTypeID("colorModel"), 0);
        var desc4 = new ActionDescriptor();
        var desc4 = executeAction(app.stringIDToTypeID('colorRange'), desc1, dialogMode);
      };
    

    How can I get the same thing for the indexed color conversion dialog box? Apart from doing a lot of guessing about the stringIDs.

    Is there some kind of "table of choice" for char and string ID?

    Guys thank you very much in advance! This forum has been a great help on several occasions.

    OK never mind I got it, stupid me.

    He has recorded with Listener Script and changed the "DialogMode" parameter of the function of executeAction "DialogModes.No" at "DialogModes.All".

    var idCnvM = charIDToTypeID( "CnvM" );
                var desc249 = new ActionDescriptor();
                var idT = charIDToTypeID( "T  " );
                    var desc250 = new ActionDescriptor();
                    var idPlt = charIDToTypeID( "Plt " );
                    var idClrP = charIDToTypeID( "ClrP" );
                    var idSele = charIDToTypeID( "Sele" );
                    desc250.putEnumerated( idPlt, idClrP, idSele );
                    var idClrs = charIDToTypeID( "Clrs" );
                    desc250.putInteger( idClrs, 4 );
                    var idFrcC = charIDToTypeID( "FrcC" );
                    var idFrcC = charIDToTypeID( "FrcC" );
                    var idNone = charIDToTypeID( "None" );
                    desc250.putEnumerated( idFrcC, idFrcC, idNone );
                    var idTrns = charIDToTypeID( "Trns" );
                    desc250.putBoolean( idTrns, false );
                    var idDthr = charIDToTypeID( "Dthr" );
                    var idDthr = charIDToTypeID( "Dthr" );
                    var idDfsn = charIDToTypeID( "Dfsn" );
                    desc250.putEnumerated( idDthr, idDthr, idDfsn );
                    var idDthA = charIDToTypeID( "DthA" );
                    desc250.putInteger( idDthA, 75 );
                var idIndC = charIDToTypeID( "IndC" );
                desc249.putObject( idT, idIndC, desc250 );
            executeAction( idCnvM, desc249, DialogModes.ALL ); //Change from NO to ALL
    
  • How to refresh the current page after the return of a contextual dialog box?

    Hello

    In jdev 11.2.3,

    In a jsff page, I have a commandbutton control to start a dialog popup and actionListener like this:

    < af:commandButton text = "Select Bills" id = "cb1" actionListener = "#{newReceiptBean.refreshBillPending}" >

    < af:showPopupBehavior popupId = "p1" / >

    < / af:commandButton >

    or

    < af:commandButton text = "Select Bills" id = "cb1" actionListener = "#{newReceiptBean.refreshBillPending} '"

    action = "#{newReceiptBean.refreshBillPending}" >

    < af:showPopupBehavior popupId = "p1" / >

    But the 'newReceiptBean.refreshBillPending' method can be run even if it can be executed by another button like this:

    < af:commandButton text = "ExecuteWithParams."

    Disabled = "#{!}" bindings. ExecuteWithParams.enabled}"id ="cb3 ".

    action = "#{newReceiptBean.refreshBillPending}" / >

    How to run a bean method, after the return of a pupup dialog box?

    Thank you!

    Post edited by: BAO. SZ It seems after setting showPopupBehvior for the button, 'action', and "actionListener" cannot be performed more. Can someone give any help? Thank you.

    I'm not sure that clearly understand your requirment. But have you all ok or cancel button in your popup?

    Well, you can use diaglogListener in your popup if you use dialog.in your dialoglistener runs your bean method.

    see this example

    Handling Ok and the button cancel in af:dialog to context-sensitive help in Oracle ADF by dialogListener | Techartifact

  • I want to change the password I use to access MS Answers. How to do his?

    I want to change the password I use to access MS Answers. How to do his?

    Hello

    1. How are you to access MS Answers site? Is it through Windows Live ID, Hotmail?

    2. what version of Windows operating system is installed on the computer?

    You can check the following items and check if it helps to solve the problem.

    How can I change my password?: http://Windows.Microsoft.com/en-us/Messenger/change-password-FAQ

    Reset your password: https://account.live.com/ResetPassword.aspx

  • Cannot change the language by using the keyboard shortcut

    Original title: I've added a new language on the language bar, but I can't change the language using my keyboard, I can do only by using the mouse. Any idea?

    I've added a new language on the language bar, but I can't change the language using my keyboard 'shift alt', I can only do this by using the mouse. Any idea?

    Hello

    1. what happens when you try to change the language by using the keyboard?

    2. which version of the Windows operating system is installed? Is - this Home Premium, professional or ultimate edition?

    3. have you activated switch between different languages using the language bar?

    To please review the article:

    The language bar (overview)

    http://Windows.Microsoft.com/en-us/Windows7/the-language-bar-overview

    Hotkey to switch between keyboard layouts, press ALT + SHIFT.

    See also:

    How to change your keyboard type

    http://support.Microsoft.com/kb/258824

    Keyboard shortcuts

    http://Windows.Microsoft.com/en-us/Windows7/keyboard-shortcuts

  • Not able to change the password by using the query. Select APPS.fnd_web_sec

    Not able to change the password by using the query.
    Select APPS.fnd_web_sec.change_password ('username', 'password') 'RES' double;

    Can someone tell why and what privileges and subsidies have flexibility to the user non-apps while it can change the password using fnd_web_sec.change_password.



    Concerning

    the information above does not solve my problem, I get the message

    Because you do not have permission on all objects that are referenced by the API (see below).

    Select FND_WEB_SEC. CHANGE_PASSWORD ('MARSHAD', 'mohammad @123') "RES" of the double

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    ORA-06512: at the 'APPS '. FND_CORE_LOG', line 25

    ORA-06512: at the 'APPS '. FND_CORE_LOG', line 432

    ORA-06512: at the 'APPS '. FND_PROFILE', line 110

    ORA-06512: at the 'APPS '. FND_SSO_MANAGER", line 227

    ORA-06512: at the 'APPS '. FND_WEB_SEC', line 1425

    ORA-06512: at line 1...

    can you please list me what are the grants and other Jules Destrooper I should give to a user so that he can change password.

    I don't have the list of objects and you should get yourself by consulting the site code and eTRM API.

    by changing the DDT in the user non-apps after the grant, will, it may be able to change the password.please tell this syntax is correct or not.
    Select applications. FND_WEB_SEC. CHANGE_PASSWORD ('user', 'pwd') "RES" of the double

    What is the point of using 'FND_WEB_SEC. CHANGE_PASSWORD' and not FNDCPASS or FND_USER_PKG API?

    Thank you
    Hussein

  • Disable the Textfield object when you change the HTML form element

    How to disable a texfield if you change the HTML form element? It must be activated at the creation of the new entry form / record.

    Yogesh

    Select 'Read only type of condition' as a value of the element in Expression1 is NOT NULL and in Expression1 put your key primary name of the option to for example P1_EMP_ID

    Kind regards
    Hari

  • I'm trying to reduce the duration of the google navigation and search boxes without any succuss. Numerious times the site was requested, but no response is the problem. I can change the size by using the line that separates the two boxes, but I only

    I added a cus 06/25/10, wanted to shorten the google search and navigation bars to see, but can't. Have re-installed the google toolbar, have chosen the version of firefox as my default tool bar and can then change the width, but when a box shortens the other if extension always fill the width of the screen. Customize toolbar doesn't give any options to reduce the width of toolbar, I am at a total loss. Would love suggestions if you have correctly fixed this.

    This has happened

    Each time Firefox opened

    is 25/06/10

    The address bar and the search bar have a flex property and take all available space.
    You can change the relative size of the two with this resizer between two bars.
    You can only do this by adding a lot of space in the view > toolbars > customize window.

    You can set a fixed width by defining the min-width and max-width for the same value.

    Add code to userChrome.css below @namespace.
    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #urlbar-container {max-width:400px!important; min-width:400px!important;}
    #search-container {max-width:200px!important; min-width:200px!important;}
    

    You can choose your own values as long as the min-width and max-width for each bar have the same value.

  • Structure of the event does not not at the exit of a Btn dialog box

    Hi all

    I have here a simple VI. I want to blow a One button in the user dialog box. I want VI to wait until the user clicks on the OK"" button. When we click on the OK button the VI should pop another dialogue a button and stops when you press the Ok button. The VI does not stop. The value change event is not captured by the structure of the event. Can't really understand why.

    What OK button you are wanting to trigger structure of the event?

    1. as you have connected it the case of the event is related to the OK INDICATOR on the front panel.  You don't have an OK button on the front panel. The OK button in the dialog box is not easily accessible to the structure of the event.

    2. programmatically change an indicator does not raise an event to change the value.

    3. you can use a Value property node (signaling) to trigger the occurrence.

    4. There is almost always a better way to do what you want to use an indicator and a value (follow the signs).

    Lynn

  • Change the sizes of police tools &gt; dialog Options and the subject:? pages

    Under Windows 7 I have select 1024 x 768 screen resolution and 125% of the size of the text.

    The size of the font of the tools > Options dialog box is too small for me. I would like to change it to 11 pixels.

    Should what code I add to userChrome.css?

    Also, I would like to increase the subject's default font sizes:? pages and the help > troubleshooting information page, so that I don't need to zoom before them.

    You may need to use a large number of style rules to cover all possible windows including operable windows if you click on a button of the Cookie Manager (#CookiesDialog) and password manager (#SignonViewerDialog).

    The Options/preferences window has this ID: #BrowserPreferences (chrome://browser/content/preferences/preferences.xul)

    #BrowserPreferences * { font-size: 11pt !important; }
  • Username, preserved in the AnyConnect Client user name dialog box

    I have one question remains on my client anyconnect 2.5.2006. The user in the dialog box name is cached. We do not want to be cached and have users to enter their username every time.

    Shilpa Gupta mentioned on another post of mine. I was wondering if anyone has any other thoughts! The 2.5.2006 resolved customer I had another question, so come back to 2.4 is not an option at this point.

    For clearing up the credentials in the dialog box when using AnyConnect I found one of the bug:-

    CSCsx76993

    Symptom:

    User credentials are cached in the preferences.xml file when you use the Anyconnect client.  So when they revive Anyconnect, the user name is displayed in the client.

    Conditions:

    You can see all the client anyconnect.  It is a configurable option in the IPSec client.

    Workaround solution:

    Currently there is no work around

    And I can see it resolved in 2.4.202 however, I'm not sure if its fixed in 2.5 also. For this I would like to hear from others.

    Kind regards

    Shilpa

    Hello

    All bug fixes and new features in 2.4.x are also in 2.5.

    However the "bug" Shilpa has pointed out, is not really a bug, but an enhancement request, in other words in 2.3 before the cached username is expected behavior and is always the default behavior in the 'fixed' versions, so just the upgrade won't change anything. What has changed is that now you can change the behavior by defining a new parameter RestrictPreferenceCaching in the local policy file:

    http://www.Cisco.com/en/us/docs/security/vpn_client/AnyConnect/anyconnect25/Administration/Guide/ac04localpolicy.html#wp1055429

    So for example the addition

        All

    your local police should achieve what you want.

    HTH

    Herbert

Maybe you are looking for

  • Mac partition

    Hi, I intend to partition my hard drive. But my main concern is whether Partition Mac works also as Partition Windows? In windows, we can create different drives and store our data. Based on our name for ex: C drive is like the master boot record. In

  • Tecra A9 + Windows Vista SP1 - BSOD on restart

    Hello When the PC is restarted, I get a BSOD with the following information. PAGE_fAULT_IN_NONPAGED_AREA. Technical info. Stop :-0 x 00000050 (0X817DA000, 0x00000000, 0X8278D766, 0 x 0000 00000)iaNvStor.sys - ADDRESS 8278 766 BASE to 82773000, time S

  • Cannot run game Bioshock on Satellite X 200 because of the graphics driver

    I just bought a 200 X and I can't update / install the drivers for the graphics card on the toshiba site! While installing it gives a message saying that a BONE bundles is installed.The computer is just out of the box and the only game I have install

  • My email address in hotmail has disappeared from the screen while I was typing

    My email address in hotmail has disappeared from the screen while I was typing

  • Change the ActionItem image

    Hi, I would like to know how to change the image of an actionItem without using the onTriggered slot. kind of how mediaKey (play/pause) changes the image of the actionItem of game for a break in the media player by default. I tried setting imagesourc