How can we achieve mutually exclusive save file ADF for scenario below

Hi Experts,

I have 2 inputText boxes. Click to I should only keep when the condition is valid: -.

inputText A is null & & inputTextValue B non-null (true - leave record)

inputText A isn't null & & inputTextValue B is null (set to true allows record)

A inputText = null and inputText B = null (do not let save)

A inputText. = null and inputText B! = null (do not let save)

Thank you roy

JDEv 12.1.3.0

Hello

You can manage at the entity level validation. its very simple to manage it there only. If you sort it handle it might be performance for each record time.

Approach one:

Create the entity validation methods of levels two one for two years null text entry send message to apprapriate, and another is for the two input text have values throw apprapriate message fo this.

Exmple:

I took the table Employee pay or Manager id must be a single does not exist two and not null;

code for this

/**

The method of validation of employees.

*/

public boolean validateEmployees() {}

If (getSalary () == null & getManagerId() == null) {}

Returns false;

}

Returns true;

}

/**

The method of validation of employees.

*/

public boolean validateEmployees1() {}

If (getSalary ()! = null & getManagerId()! = null) {}

Returns false;

}

Returns true;

}

Second approach:

You can disbale the compaonents user interface level;

JSFF code is:

Salary column

headerText = "#{bindings." EmployeesView1.hints.Salary.label}"id ="c2">

label = "#{bindings." EmployeesView1.hints.Salary.label}.

required = "#{bindings." EmployeesView1.hints.Salary.mandatory}.

columns = "#{bindings." EmployeesView1.hints.Salary.displayWidth}.

maximumLength = "#{bindings." EmployeesView1.hints.Salary.precision}.

Disabled = "#{row." "{Bindings.ManagerID.inputValue not null}".

partialTriggers = "it7' autoSubmit = 'true '.

shortDesc = "#{bindings." EmployeesView1.hints.Salary.tooltip}"id ="it6">

Director column ID

sortable = "true" headerText = "#{bindings." EmployeesView1.hints.ManagerId.label}"id ="c9">

autoSubmit = 'true '.

label = "#{bindings." EmployeesView1.hints.ManagerId.label}.

required = "#{bindings." EmployeesView1.hints.ManagerId.mandatory}.

columns = "#{bindings." EmployeesView1.hints.ManagerId.displayWidth}.

maximumLength = "#{bindings." EmployeesView1.hints.ManagerId.precision}.

" do disabled =" #{row.bindings.Salary.inputValue, null} "partialTriggers =" it6"

shortDesc = "#{bindings." EmployeesView1.hints.ManagerId.tooltip}"id ="it7">

For both null, you need to get the iterator ISO save button action event check lines all go through them all each of any thing find throw the error msg.

Note: In this approach if the user enters salary after tab Manager ID is disabled, if it wants to enter this line manager id, to remove the value of wages filed and tab out so only the id of Director gets activated conversely to pay also.

Thank you

Canada M

Tags: Java

Similar Questions

  • How can I get permission to save files on my desktop in my files shared from my laptop

    I have several shared files on my desktop computer.  I can see my laptop but if I choose to save a file in the shared folders/files, it says I need permission to do so.  How can I give the permission to record from one computer to another?

    Hi Tootsmagoo,

    1. what operating system is installed on the computer?
    2. What is the accurate and complete error message you get?

    I suggest you try the steps from the following links:.

    What to know before applying permissions to a file or folder
    http://Windows.Microsoft.com/en-us/Windows7/what-to-know-before-applying-permissions-to-a-file-or-folder

    What are the permissions?
    http://Windows.Microsoft.com/en-us/Windows7/what-are-permissions

    How to open a file if I get an access denied message?
    http://Windows.Microsoft.com/en-us/Windows7/how-do-I-open-a-file-if-I-get-an-access-denied-message

    Share files with anyone
    http://Windows.Microsoft.com/en-us/Windows7/share-files-with-someone

  • How can I fix my Internet Explorer file? for window 8

    I'm having a problem with internet explore-10 with windows 8.

    How can I fix it?

    Hello

    Thanks for posting your question in the Microsoft Community.

    I understand the inconvenience caused to you and I will definitely help you.

    If you use the version of the Internet Explorer application, simply right click and uninstall and reinstall it should correct the problem.

    1. If you use the desktop version, click the gear icon at the top right and select Internet Options.
    2. Select the Advanced tab.
    3. In the reset Internet Explorer Section, click the Reset button to restore your browser to the original state.
    4. If this does not help, you can reinstall Internet Explorer 10, too.

    If this does not help, reply to this message.

    Ashwin

  • How can I set a default save file for scans using the Solution Center?

    Using Windows 7-64 bit.   All-in-one printer HP Photosmart C-309 Premuim has.

    Due to a crash of Windows, I had to install a new drive and reload Windows. I also rebooted other software like the HP Solution Center & drivers. My problem is that I can't find how to set a default folder for my scans.  This is NOT mentioned in the user manual, but it has been initially implemented by the HP Technical Support when the printer was new.  Can anyone relate how to set the default folders for my scans?

    Thank you.

    Tango

    When you go to the analysis, there should be a window that appears to select the format and the DPI of the analysis. There is also an option for the options of '/CSA/ '. Here you can change the default location to save on selecting another file of having sent them to analysis.

    I would like to know if this information helps, and have a great day!

  • How can I get Firefox to save a password for one that I deleted?

    I have a bookmark in a Web site that has saved my login and my password. I changed the password but not asked to update. For all other websites for which I changed my password for Firfox asked if I wanted to update the password. So I deleted the entry for user name and password for this Web site. However, he still reminds the user name but will not be asked if I want to save the password. Why the change? Why can't I save my new password?

    This Web site may use autocomplete = off to prevent registration of data in form as the name and password of Firefox.

    You can remove autocomplete = off with a bookmarklet to make Firefox to store data of form such as names and passwords.

    Note that Firefox doesn't form data automatically populate automatically saved when autocomplete = off is used, you must double-click the empty name field for a drop-down list.

  • How can I achieve a sous-suite with Csharp for the results of the stage

    Hello

    I want to join a sous-suite programmatically. I used CSharp just in order to get the results of step, is not to create an execution. I start my run in TestStand. And in the Group of the cleanup step, I added a step to the 'Action' to collect the results, which will be used in another platform, of TestStand.

    To do this, I wrote the following code:

    Hey Ebru,

    Sous-Suite results are actually stored in their own container resultlist in TS. Sequencecall, which is accessible through the following statement:

    Locals.ResultList [step]. TS. SequenceCall.ResultList

    which step is the index of the call sequence step. This resultlist is structured in the same way as the table main resultList. You can also access your sous-suite directly from the container of movie file if it's in the same sequence as the main sequence file.  Access this reference using the following:

    RunState.SequenceFile.Data.Seq [sequenceName]

    Using this reference, you can access the result of each step Molok containers.

    I hope this helps!

  • How can I reduce the width of the outline for 1pt below? He keeps by default 1 point!

    I need to create a file will all point size etant.072 pt in width. But whenever I try to change the point size, default to 1 pt. Even if I just change to pt.5! I'm new to creative cloud and I can't understand in preferences how to change that.  Any advice?

    Bonus question: Besides, whenever I move the anchor point to a very specific place, it aligns with another point. I removed the "Snap To Grid" and "Snap" to Point, but it still won't let me put the point exactly where I want to. Any advice on this one?

    Select "Snap to grid of pixels" in the transformation Panel and menu.

  • How can I create an eyebrows in file menu and save the option?

    How can I create a menu of file eyebrows, if I used my user to choose an image from the PC.

    And how do I backup my user settings? (this is application is going to be on my pc users only)

    You can launch a file with FileReference selection dialog. You can save the settings using a SharedObject (like a cookie).

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=17_Networking_and_communications_7 .html

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=lsos_3.html

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=lsos_5.html

    If it is a Flex application, you can select a file from the local computer and send it to the server, you will not be able to open the file in the Flex application, because of the security sandbox.

    If it is an AIR application, you will not have this restriction.

    If this post answers your question or assistance, please mark it as such.

  • Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I get the 0x80073AFC error code when I try to use the system restore then, how can I find and replace this file missing MUI?

    • I am running Windows 7 for packs SP 1 or SP 2 does NOT solve my problem since neither one works with Windows 7.  Is there a way to search for this MUI (Multiple User Interface) missing file? The every thing must have himself installed in the first place. I took my mom (she died in June) and my brother on this PC as users so even if they do not use this PC supports multiple users. Maybe if I deleted as a reboot and additional users it will solve my problems. My updates install OK but I can't run at all system restore. It creates a restoration point OK but when I try to sr back to a restore point before I get the error 0x80073AFC topic of the missing MUI file. Then, when I spear SR it is said that he could not and no files have been changed because of the error 0x8000FFFF error, unspecified catastrophic failure and could not retrieve the file several times when system restore is attempted.

      I'm running Windows 7 on a HP Pavilion with browser Firefox 3.6.8 browser Opera 10.60, IE8 and Google Chrome 5.0.375.125 browser browser.

      Can you tell me what I try next? Thnks a lot and sayonara for now the guy-Jack McElwee / keimanzero the Scion of the Anime in Brookhaven PA - USA

      OK I tried everything and nothing works! Only added beginners are updated browser Opera 10.63; IE9 (Beta); Firefox 3.6.12 and Google Chrome 7.0.517.41 and Java 22. Of course like everyone else in the world, I had to uninstall/enable and disable/download again and reinstall new Adobe Flash 10 and 11 of the shock wave and they keep crashing too! Hello 4 keep screwing browsers and now I get connection network problems. I run Comcast doctor and did everything it said to do, but nothing works. Oh and I added 7-Zip and WinZip also. Likewise, they will not work! Help! Thanks - K & K

    keimanzero,

    Comcast of Norton Security Suite version is installed? If Yes, who and perhaps malware is most likely to cause questions you have published, in particular the failure of the restoration of the system.
    First, configure the system to boot - How to solve a problem by performing a boot in Windows Vista or in Windows 7
    NOTE: Start-up mode minimum state all the 3rd party firewalls will be disabled. Open Control Panel > Windows Firewall to make sure that the native firewall of Windows 7 is now on.

    Download and Save the update system (or CheckSUR) tool. You will need to download the specific Version of CheckSUR corresponding to the architecture of the system to Windows 7. If you do not know the architecture of the system, and then click the link that says "Click here to show or hide the instructions step by step with images" under method 2: download the update directly system preparation tool from Microsoft Download Center .
    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2

    Once the download is complete, close all open programs and browsers. Now, run CheckSUR with the system connected to the internet because it will download the .cab for system files. Reboot once CheckSUR is complete.

    Secondly, I suggest that you run the File Checker system while in the same clean boot state.
    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the field search programs and files .
    2. Right click on cmd.exe in the programs of list, and then choose 'run as administrator '.
      If you are prompted for an administrator password or a confirmation, type your password or click on continue.
    3. At the command prompt, enter the following line exactly as written including the space between thec and the/and then press ENTER:
      sfc/scannow

    When the analysis is complete, test to see if the problems facing the system have been resolved.

    If they are not, you will need to contact Norton support for the version of Norton Internet Security Comcast to get help, or just uninstall NIS, run the Norton removal tool (right click Norton_Removal_Tool.exe, choose "Run as Administrator"), reboot and then check to see if the problems are still occurring.

    Expert MowGreen Windows IT Pro - consumer safety

  • How can I indent of lists of files on windows explore to show their dependency or hierarchy

    I need to see the hierarchy between the files in Explorer windows that are hyper linked and saved in the same folder. How can I achieve this?

    Hypertext links / shortcuts must be a .lnk file type.

    Or symbol of standard shortcut in this topic.

    So I guess just add the file type of slide show to detail line ads would suffice.

    But you can also add the path to him as well.

  • How CAN I Make, hearing, CC, Edit, file, audio, (.) DTS)

    How CAN I Make, hearing, CC, Edit, file, audio, (.) DTS)

    Help, please. Thank you

    However, if it's any help you, hearing can open, save, and, consequently, change the .ac3 Dolby Digital format files.

    Otherwise, as Steve says:

    DTS store | DTS

    Over-codes DTS - HD - Minnetonka Audio Web Shop

  • How can I make the smaller pdf file size?

    How can I make the smaller pdf file size?

    Hi vickyb,.

    Reducing the size of PDF file requires Acrobat (one way is by choosing File > save as > PDF of reduced size). If you do not have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.

    Best,

    Sara

  • In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    As far as I know, you can't.

  • How can I connect sequence of database file version number?

    Hello

    As in the subject.

    How can I connect sequence of database file version number?

    Nothing like that under the purpose of registration.

    Here's how I did it:
    Configure-> results of treatment-> database-> schemas tab Options
    Copy + paste together generic Record
    Under the new scheme opened UUT_RESULT
    Add a new column - varchar type
    Set the value of Log as RunState.Caller.SequenceFile.Data.Version

  • How can I remove all the unused files to clear a space

    How can I remove all the unused files from my computer

    You can remove applications on the control panels.  XP seems to me (im not on a XP ATM machine) programs cpanel

    Files?  you do not (or should not) delete separately

Maybe you are looking for

  • extensions are available for IOS, but not mac os, why?

    Since then, I have a mac OS X, why can't get extensions for this instead of the extensions of the IOS? I can go to Safari preferences then extensions. When I click on that it sends me to iTunes but extensions for IOS poster... why and if I download w

  • requirements and configuration of the mobile module

    I want to control an appliance using a PDA. I want answers to the following questions 1. I have a nokia with great software symbian smartphone, I can use it. 2. how to set up a laptop, I use lv 2010, do I need to purchase a license (such as the SCCT

  • HP tablet 10 2101 wireless keyboard does not

    Hello. New to the world of the tablet. Just bought a HP 10 compressed 2101 w/Bluetooth keyboard. I can't use the keyboard.  It seems that its not communicating only not with the tablet.  I'm sure that's probably operator error.  The Tablet and keyboa

  • External keyboard issue...

    I've never used an external screen before so I apologize for my ignorance. Just bought a Dell P2415Q and plugged into my MacBook Pro 2014 retina and it works very well. You wonder how to use the display with the laptop clamshell mode. I would use my

  • How to spend DISABLE_CACHE_HIT on report runtime?

    Hi all"Nothing, hoping that someone might have something to help Let's go."I would build a single report that allows users to run with an option "Use Cache" or "do not use the Cache.  Ideally I'd like the option available as a guest, dashboard, that