• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

TabIndex problem using JSF and Ajax4jsf for ajax request

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic