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
New Contributor
Posts: 8
Registered: ‎02-29-2012
My Device: 9800 0S 6
My Carrier: bell

clickable autocomplete field

AutoCompleteField autoCompleteField = new AutoCompleteField(filteredList, AutoCompleteField.LIST_STATIC){


public void onSelect(Object selection, int type) {
super.onSelect(selection, type);
if(selection != null) {
String selectionAsString = getEditField().getText();
// Do whatever else you need to do with the String.
Dialog.alert(selectionAsString);


}
}


};

Developer
Posts: 16,838
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: clickable autocomplete field

and your question is?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 4
Registered: ‎06-12-2012
My Device: 8320
My Carrier: AT&T

Re: clickable autocomplete field

how can you get the item selected and send to a server via POST, recieve results and display results on a new page in the form of a selectable list. complete code please Smiley Happy

Developer
Posts: 16,838
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: clickable autocomplete field

please open an own thread for your own question.
if you want to have the complete code you can hire a developer and word the contract accordingly.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter