File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes TabIndex problem using JSF and Ajax4jsf for ajax request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "TabIndex problem using JSF and Ajax4jsf for ajax request" Watch "TabIndex problem using JSF and Ajax4jsf for ajax request" New topic
Author

TabIndex problem using JSF and Ajax4jsf for ajax request

Nitin Mistry
Greenhorn

Joined: Jan 13, 2008
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TabIndex problem using JSF and Ajax4jsf for ajax request