Finding a code by typing the description and autosuggest

A while back I created a blog/demo that showed how easy it is to get the translation of a code field to show up in ADF forms by using a join based VO on two entities and partial trigger on the code field.

I got an interesting question on the comments for that entry that asked whether I can do the reverse and allow the user to type the description of a field and get the code based on the description. Well it turns out that is not that complex either. Throw in the ease of implementing auto-suggest behavior with ADF BC and ADF Faces and you got a very nice solution for that question.

See here:

Comments:

Hey Shay,

i'd like to implement the description autosuggest item in a table column.
There is one problem in my example i've encountered, it is about current row binding. The new values set by autosuggest item are set to the whole column's rows (department column in your demo). Could you hint at how to fix that?

Best regards,
AB

Posted by guest on December 02, 2011 at 04:42 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today