Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 545 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 440 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Question on cascading LOV

Hi experts,
I'm using Jdev 12.2.1.0 and I'm implementing 4 selectOneChoice with cascading dependencies.
It works fine by now as soon as you select values in order from 1 to 4, as the values are narrowed down:
But my problem is if users goes directly to value 4:
My requirement is that the list of field 4 is empty unless all previous 3 fields are not empty.
Thanks a lot,
Jose.
Best Answer
-
Hi Jose
It'll not activate checkbox , you just need to add GenerateIsNullClauseForBindVars="false" under viecriteriItem tag like this and then check
<ViewCriteriaItem
Name="DepartmentId"
ViewAttribute="DepartmentId"
Operator="="
Conjunction="AND"
Value=":BindDeptId"
IsBindVarValue="true"
Required="Optional"
GenerateIsNullClauseForBindVars="false"/>
After this 4th lov will not show any data untill 3rd one is selected
Ashish
Answers
-
try to set Disabled property for that fourth SOC, to be false _only if first three SOC attributes are set to non-null values...
OR, make 4.th SOC ;disabled property to be false only if 3.-th SOC value are set, then the same for 3. SOC (depends on 2. SOC), then the same for 2. SOC, etc... got a point?
-
Excellent idea!
Can you help me please a bit to build the expression?
I don't know how to reference the fields as they are inside a Query Panel based on a View Critera.
BR -
This 4th Lov is dependent on all 3 lovs?
If you are using view cirteria then uncheck "Ignore Null Values" Check box in criteria to not show any data in case of no value is selected in other 3 lovs
Ashish
-
Thanks a lot for your help Ashish.
This 4th Lov is dependent on all 3 lovs?
2nd Lov depends on 1st
3rd Lov depends on 2nd
4th Lov depends on 3rd
If you are using view cirteria then uncheck "Ignore Null Values" Check box in ...
Ignore null values is not editable:
I've tried your solution Igonre null values in viewCriteria -Jdeveloper 12c (Not a bug but a change) – Ashish Awasthi's Blog (Jdev/ADF) but It didn't activate the checkbox either.
Regards,
Jose.
-
Hi Jose
It'll not activate checkbox , you just need to add GenerateIsNullClauseForBindVars="false" under viecriteriItem tag like this and then check
<ViewCriteriaItem
Name="DepartmentId"
ViewAttribute="DepartmentId"
Operator="="
Conjunction="AND"
Value=":BindDeptId"
IsBindVarValue="true"
Required="Optional"
GenerateIsNullClauseForBindVars="false"/>
After this 4th lov will not show any data untill 3rd one is selected
Ashish
-
It works fine. I was confused and was setting the value to true:
Thanks a lot!
-
Jose that post was not about this problem , It was about chnaging it's value only
Anyway you solved it