XMLHttpRequests
,
and sends a response back to the browser client. In the case of an
AJAX-enabled JSF component, the response sent back may be a fragment of
JavaScript code to run in the browser, as well as some HTML or data
used for presentation. Lets take a look at how to use an AJAX-enabled
JSF component library in a web application. ![]() |
Figure 1 : Typical JavaServer Faces component structure |
![]() |
Figure 2 : Relationship between TLD and JSP |
<ui:custom
value="#{bean.abc}"></ui:custom>
, the tag handler class
and renderer in the component have to be coded
appropriately with the ValueBinding class.
![]() |
Figure 3 : Important elements in TLD and faces-config.xml |
The following references may be useful: