[
https://jira.jboss.org/jira/browse/RF-8004?page=com.atlassian.jira.plugin...
]
Madhuri Kommuri commented on RF-8004:
-------------------------------------
Hi,
Sorry for my incomplete information.
I created a suggestion box using rich faces as below....
<h:form id="suggestionBoxForm">
<h:inputText value="#{vendor.currentName}"
id="text">
<rich:suggestionbox id="suggestionBoxId"
for="text"
suggestionAction="#{vendorDetails.instnAutoComplete}"
var="result"
fetchValue="#{result.currentName}" >
<h:column>
<h:outputText value="#{result.currentName}" />
</h:column>
</rich:suggestionbox>
</h:inputText>
</h:form>
Below is my bean .....
public List<Vendor> instnAutoComplete(Object event) {
List<Vendor> vendorSearchList = new ArrayList<Vendor>();
Vendor myVendor = new Vendor();
myVendor.setCurrentName("SERENA3");
vendorSearchList.add(myVendor);
Vendor myVendor1 = new Vendor();
myVendor1.setCurrentName("SERENA1");
vendorSearchList.add(myVendor1);
Vendor myVendor2 = new Vendor();
myVendor2.setCurrentName("SERENA5");
vendorSearchList.add(myVendor2);
return vendorSearchList;
}
I created suggestion box for country(nationality) using rich faces, and seam the problem
am facing is "Only the topmost name in the list of the countries is displaying if
also I select the country in the list of countries (like If I type "A",
countries name starting with 'A' are displaying, at this time only the top most
country is selected, If I select any of them).
I was able to show the list but only the topmost name in the list (Serena3) is displaying
even if I select anything (Serena5) in the list.
Can someone please help me with this issue.
Thanks in advance.
CLONE -I created suggestion box
-------------------------------
Key: RF-8004
URL:
https://jira.jboss.org/jira/browse/RF-8004
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Seam frame work using Rich faces server Jboss
Reporter: Madhuri Kommuri
Assignee: Nick Belaevski
I created suggestion box for country(nationality) using rich faces, and seam the problem
am facing is "Only the topmost name in the list of the countries is displaying if
also I select the country in the list of countries (like If I type "A",
countries name starting with 'A' are displaying, at this time only the top most
country is selected, If I select any of them).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira