Including Ajax Functionality in a Custom JavaServer Faces Component
Including Ajax Functionality in a Custom JavaServer Faces Component
Including Ajax Functionality in a Custom JavaServer Faces Component
This note covers the following topics: what is ajax,
javaserver faces technology and ajax, the dojo toolkit and ajax, using an ajax-aware
custom component, steps to include ajax support in a custom component, the
editable label example, creating necessary javascript functions, rendering
javascript tags with a custom renderer, creating the phaselistener class to
handle the ajax requests.
This
note covers the following topics: Introduction, separating behavior from
content, obtrusive javascript in action, writing unobtrusive code, unobtrusive
Ajax , another unobtrusive Ajax example.
Ajax, is an outstanding approach that helps you transform clunky Web
interfaces into interactive Ajax applications. The author, an Ajax expert,
demonstrates how these technologies work together from an overview to a
detailed look to make extremely efficient Web development an easy reality.
He also unveils the central concepts of Ajax, including the XMLHttpRequest
object.