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!

JDev 10g ADF Faces and AJAX Autocomplete on inputText

Brenden AnsteyJun 17 2010
Hi all,

I'm still using JDev 10g for an number of applications that are not going to 11g any time soon.

has anyone had any success with using an AJAX autocomplete/autosuggest with an af:inputText?

I've tried using AjaxTags ( http://ajaxtags.sourceforge.net/ ) version 1.5 is not compatible with 10g (JSP 1.2).

AjaxTags version 1.3 does integrate with 10g and I can get the Ajax tags in the component palette, but I get Javascript errors when I run the application. I have the configuration 100% correct to their documentation but it doesn't work. I get a Javascript error as a null object reference is being passed and I'm not clever enough with JavaScript to work out why (the prototype and scriptaculous code is pretty complicated)

Also tried and got working Duncan Mills example here: http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html
But this is too limited to be useful as I need to pass back more information (code and display value).

There was another example from Deepak Vohra here http://www.itarchitect.co.uk/articles/display.asp?id=335 but the version of AjaxTags is too old and I can't find the version he used anywhere on the Internet.

There are some other non JSP/JSF implementations around that use only Javascript but they all rely on an HTML input which do not support EL. They don't work with JSF because of the way that the JSF renders the input components.

If anyone has had success with this I'd be glad to hear of it.

thanks,
Brenden
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2010
Added on Jun 17 2010
0 comments
639 views