Java Server Faces Question:

Download Job Interview Questions and Answers PDF

Can you explain JSF Ajax components?

Java Server Faces Interview Question
Java Server Faces Interview Question

Answer:

The custom web tier components for JSF can be developed using AJAX along with JSF. Using JSF the state of an application, event handling, input validation and page navigation tasks can be done for user interface components. AJAX technology is used for client side Java Script leverage in order to provide richer and more responsive user experience.

To implement the JSF component for spell check text area, the following tag is used.

<jcr: spellCheckTextArea cols="30" rows="15" value="# {user.interests}" />

This component extends HtmlInputTextArea provides a simple AJAX-enabled spell checking facility

Download Java Server Faces Interview Questions And Answers PDF

Previous QuestionNext Question
Explain JSF Architecture?Tell me JSF supports AJAX?