Get value with DBSequence in bindings EL in Oracle ADF

Small tip on ADF. If you want to get value of DBSequence in El you can use below el for checking that.

#{bindings.Id.inputValue.sequenceNumber.value != null and bindings.Id.inputValue.sequenceNumber.value > 0 ? 'Edit' : 'Create'}

Happy coding with Vinay Kumar in techartifact……

Vinay

I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube