How to check if the value of text is in a view accessor? How can I check for validation?

Hi Experts ADF,

JDeveloper 12.1.1.3.0

I have a VO with a Segment1 column. And I have an accessor in my VO as SegmentVA which contains all the numbers.

So in the user interface, I'm having a Segment1 as an inputText. The user should then enter values in inputText.  How can I check to validate that the value you enter must be valid within the ViewAccessor.

Thank you

Animesh

You can use a declarative approach and define the Validation rule on EO attribute.

Or you can create the method in your ViewObjectImpl class, expose this method as a customer interface, create custom for your input field validator and invoke the VO method from there.

Dario

Tags: Java

Similar Questions

Maybe you are looking for

  • DEXT: How to move contacts to new groups

    I imported all my contacts into my new Motorola Cliq (MB200 in the Mexico) with Motoblur app and a CVS file and now I have created in my Motorola Cliq a new groups like family, personal,... etc, and I want to spend a few contacts of the general list

  • TS2012 - SequentialModel customization to include the version of sequence and the path in the report header

    I was able to add a PreUUT reminder to a single sequence to allow me to understand the SequenceFile.Version and the SequenceFile.Path to the header of my report. The station ID: TESTENG6-DMA Serial number: NONE Date: Friday, October 17, 2014 Time: 09

  • router password changed on its own

    Some days, my internet router is spent most of my links router devices and when I enter my password now it says it is incorrect.  I wrote when I created it a password.  I only had a few months to this router.  How could this have happened?  now, I ha

  • How can I make the wider scroll bar as I could in XP?

    Under XP, I could right click on the desktop, click Properties, click the appearance tab, click on 'Advanced' and change the width of the scrollbar for all windows.  I think that I had a similar experience in Vista.  It is not available in customize,

  • Problem downloading Acrobat Pro DC

    I've been downloading this software for more than 2.5 hours, and he's sitting on 75% for an hour.Logic says that the installation failed, the activity is non-existent. (My download speed is 35mbps) cpu on the 2 h time is 02:11 sec ever now and then I