webtier@glassfish.java.net

Re: [webtier] Re: demo of JSF2 ui components library ?

From: Jason Lee <jason.d.lee_at_oracle.com>
Date: Wed, 28 Apr 2010 16:39:51 -0500

On 4/28/10 4:33 PM, webtier_at_javadesktop.org wrote:
> Roger,
> It would be nice to have example of composite component that implement auto-suggest behavior for input box.
>
> Something that briefly described in the following article:
> http://java.dzone.com/articles/jsf-2-client-behaviors?page=0,1
>
>
I have one of those:

http://demo.steeplesoft.com/mojarra-scales-demo/autocomplete.jsf

Source here:

http://kenai.com/projects/scales/sources/mercurial/show/main/src/main/resources/META-INF/resources/scales

There's some logic in Java to help build the JS config object, but
that's about it:

http://kenai.com/projects/scales/sources/mercurial/content/main/src/main/java/com/sun/mojarra/scales/component/AutoComplete.java?rev=446

-- 
Jason Lee
Senior Member of Technical Staff
GlassFish Administration Console
Oracle Corporation
Phone x31197/+1 405-343-1964
Blog http://blogs.steeplesoft.com