« ADF Faces RC: How-to pass additional arguments to a JavaScript function using the af:clientAttribute element | Main | JDeveloper 10.1.3.4 released »
How-to build Oracle Forms style List-of-Values in ADF Faces RC
By frank.nimphius | July 26, 2008
Oracle Forms allowed developers to associate a smart list of values with an inputtext field. The intelligence of the Forms LOV appears almost mind reading in that it doesn’t pop up the LOV if the partial search condition entered by the user retrieves a single match only. If more than a single match is returned, a LOV dialog is opened with the pre-fetched list of data. Of course, Oracle Forms LOV can also be used the dumb way, in which the user hits the LOV button to then manually enter the query condition before pressing the execute query button.
In JDeveloper 11, the ADF Faces and ADF development teams have closed the gap that existed in 10.1.3 for LOV on the web. A new component, the af:inputListOfValues component, is introduced that, in combination with ADF Business Component’s model driven list of values, can be configured to behave and act like LOVs in Oracle Forms.
This how-to document shows and explains how to build such a list of values and also unveils the little code to write to make the LOV pre-fetching a list of values based on the partial user input in the input text field.
Topics: ADF Faces RC, Uncategorized | No Comments »
Comments are closed.