This Question is Possibly Answered

1 "correct" answer available (4 pts) 1 "helpful" answer available (2 pts)
3 Replies Last post: Jan 31, 2008 12:11 PM by Tatyana Matveyeva  
Ramchandara   2 posts since
Jan 10, 2008
Currently Being Moderated

Jan 30, 2008 7:12 AM

Need Help regarding Ajax Autocomplete

 

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

 

 

Tatyana Matveyeva   873 posts since
Aug 16, 2006
Currently Being Moderated
1. Jan 30, 2008 1:44 PM in response to: Ramchandara
Re: Need Help regarding Ajax Autocomplete

Hello Ramchandra,

 

To add the SuggestionField component with an Ajaxable suggestion mode to your application, you should make the following steps:

 

  1. Add the <q:suggestionField> tag to the page.

  2. Set the suggestionMode attribute to the custom.

  3. Add a child <q:dropDownItems> tag to the <q:suggestionField>.

  4. 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

Tatyana Matveyeva   873 posts since
Aug 16, 2006
Currently Being Moderated
3. Jan 31, 2008 12:11 PM in response to: Ramchandara
Re: Need Help regarding Ajax Autocomplete

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

More Like This

  • Retrieving data ...