Oracle ADF: remove blank option in cascading LOVs

2k views Asked by At

I'm using JDeveloper 11.1.1.7.0

I have a problem with cascading LOVs. They finally are working fine, but I have an issue I can't fix, and it's the blank option at first.

I have been trying lot of things:

  • setting the No Selection Item at first: It does not work. First appears the blank option, then my '- Select someting-' item and then the others.
  • without setting the No Selection Item at first: It does not work. First appears the famous blank option, then the others.

It does not happen with the main LOV; it happens with the dependent LOV: when value changes in main LOV, the dependent one is always showing the blank option.

Can anyone help me, please? I'm so stuck with this.

Thank you. Regards.

1

There are 1 answers

3
Nagh On

You have to make sure that no blank lines returned to your LOV.
You have to uncheck checkbox with No Selection Item.
You should make sure, LOV won't get NULL value. If you getting NULLs you might want to fill unselected field in jsf component with some text so it will be shown when your LOV got NULLs.