How can I prevent save master without details?

I need to disable the option (command button, lik, imagelink, etc) until there are details records.

My version of jdeveloper is 11.1.2.3

Published by: Edward D.G. on 23 January 2013 20:39

Hello

1. Add a reference to a bean managed the Save button disabled property
2. in the managed bean, access the iterator of the secondary table (instance of DCIterator)

BindingContext bctx = BindingContext.getCurrent ();
BindingContainer links = bctx.getCurrentBindingsEntry ();
Iterator DCIterator = (DCIterator) bindings.get ("iterator as in PageDef name");

3 getEstimatedRowCount of iterator and if it is 0, returns 'true '.
4. configure the button so it partially refreshes when the table has a new line added

Frank

Tags: Java

Similar Questions

  • I use to manage my DSL modem via an ip address. When I enter FF8 I wonder where to save the file. Why and how can I prevent the FF8 to do this?

    I use to manage my DSL modem via an ip address. When I enter FF8 I wonder where to save the file. Why and how can I prevent the FF8 to do this?

    And now, whenever I'm in an ip address that I wonder if I want to download the file.

    This happens when the modem server does not send the file in text/html, but with a different MIME type.

    I tried adding index.html in the event that the server can send this file as text/html.

    If your DSL modem has a support Web site, then you can try asking it there advice on how to configure the server modem.

  • How can you collectively save all tabs as a bookmark?

    How can you collectively save all tabs as a bookmark?

    As you have a Protect tab option, you probably have Tab Mix Plus installed, option added by TMP.

    Tab Mix Plus will change what appears in the context menu. You can return "bookmark all tabs". TMP options, go into the menu panel and in the section "Tab context" menu select "bookmark all tabs".

    Protect tabs is a feature of the TMP. Assistance of the TMP, "Protect tab is a tab that is prevented from closing. You can load other sites in the tab and navigate to other URLS tab, notice that the close button is missing from the right part of the tab, so you can not close the tab. If you try to close Firefox, you will get a warning message on the closure of the protected tab. »

  • Satellite Pro L500 - How can I prevent the boxes menu popping up randomly

    How can I prevent boxes menu popping up randomly and the cursor randomly fault as well?

    It settles after a certain time, but can occur at any time.

    Hi mate

    What menu boxes do you mean exactly?
    What exactly happens with your laptop or OS?

    Please provide details.

  • How can I create a playlist without WMP?

    How can I create a playlist without WMP with files stored in my sansa Fuze please?

    You can make one in Notepad,

    It should contain the path to your music,

    So let's say your songs is at F:/music/artist/coolsong.mp3

    in Notepad, you must put the RELATIVE path, so if your file to playlist in the folder "music", you get artist\coolsong.mp3

    and if it is the root (main folder) of your drive, you would put music\artist\coolsong.mp3

    and all files must begin with: #EXTM3U

    Here is an example of a playlist (saved in the root

    #EXTM3U

    MUSIC\pillar\For the love of the Game\01 for the love of the Game.mp3

    MUSIC\pillar\For the love of the Game\02 turn up.mp3

    MUSIC\TobyMac\Momentum\Yours.MP3

    MUSIC\msc\Trogdor.MP3

    MUSIC\Msc\move.MP3

    I know it will work because it is my real playlist,

    during the recording of brand shure you end the name of the file as .m3u

    and change the type as 'save' to all files

  • How can I open .doc files without being encrypted?

    original title: open .doc files

    How can I open .doc files without being encrypted?

    How can I open .doc files without being encrypted?

    What program are you trying to open them in? If you don't have MS Word, then you need this program.

    Word Viewer
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=3657CE88-7CFA-457A-9AEC-F4F827F20CAC&displaylang=en

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How can I prevent installation of McAfee GUARD during the Flash update?

    I'm under Win8.0, Firefox 34.0.5. I have NO options when I select upgrade - I get a 'Save' option for downloading, after which I have to go to the download folder, select and run the .exe file that installs BOTH the Flash player AND McAfee software updated. I DON'T want McAfee and immediately uninstall it. How can I prevent its installation? Thank you!

    The easiest way is to simply use Internet Explorer, Edge (for Win10) or Chrome, which bundle Flash Player as a component integrated on Win8 and higher, so there is never an installer to download, or an update to install (they are delivered via Windows Update or the update of Chrome, respectively).

    For Firefox, you will need to uncheck the box for McAfee on the download page itself, after which you will get the installation program that is not group McAfee.  I posted much longer explanations on the subject, so I'm not going to come in here, but we invite you to look through my flow for a longer and more eloquent background.

  • How can I prevent the software Adobe Reader crashing on my non privileged user?

    I am running Windows 7 and I need to create a user non-preferred on my computer. When I open a PDF file, it crashes almost instantly (I can view the document three seconds approximately). If I just open Adobe Reader without a PDF and click on Edit-> Preferences, it crashes. If I open a PDF file in any browser, it crashes.

    What I was able to guess, it seems that Adobe Reader tries to read the registry of my privileged user. I have tried to uninstall Adobe Reader, temporarily to grant privileges to my non-privileged user, install Adobe Reader on this user, and then remove the permissions, but the accident is still happening. The only way to stop Adobe Reader to plant is to start the program as an administrator, or change the type of administrator account. How can I prevent the software Adobe Reader crashing on my non privileged user?

    I had corruption of the registry "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders", where many of the keys have values set for the directories of the user of my administration. I did not write exactly which keys have been corrupted and causing the accident, but once I have finished all the fixing Adobe Reader worked perfectly and I was able to open the preferences.

  • How can I prevent popups symbol when I type "ss" or "ll" in a Word?

    How can I prevent OS X 10.11.6 popping symbols when I type "ss" or "ll" in a Word?    In some contexts, typing the second 's' or 'l' is effectively blocked until I have press a different key.

    Hello

    Do you mean a screen pop up as below?

    Don't hold the s or I or other key too long.

    When you hold down too long, you will get a screen pop up with characters / diacritics.

    Maybe you should clean the keyboard?

  • How can I remove Icloud account without password?

    How can I remove Icloud account without password?

    Some things to note-

    -an impossible to delete an iCloud account if you can remove a device.

    -If your wish is to remove an iCloud account, simply remain dormant.

    -to answer your question, if the account the disconnection of a device, you will need the password to the account.

    -If you have forgotten the password, then go here https://iforgot.apple.com

  • How can I prevent any request for download on icloud in clock mode?

    How can I prevent any request for download on icloud in clock mode?

    What is "clock"? Do you mean when you have an active clock on the screen? Applications where?

  • How can I prevent the Thunderbird goes directly to the next message after you delete that I read?

    How can I prevent the Thunderbird goes directly to the next message after you delete that I read? I want to return to the list of all incoming mail, so I can choose what email I open then. I could see something that I don't want to open at all, but the way it is set up right now, it opens the following email automatically.

    Thank you. I don't want to download an add-on, so I tried the messages pane, and I guess it will do. I used Thunderbird a few years ago and he used to have an option where it would go after deleting a message during the consultation in its own window. But I think I can live with this option. so thank you once again.

  • How can I re - install firefox without losing my data. It is infested bame ad.

    Firefox is infested with "ads name.

    How can I get rid of it or how can I
    Re-install firefox without losing any data?

    There is a rash that goes around, and the solution is not yet clear 100%. I suggest try reinstalling this way:

    Clean reinstall it

    We use this name, but it is not about the deletion of your settings, it comes to ensure that program files are-own and contain no alien code files. As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (1) download a fresh Installer for Firefox 37.0.1 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (2) close Firefox (if applicable).

    (3) to rename the program folder

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.

    Any improvement?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins
  • How can I prevent the download Thunderbird automatically emails?

    I do not have thunderbird to automatically download my emails from my server. I want to manually click to receive email. How can I prevent automatic download?

    The above method works for POP accounts, but if the IMAP account and the IMAP server supports the IDLE command, I think that you will receive notifications as soon as they arrive at the server level, regardless of the setting to check the mail.

    http://KB.mozillazine.org/IMAP:_advanced_account_configuration #Features

  • How can I prevent videos automatically start when I load a web site?

    Recently web sites have begun to show me not only the first shot a video, but from the video automatically when the page is loaded (or when I scroll down to the part of the page where the video). This happens on sites of news (nytimes.com), facebook and other places. How can I prevent Autostart from happening?

    I've got AdBlockPlus and NoScript activated, even though I have many sites NoScript whitelist. Videos to wait for me to click an arrow in the middle (like a "play" button) to start; some still do, but most don't. (I think an add-on is responsible for the play button, but I don't remember which).

    Any suggestions?
    Thank you.

    Note that pages can also use the built-in player to HTML5 media instead of a plugin like Flash.

    You can see who is used by right-clicking on the drive to open the context menu.

Maybe you are looking for