-
1. Re: Suggestionbox and datatable
ilya_shaikovsky Nov 26, 2007 5:45 AM (in response to romaintaz)... <rich:column> <h:inputText value="#{cap.name}" id="sugg"></h:inputText> <rich:suggestionbox height="200" width="200" for="sugg" suggestionAction="#{bean.autocomplete}" ajaxSingle="true" var="cit"> <rich:column> <h:outputText value="#{cit.text}"></h:outputText> </rich:column> </rich:suggestionbox> </rich:column> ...
works for me -
2. Re: Suggestionbox and datatable
jenkinsa May 5, 2008 6:10 AM (in response to romaintaz)Has anyone got this working? I've got a suggestionbox in a datatable and, while the first row works fine, if my table has more than one row the suggestionbox doesn't function (doesn't call my suggestAction method)...no errors in rich:messages, nothing in a4j:log??? I'm using 3.2.0.SR1
Any thoughts anyone? (code below)...it's just a string field, no complex objects<rich:column> <f:facet name="header"> <h:outputText value="#{msg['city']}"/> </f:facet> <h:inputText id="criteriaCity" value="#{criteria.city}" size="10" readonly="#{criteria != PremiumPostEdit.selectedCriteria}"> <a4j:support ajaxSingle="true" event="onblur" reRender="currentMaxBidAmount"/> </h:inputText> <rich:suggestionbox for="criteriaCity" suggestionAction="#{criteria.listCities}" var="city" fetchValue="#{city}" minChars="1" nothingLabel="#{msg['nomatchingcity']}" frequency="0" height="100" width="100" ajaxSingle="true"> <rich:column> <h:outputText value="#{city}"/> </rich:column> </rich:suggestionbox> </rich:column>
-
3. Re: Suggestionbox and datatable
_max_ May 20, 2008 11:03 AM (in response to romaintaz)Hi,
I have the same problem : only the first row works fine !
Is it a bug ?
RichFaces 3.2.0.SR1
MyFaces 1.2.3
Facelets 1.1.14
Tomcat 6 -
4. Re: Suggestionbox and datatable
specialagent Sep 7, 2010 12:12 PM (in response to romaintaz)It seems that ajaxKeys in dataTable is the problem. Seems like a bug. I opened a Jira issue:
https://jira.jboss.org/browse/RF-9326
Greets
-
5. Re: Suggestionbox and datatable
ilya_shaikovsky Sep 8, 2010 2:39 AM (in response to specialagent)At first - use latest release version. Even if the issue will be confirmed for 3.2.0 but already resolved for 3.3.3 Final - we not providing issues backporting.
-
6. Re: Suggestionbox and datatable
specialagent Sep 9, 2010 11:44 AM (in response to ilya_shaikovsky)Hi Ilya, it does not work for 3.3.3GA. I mentioned this in the issue as well.
-
7. Re: Suggestionbox and datatable
ilya_shaikovsky Sep 10, 2010 5:33 AM (in response to specialagent)thanks.. we will check.