Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TabIndex problem using JSF and Ajax4jsf for ajax request  RSS feed

Nitin Mistry
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Does anybody faced this problem and fixed it??

Thanks in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!