Dear All ,
I want to implement teamDev's Auto Suggestion in my application can u please help me to get this.
Can u Please give me complete procedure to implement autocomple.
Thannks in advance,
Ramchandra
Hello Ramchandra,
To add the SuggestionField component with an Ajaxable suggestion mode to your application, you should make the following steps:
Add the <q:suggestionField> tag to the page.
Set the suggestionMode attribute to the custom.
Add a child <q:dropDownItems> tag to the <q:suggestionField>.
The value of the DropDownItems component should return the list of suggestion depending on the entered string.
You can get the entered value from the SuggestionField component using the "searchField" request-scope variable. To retrieve a request-scope variable by its name, you can use the teamdev.jsf.component.util.FacesUtil.getRequestMapValue method.
Please see the documentation for more details. You can also find examples of usage the SuggestionField components in the QuipuKit demo application. The source code of the demo application is available at http://teamdev.com/quipukit/downloads.jsf.
Any questions are welcome.
Regards,
Tatyana
Can u bind a <q:suggestionField> to data base table's column ?
Hello Ramchandara,
I don't fully understand your question. Can you please clarify it? Do you want to use the columns in the drop-down list of the SuggestionField component?
Regards,
Tatyana