[richfaces-issues] [JBoss JIRA] Reopened: (RF-8004) CLONE -I created suggestion box

Madhuri Kommuri (JIRA) jira-events at lists.jboss.org
Wed Oct 21 11:23:05 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-8004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhuri Kommuri reopened 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 was able to show the list but only the topmost name in the list (Serena3) is displaying even if I select anything else(Serena5) in the list. 

Can someone please help me with this issue? I am using Rich Faces 3.1.5.
If you need any additional information, please let me know. 
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

        


More information about the richfaces-issues mailing list