TabIndex problem using JSF and Ajax4jsf for ajax request
Joined: Jan 13, 2008
I am using the latest JSF Tomahawk library and Ajax4JSF components in my application. My application have several forms and each form contains a large number of fields. Each field is also having validations for the values contained in it. These validations are server side validation, requiring me to validate the value entered by the user on Tab out/onblur of the input component. We have used a4j:rejion and a4jSupport tags in our application to submit and re-render relevant part of the form fields.
On the forms, I have set in the tabindex for all the fields. when a user is on a particular field and enters some value and moves on to other field, an ajax request for validation is sent to the server and the server returns the response with the validation results. When the reponse is return to the page, the TabIndex gets lost in the process and it goes to any other point.