JSF Component Behaviors
by Andy Schwartz
- 5,689 views
JSF Summit 2009 presentation covering the JSF 2 component Behavior API.
JSF Summit 2009 presentation covering the JSF 2 component Behavior API.
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Microsoft PowerPoint
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 2
- Downloads
- 117
- Comments
- 4
- Embed Views
- Views on SlideShare
- 5,657
- Total Views
- 5,689
I've been meaning to donate my suggest behavior code to one of the JSF open source projects, but haven't had time to do so. In the meantime, you can grab the code from here:
http://tinyurl.com/ya2zhel
You are welcome to use this code however you see fit, though keep in mind that it is really only demo quality code. :-)
Take a look at SuggestBehavior.decode() to see how I am generating the response payload.
Andy 3 years ago
<foo:suggest event='blur' suggester='#{suggester}' />
<foo:suggest event='keyup' suggester='#{suggester}' />
.... Is it possible to assign script code to multiple events without more than one tag and without to set the event-attribute? 3 years ago