autocomplete 1 « PrimeFaces « JSF Q&A





1. Autocomplete not sending the right converter value if typed manually    stackoverflow.com

Here are some points :

  1. I have a primefaces autocomplete example that makes use of a POJO with a custom converter.
  2. Im returning a UUID string for the getAsString in the converter.
  3. The ...

2. PrimeFaces Autocomplete still needs JavaScript?    stackoverflow.com

Does PrimeFaces autocomplete still need JavaScript to work?

3. startsWith autocomplete jsf    stackoverflow.com

Ill just why is it this error apperars when i add this code to my autosuggest "CANT INSTANTIATE CORE.BEAN"

while(rs.next()) {
            String ...

4. Primefaces autocomplete needs a converter but I can't create it    stackoverflow.com

I'm changing from IceFaces to PrimeFaces (I really wanted change to RichFaces but cause a bug in new version, I won't) and I'm havinng some dificults to implement correctly primefaces autoComplete. ...

5. Multiple in the same composite component    stackoverflow.com

I'm trying to do a composite component with union of a autoComplete and a dataTable. Like this:

<util:myCustomComp ...>
    <p:column>#{item.code}</p:column>
    <p:column>#{item.name}</p:column>
</util:myCustomComp>
And in CC file:
<p:autoComplete ...>
  ...

6. AutoComplete NOT working    forum.primefaces.org

@Name("userManagerView") @Scope(ScopeType.PAGE) public class UserManagerView implements Serializable { private String numberToAdd; public String getNumberToAdd() { return numberToAdd; ...

7. autoComplete with minQueryLength="0"    forum.primefaces.org

Hello! Is it somehow possible to use a autoComplete component with minQueryLength="0"? I would like to have, that as soon as someone clicks in the field, he gets all possible values ...

8. Autocomplete not sending the right converter value if typed    forum.primefaces.org

Hello, Here are some points : 1. I have a primefaces autocomplete example that makes use of a POJO with a custom converter. 2. Im returning a UUID string for the ...

9. Autocomplete question    forum.primefaces.org

I have a app that has hundreds of p:autoComplete components and with Tomcat 7.0 I wanted to use a generic backing bean method to pull an autocomplete list by a "category" ...





10. modify autoComplete resultlist (e.g. add a number)    forum.primefaces.org

Hi there, first of all I really like to thank you for the great work you guys have done! I really like primefaces and can't wait to get the final v3 ...

11. Auto complete filed problem    forum.primefaces.org

15 May 2011, 10:12 by Renju Auto complete filed problem Dear All, My primefaces version is primefaces-2.2.1 and jsf version is 2.0.3. I have one autocomplete filed in my page and ...

12. p:autoComplete, strange behaviour with preset value    forum.primefaces.org

16 May 2011, 16:20 by matthiask p:autoComplete, strange behaviour with preset value I'm having a strange problem with when used with a bean that has a value set when the ...

13. Class 'org.primefaces.component.autocomplete.AutoCompleteRen    forum.primefaces.org

Class 'org.primefaces.component.autocomplete.AutoCompleteRen Components, Ajax Framework, Utilities and More. Post a reply 4 posts Page 1 of 1 >> << suman_sohal Posts: 6 Joined: 23 Mar 2011, 07:56 30 May 2011, ...

14. AutoComplete throwing IllegalArgumentException    forum.primefaces.org

20 Jun 2011, 20:56 by hfcprime AutoComplete throwing IllegalArgumentException I am using AutoComplete in the most basic way. Here is the xhtml and here is the method ...

15. Problem with autocomplete    forum.primefaces.org

30 Jun 2011, 09:20 by song706 Problem with autocomplete Hi I need to use an autocomplete component in my application but it doesn't work. This is the html with FireBug. The ...

16. Primefaces autocomplete with collector add new value    forum.primefaces.org

New in primefaces. p:autocomplete on primefaces works fine. But I have an idea to add/update new value with this option or prefer any other component. If I write a value on ...





17. Autocomplete - Impossible to suggest with accentuated charac    forum.primefaces.org

PrimeFaces.widget.AutoComplete.prototype.setupDataSource = function() { var _self = this; ... var params = {}; //params[_self.id + '_query'] = request.term; ...

18. New M3 autocomplete    forum.primefaces.org

Hi Primefaces team! Just wanted to say kudos on the shiney new autocomplete component. It's looking very cool. I've had a play on the showcase already. It will be available on ...

19. Multiple choices selection using AutoComplete    forum.primefaces.org

13 Jul 2011, 18:31 by smallya Multiple choices selection using AutoComplete Hi Sorry if the subject is the post is misleading. Could not think of a better way to explain what ...

20. Autocomplete display problem    forum.primefaces.org

15 Jul 2011, 14:49 by hfcprime Autocomplete display problem Using 3.0M3 snapshot (from 7/12), the autocomplete control doesn't display correctly. It has no width dimension, appears in the following code after ...

21. Error Component AutoComplete HELP ME.    forum.primefaces.org

hello I have a problem in the autocomplete component and I can not solve. this is the error below: $ com.sun.faces.context.PartialViewContextImpl PhaseAwareVisitCallback visit NullPointerExecption What is the reason for this error? ...

22. f:ajax / p:ajax support for autocomplete ?    forum.primefaces.org

23. autocomplete "_hinput" not updated if typed or copy-pasted    forum.primefaces.org

19 Jul 2011, 08:16 by moonblade.wolf autocomplete "_hinput" not updated if typed or copy-pasted primefaces 2.2.1 As far as i know it, an autocomplete has 2 input elements, one with id_input ...

24.  strange behavior    forum.primefaces.org

Hi all, I use JSF2 with PF 3.0.M3-SNAPSHOT. I am trying to use . My autocomplete snippet looks almost the same as the one in the lab: ...

25. p:autocomplete problem    forum.primefaces.org

>> << beto22 Posts: 7 Joined: 12 Jul 2011, 02:57 27 Jul 2011, 22:30 by beto22 p:autocomplete problem Well,hi alll.. Let me describe the problem. It happens when a dialog is ...

26. Autocomplete multiple select    forum.primefaces.org

28. Autocomplete fails with required="true"    forum.primefaces.org

fails for me if I set the required attribute = true. It seems that public void broadcast(javax.faces.event.FacesEvent event) .... is not called when this attribute is set to true and ...

29. Autocomplete display problem    forum.primefaces.org

Hi , I have used an autocomplete component. As i 've seen it consists of 2 visible components : an input and a button. How can i force these 2 components ...

30. converter called in advance p:autoComplete    forum.primefaces.org

Hello there, I have a p:autoComplete component in my JSF view and I'm seeing that the converter is called when the request is first sent to the server to fetch suggestions. ...

31. AutoComplete Problem    forum.primefaces.org

23 Feb 2010, 10:21 by glister AutoComplete Problem Hi and good morning, i fail to implement a AutoComplete Component. My JSF Page : Code: ... ...

32. [Solved] stopped working    forum.primefaces.org

Hi, First of all I am really amazed by the quality of this product. I am new to JSF (not to J2EE) but I was able to make a prototype application ...

33. Proposing a new feature for autocomplete    forum.primefaces.org

I want to propose a new feature for autocomplete that allows for the first item in the list of suggestions displayed by autocomplete to be pre selected so that the user ...

34. Prime Faces auto Complete    forum.primefaces.org

Hi, I am new to prime faces and trying to implement autocomplete in my project. I am using jsf2.0 with tomcat. when i am trying to run the ...

36. Question about autocomplete    forum.primefaces.org

I use the autocomplete drop down component and I want to prevent users to enter new value; they can only select the values in the drop down. Does anyone know how ...

37. AutoComplete - inconsistent behavior    forum.primefaces.org

18 Oct 2011, 18:19 by mouse AutoComplete - inconsistent behavior Hi, I am upgrading my working application from Tomcat 6.0.32/Facelets1.1.14/Primefaces1.1 to the latest of all of those versions, including PrimeFaces 2.2.1. ...

38. autocomplete and datatable : behavior dependent on order !?    forum.primefaces.org

I reduced the problem to following code, based on the PF 3 lab showcase for autocomplete: (I put the converter-methods into the autoCompleteBean) Code: ...

39. Problem in accessing autocomplete value in backing bean    forum.primefaces.org

HI I am using prime faces with woodstock library the problem i am facing is that im unable to access the value in the autocomplete box in managed bean can any ...

40. Strange AutoComplete behavior    forum.primefaces.org

41. autocomplete positionning in dialog problems    forum.primefaces.org

Hello Fisrtly thanks for your hard work delivering M4. But in the newest release, the position of autocomplete in dialogs does not work very well. it has became worse in my ...

42. primefaces autocomplete    forum.primefaces.org

Is it possible to call any of the AJAX method on autocomplete component like itemselect? Through google search I found primefaces 3.0 support this. But is it possible on Primefaces 2.2? ...

43. Autocomplete with many result strings    forum.primefaces.org

The complete method returns 70 strings. The first 10 or so are displayed in a window above the autocomplete input field; the window disappears off the top of the browser page ...

44. One autocomplete "wakes up" another    forum.primefaces.org

18 Nov 2011, 18:27 by hfcprime One autocomplete "wakes up" another A form has 2 autocompletes. The first does not work until the 2nd is clicked on, which seems to "wake ...

45. p:autoComplete is not rendered well on 3.0.M4    forum.primefaces.org

19 Nov 2011, 00:30 by daniel_r p:autoComplete is not rendered well on 3.0.M4 Hi, I upgraded to 3.0.M4 from 3.0.M3... and got the following weird behavior... i have p:autoComplete inside h:panelGrid ...

46. How to know what is selected in p:autoComplete ?    forum.primefaces.org

public void valueChange(ValueChangeEvent event) { .... } public void select(SelectEvent event) { .... }

47. primefaces autocomplete    forum.primefaces.org

14 Dec 2011, 02:23 by tamizharasi primefaces autocomplete Hi, We are using primefaces autocomplete to display search results. It is working fine. But the issue is when the user gives the ...

48. appending to autoComplete    forum.primefaces.org

Hello, I am using JSF 2.0, PF M3 and GF 3.1. I have a autocomplete control in my email form. As soon as I select from the drop down suggestions provided ...

49.  broken in 3.0.M4, RC1, RC2    forum.primefaces.org

19 Dec 2011, 17:09 by d_v broken in 3.0.M4, RC1, RC2 The autocomplete tag does not work with versions from 3.0.M4 and above. Same result with M4, RC1 and RC2. ...

50. Autocomplete not working appropriately when used within a di    forum.primefaces.org

19 Dec 2011, 18:03 by sachsedaniel Autocomplete not working appropriately when used within a di I was trying to integrate autocomplete within a dialog window and when using it, the following ...

51. Autocomplete paginnation    forum.primefaces.org

Autcomplete with pagination exist? like table with pagination. This can be a good feature or exist? Autocomplete show all results, if you use maxResults this only get a sublist of all ...

52. why the AutoComplete can't work    forum.primefaces.org

17 Jun 2009, 08:34 by PanYan why the AutoComplete can't work the code in the jsp and the bean is same to the demo but why the list can't show??? code ...

53. autoComplete regression    forum.primefaces.org

just to say, with the last snapshot (6th april) autoComplete does not work anymore. Also all event (onclick, onmouseover, etc) do not work either.

54. autocomplete does not send value to converter    forum.primefaces.org

03 May 2010, 10:15 by bleah autocomplete does not send value to converter Hi, I have problem with autocomplete and converter. For some reason my custom converter receives empty value from ...

55. Autocomplete problem , [b]word disappear[/b]    forum.primefaces.org

Hi, I am new in primeface and jsf, and i want to use autocomplete attribute in primefaces. http://www.primefaces.org:8080/prime-sh ... tePojo.jsf in this link there is a example and i implemet the ...

56. [SOLVED] Problems with autocomplete    forum.primefaces.org

24 May 2010, 20:48 by giovanibad [SOLVED] Problems with autocomplete I'm getting the same error described in this thread http://primefaces.prime.com.tr/forum/viewtopic.php?f=3&t=1453, when I submit my form using a the error is ...

57. client side autocomplete    forum.primefaces.org

Hi, Is it possible to provide all options to the p:autoComplete component on pageLoad (when it renders) after which filtering based on typing happens completely in the client side (i.e. it ...

58. AutoComplete: complete funtion is not triggered    forum.primefaces.org

Hi, I want to use PrimeFaces' simple auto completion feature. The input field is rendered and the editor example works, so I guess the setup is right. When I enter a ...

59. Dynamic AutoComplete    forum.primefaces.org

Hi, I am creating dynamic autoComplete in backingBean like this, assigneeAutoComplete=new AutoComplete(); assigneeAutoComplete.setId("assigneeAutoComplete"+componentrowId); assigneeAutoComplete.setCompleteMethod(createCompleteMethodExpression("#{leaveConfigurationBean.showUserNames}", List.class)); assigneeAutoComplete.setVar("lc"); assigneeAutoComplete.setValueExpression("itemLabel",createValueExpression("#{lc}",String.class)); assigneeAutoComplete.setValueExpression("itemValue",createValueExpression("#{lc}",Contact.class)); This is rendered as just input textbox and we could not see any ...

60. AutoComplete Example    forum.primefaces.org

Taking this same discussion, I was looking the issues board and I view one especial issue that is EXACTLY what I need in my application: Issue 69. I saw that it ...

61. p:autoComplete only accept mause clicking    forum.primefaces.org

Hi, when i choose item on suggestion list of p:autoComplete only it is accepted by clicking mause cursor. (POJO version) When i choose it by keyboard arrow and enter clicking it ...

62. autoComplete select problem    forum.primefaces.org

16 Aug 2010, 14:06 by swd_eagle autoComplete select problem I have an autoComplete which works fine, except that when I hit ENTER (or RETURN) key while the auto complete list is ...

63. Enhanced autocomplete-like (custom component required??)    forum.primefaces.org

26 Aug 2010, 02:59 by timotius_pamungkas Enhanced autocomplete-like (custom component required??) Preivously using trinidad, i create a custom jsp for enhanced list of value. I create a component like this on ...

64. Issues when wrapping autoComplete in composite component    forum.primefaces.org

01 Sep 2010, 17:43 by ylazzari Issues when wrapping autoComplete in composite component Hi, I'm trying to create a JSF 2.0 composite component that acts has a wrapper around an PrimeFaces ...

65. autocomplete in composite component losing its value    forum.primefaces.org

08 Sep 2010, 15:42 by shyammanchoju autocomplete in composite component losing its value Hi, I have created a composite component with a auto complete,selectOneMenu and Button component in it .Actually i ...

66. Endless search with Autocomplete on the example page    forum.primefaces.org

Hi Just a small thing.... If i enter a % on the Autocomplete example (First field) in the PrimeFace ShowCase, then i get a "endless" search. Cheers, OneCent

67. autocomplete and operamini    forum.primefaces.org

The autocomplete component works fine using IE and firefox. I want to be able to run my app from my blackberry. I have tried operamini and bolt but with no success. ...

68. AutoComplete - Instant Selection example issue    forum.primefaces.org

28 Sep 2010, 17:22 by abcconsulting AutoComplete - Instant Selection example issue Hello, AutoComplete - Instant Selection example that demonstrates instant AJAX selection doesn't show how to update other components and/or ...

69. Autocomplete.js    forum.primefaces.org

//update hidden field value in pojo mode if(this.cfg.pojo) { jQuery(this.jq).keyup(function(e) { if(e.keyCode != 13) { jQuery(_self.jqh).val(jQuery(this).val()); } }); }

70. p:autoComplete error with primefaces-1.1    forum.primefaces.org

19 Oct 2010, 14:32 by hugo p:autoComplete error with primefaces-1.1 Most of time getting this exception, rarerly working.. I didnt understand what is wrong, is this component not supported in jsf ...

71. Autocomplete selection is not coming up    forum.primefaces.org

Reproducible Steps: 1) enter a character into autocomplete box and then select one of the entries from the list 2) delete the selection by highlighting and then pressing the delete button ...

72. Error using Autocomplete    forum.primefaces.org

>> << llp0001 Posts: 5 Joined: 25 Mar 2010, 17:54 28 Oct 2010, 11:04 by llp0001 Error using Autocomplete We are using primefaces 1.1 on JSF 1.2 MyFaces implementation. autoComplete throws ...

73. ajax with autocomplete    forum.primefaces.org

01 Nov 2010, 14:15 by lolveley ajax with autocomplete hello, I use netbeans 6.9.1 with mandriva, and I would like to make the autocomplete component work, without success. here are my ...

74. p:autoComplete don't work with 2.2 RC1    forum.primefaces.org

Hi, I'm trying to use the new version of Primefaces, but when I changed the jars (2.2MI to 2.2RC1), all my autoCompletes stoped to work. Anybody knows what happend? Code:

75. In AutoComplete data is lost when i click a commandbutton    forum.primefaces.org

15 Nov 2010, 14:50 by shyammanchoju In AutoComplete data is lost when i click a commandbutton Hi , I have problem with auto complete, actual problem is In my page a ...

76. autoComplete intermittently not completing in RC2    forum.primefaces.org

22 Nov 2010, 20:32 by healeyb autoComplete intermittently not completing in RC2 Hi, I've got an autoComplete component that I've had working for 6 months or so, and I just noticed ...

77. onodblur and onfocus with autocomplete    forum.primefaces.org

Hello, Is there a way to use the onblur and onfocus Attributes for the autocomplete component? Actually i overwrote the primeface render to add those attributes, but this is not a ...

78. AutoComplete questions    forum.primefaces.org

Hi, I would have two questions related to the following showcase: http://www.primefaces.org/showcase/ui/a ... tePojo.jsf When I type Messi in the input field (not select from the offered list) and click on ...

79. Autocomplete    forum.primefaces.org

P:autocomplete with forceSelection set to true, is case sensitive. If I have "DETROIT" in the options and type in "detroit" and tab out it clears the value. It should either leave ...

80. Generic backing bean code for autoComplete?    forum.primefaces.org

Hi, I have a search page, it includes search parameter for first and last name. Both use input suggestion. In backing bean, I have 2 pieces of code very similar. ...

81. AutoComplete with Entities    forum.primefaces.org

How TO use the AutoComplete to returning objects from a database? Ex: public Person getPerson() { return person; } public void setPerson(Person person) { this.person = person; } public List complete(String ...

82. Problems with p:autocomplete    forum.primefaces.org

I have been using Prime Faces 2.2.RC2 for over a month and I am very impressed by it. I have however a problem when using p:autocomplete I and I will try ...

83. AutoComplete questions    forum.primefaces.org

Hi, all. I use autoComplete to propose user values. Can I do these things? : 1) Even if user hasn't entered some letters, I want to show suggestion with values. Like ...

84. Incorrect symbols in autoComplete component    forum.primefaces.org

Hello, While using the autoComplete component I found that there is the problem with national characters ( russians - in my case ). I see only question signs instead of correct ...

85. Various AutoComplete problems    forum.primefaces.org

03 Feb 2011, 11:04 by Jrme Jadoulle Various AutoComplete problems Good morning, I am having a problem here with the autocomplete component, more specifically, in the way it works in regard ...

86. multi-select AutoComplete    forum.primefaces.org

When there are few choices for a relationship, checkboxes or a multi-select list work. When there are many choices, a multi-select AutoComplete is appealing as in: http://jqueryui.com/demos/autocomplete/#multiple For example, one could ...

87. autoComplete (1.1) not working    forum.primefaces.org

10 Feb 2011, 23:42 by mouse autoComplete (1.1) not working I am working with an older Primefaces (1.1). I've been stuck with JSF 1.2/Tomcat 6.0 for the current release, but hopefully ...

88. autoComplete inside dataTable does not update dataTable    forum.primefaces.org

17 Feb 2011, 04:08 by jaizen autoComplete inside dataTable does not update dataTable Hello, I am unable to update a dataTable from a autoComplete component inside the dataTable. Here is my ...

89. AutoComplete not calling backing bean method.    forum.primefaces.org

15 Nov 2009, 02:45 by daniel.grane AutoComplete not calling backing bean method. Hi, I've been trying to implement the autocomplete tag in my application using primefaces version 0.9.1 (because 0.9.3 does ...

90. How to remove new skinning feature of autocomplete component    forum.primefaces.org

Hello, we are using new 2.2 release but we have observed a design problem with autocomplete component which is now skinned and on a form where are also other controls like ...

91. p:autoComplete force selection    forum.primefaces.org

Hello, I'm using a p:autoComplete with forceSelection="true" option...Its possible to get an alert message to the user saying that he has to pick a value from the list? The field is ...

92. AutoComplete - AutoClean behavior    forum.primefaces.org

Hi people, im having some problem with autocomplete, The component is inside a dialog and works perfectly, but i want to add some behavior to autocomplete: - Behavior: after the selection ...

93. HOWTO add a picture in autocomplete    forum.primefaces.org

Netbeans 7.1 | GlassFish 3.1 | PostgreSQL 9.0| MongoDB | Primefaces 3.0M4 _______________________________________________________________ Subraya Mallya http://tinyhabit.com |http://twitter.com/tinyhabit

94. Adding process to the Autocomplete call    forum.primefaces.org

23 Mar 2011, 10:16 by mang Adding process to the Autocomplete call Cagatay, I am wondering if if is possible to add "process" to the autocomplete tag so that I can ...

95. autocomplete with %    forum.primefaces.org

uncaught exception: Invalid JSON:

96. Autocomplete    forum.primefaces.org

01 Dec 2009, 21:12 by mslot Autocomplete Hello Primeface!! Im not an experinced user in the world of Primefaces (My teacher just introduced it to me a couple of weeks ago), ...

97. Problem with autocomplete ..... grrrrrr    forum.primefaces.org

Hey, i have a autocomplete component in my application. Each time the user type something the backing bean shoot a hibernate query and return a List of Strings. Above the autocomplete ...

98. the entire page freezes [autocomplete]    forum.primefaces.org

99. Help with custom autocomplete behavior    forum.primefaces.org

I was requested to implement the following: - With the autocomplete component, if the search returns only one result and the user hits the Enter key, it should be selected. Any ...

100. AutoComplete could have an CompleteListener    forum.primefaces.org

// Both at package org.primefaces.component.autocomplete; // AutoCompleteHandler.java public class AutoCompleteHandler extends ComponentHandler { @SuppressWarnings("unchecked") protected MetaRuleset createMetaRuleset(Class type) { ...