you must build a list, containing Strings (inside of your backing bean)
-Matthias
On 10/23/05, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> hello all,
> i plan to use Sandbox's Ajax input suggest tag and i have a few
> questions about that:
>
> 1 - are there any examples jsf page for that?
> 2 - what should be the value of the 'binding' attribute?
>
> suppose this situation:
>
> i have a backing bean named 'StockController' which has one method,
> queryStock(), which
> returns a list of stock objects (each stock has a name, a description and a
> value)
>
> I would like to use the inputSuggest tag to call
> #{StockController.queryStock}, but that method returns
> me a list of Stock objects, and i would like to pick just the name of the
> stock. Is it possible then to
> use the ajaxInputSuggest tag, or do i have to build a list of String
> objects?
>
> thanks in advance and regards
> Marco
--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com