[richfaces-issues] [JBoss JIRA] Created: (RF-2163) SuggestionBox is empty.

Ernesto Esteban (JIRA) jira-events at lists.jboss.org
Tue Feb 5 03:42:03 EST 2008


SuggestionBox is empty.
-----------------------

                 Key: RF-2163
                 URL: http://jira.jboss.com/jira/browse/RF-2163
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.2
         Environment: Windows XP - Weblogic 9.2 - Eclipse Europa - Richfaces-api 3.1.2, RichFaces-impl 3.1.2, RichFaces-ui 3.1.3 - jsf 1.1 - jstl 1.1-mr2 - Commons: collections-3.2, beanutils-1.6, logging-1.1

            Reporter: Ernesto Esteban
            Priority: Blocker


Hi,

I have a big problem concerning the suggestionbox, the returned list is empty, whereas the called method returns a simple arrayList containing 3 static entries.
When I enter a letter in the input field, the method is correctly called, the arrayList is correctly created and returned, but the suggestionbox open an empty box, with no values.

Here is the code :

<rich:suggestionbox width="100" height="100" for="suggest" suggestionAction="#{completionBean.autocomplete}" var="suggest">
<h:outputText value="#{suggest}" />
<rich:suggestionbox>

The bean :

public class CompletionBean {

...

public List<String> autocomplete(Object event) {

ArrayList<String> completionList = new ArrayList<String>();

completionList.add("text1");
completionList.add("text2");
completionList.add("text3");

return completionList;
}
}

Is it a problem with jstl? Or maybe a problem with the commons jars. For example, during the install I had to use commons-collections-3.2 instead of the version that was installed. Is it possible that an other commons jar could affect the RichFaces installation?

Could you help cause I'm really stucked.
Thanks in advance,
Ernesto.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list