5 Replies Latest reply on Dec 17, 2009 9:30 PM by Richard Kennard

    UISuggestionBox: unclear JavaDoc

    Richard Kennard Novice

      Hi guys,

       

      The JavaDoc for UISuggestionBox.getSuggestionAction...

       

      http://docs.jboss.org/richfaces/3.3.2.GA/en/apidoc/org/richfaces/component/UISuggestionBox.html#getSuggestionAction%28%29

       

      ...says...

       

      Getter for suggestionAction. Method calls an expression to get a collection of suggestion data on request. It must have one parameter with a type of Object with content of input component and must return any type allowed for ;

       

      ...(emphasis mine). I'm unclear what 'return any type allowed for ;' means. Is that a typo? What must the suggestionAction really return? A List? A Collection? Does it support arrays?

       

      Regards,

       

      Richard.