Link to home
Start Free TrialLog in
Avatar of TJOSY
TJOSYFlag for United Arab Emirates

asked on

List Of Value(LOV) in JSP

Hi,

I am relatively new to JSP. As a part of one of my projects, I need to develop some JSP pages in Jdeveloper 10.3.1.3. (Our environment is still based on 10g).

In one of the pages, the user needs to select the location code. I need to create a LOV functionality for this. When the user clicks on the location field, he needs to be taken to a page where he can search for the available locations. He can select the correct one and when OK is clicked, he will be taken back to the main page with the selected location.

It would be really helpful if someone would provide me a sample code for this.

Regards
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

R u using java script in ur application ??
Avatar of TJOSY

ASKER

Hi Dravidnsr..

Not really. But I can consider as option. would you please provide some sample code ? The items in the LOV needs to be picked up  from db tables.

Regards
can you share the  code here how faryou progressed??
Try using JQuery autocomplete.

http://docs.jquery.com/UI/Autocomplete -- should be appropriate for your requirement,

Or else , use Jquery to implement your own LOV.

Idea is load everything to an array in onload of page, and iterate through it to display on the popup screen. Once selected post back the selected field to main page.

-Murali*
ASKER CERTIFIED SOLUTION
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial