ADF – LOV Auto Complete defaults to first value in the list

One very useful feature that I like in both OAF and ADF is the list of Values. Specially the autocomplete functionality makes it more worthy!
In ADF, to achieve this autocomplete feature, you just need to mark the autosubmit property as true for the inputListOfValues component, which invokes the autoCompleteValue() method of ListOfValuesModelImpl.

Today, I faced a strange issue related to this autocomplete feature in one of my lovs.
I have a List of values field in my page. When I enter a partial value and tab out…if only one value exists which starts with the entered partial value, that value is supposed to be defautled.
But incredibly, the first value of the lov is defaulted in the field instead of the selected value.
I could not stop laughing at myself when I found the reason for this strange behaviour. After wasting more than 4 hours, I found out that the Lov VO has no primary key marked! 🙂

The more you learn!! the more stupid u become!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 🙂 🙂 🙂

Advertisements
This entry was posted in ADF. Bookmark the permalink.

7 Responses to ADF – LOV Auto Complete defaults to first value in the list

  1. dbtjs says:

    Hola
    Me gusta mucho tu blog
    Mi nombre es Adrian
    Oye es mi canción
    su bebé un fuego artificial
    vengan y dejen que los colores de su estallido
    hacerlos ir ah ah ah
    boom boom boom
    aún más brillante después de la
    luna luna luna
    Me gusta comer plátanos

    • Sowjanya Bhupathiraju says:

      Hi Adrian,

      Thanks for the comment.
      But I find it difficult to understand its meaning except for the first two sentences 🙂
      would you mind translating it to english.

      Thanks,
      Sowjanya.

  2. Raju says:

    Hi,
    Please send the process of Creating autofill Lov In OAF to bandham.apps@gmail.com….

  3. Rach says:

    Hi ! I am also using LOVs and one strange behaviour I found the pop-up list when you tab out. When you scroll to the end of the list say from A to Z, the list fetches data from the top again and adds on the list from A-Z… and this goes on once you reach the last item in the list.

    Have you encountered this error before?

  4. Maheeba says:

    Hi
    I am using JDeveloper 11.1.1.5.0
    My usecase is when selecting LOV with multiple values from a single VO.How to return other attribute values in input text box.

    • Sowjanya Bhupathiraju says:

      Hi Maheeba,

      can you plz explain your scenario with more details?
      are you talking about a nomal lov ex : an organization lov where organization name comes into base lov field and organization desc should come in another text field?
      or are you talking about a multi select lov?
      explaining your scenario would be helpful.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s