Hi
I am using
JSF richfaces 3.3.0. I have a rich:datatable, one of the columns is a h:inputtext and I need to validate the input as it happens. I call a method onblur in my backing bean that checks the value and displays an error message if the value is out of range (this works). I would however like the h:inputtext element to gain focus only if the value is out of bounds. The focus attribute does not work as this only specifies which element should gain focus after the function is complete and therefore happens regardless of the value entered. I have tried to embed some Javascript in my xhtml file (see below) but this does not seem to be working. Any suggestions are welcome.