Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF selectOneChoice default blank value

Vladimir ZhilyaevFeb 12 2016 — edited Feb 13 2016

Hi there,

My jdev 11.1.1.7 and I have View Object based on query which returns three strings:

A

B

C

When the page is loaded in field default value is A. I want blank value.

What I did:

1) In my code I'm added <f:selectItem value="" id="si100"/>

<af:selectOneChoice value="#{bindings.LotNumberVO1.inputValue}"

                                       . . .

                     <f:selectItem value="" id="si100"/>

                      <f:selectItems value="#{bindings.LotNumberVO1.items}"

                                     id="si10"/>

But when the page is loaded in field default value is A and in dropdown list I see blank value.

2) In VO ->List UI Hints

I chose Include "No Selection" Item but to no avail

Any ideas guys?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2016
Added on Feb 12 2016
10 comments
2,639 views