Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎03-17-2012
My Device: blackberry curve 8520
My Carrier: NA

Autocomplete text field from webserver response

Hi,

 

I am creating an application where i want to put autocomplete text field.

My screen consists of 3 ObjectChoiceField elements and one EditField which accepts the user inputs.

Now, I want to request a webserver with the ObjectChoiceField selected choices and the entered inputs in the Editfield and to show the response of the request received from webserver to be shown as the autocomplete prompts. Right now, I am able to show the autocomplete results on key-press from a fixed BasicFilteredList using AutoCompleteField, BasicFilteredList classes. But, I want  the datastore to be reloaded with the webserver response received for every keypress.Please help me and suggest a way to do it.Thanks in advance.

 

I am following the directions given in the following url:

 

http://docs.blackberry.com/en/developers/deliverables/17971/Create_an_autocomplete_field_from_datase...