1 Reply Latest reply on Mar 30, 2009 5:47 AM by Ilya Shaikovsky

    <rich:message>,How to make cursor point at control once erro

    Anil Reddy Newbie

      Hi,

      I am having one <h:inputText> field and I'm checking validation on that and if the validation fails I'm displaying errors using <rich:message>.

      Suppose if there are some 10 to 15 controls on the form and if the error is thrown on first control and my submit button is all the way below the form,once I click on submit button it fails validation but cursor is not pointed on the error control.

      Could you please any body advise me on this?

      I'm using <a4j:commandButton> to submit the form..

      Thanks,
      Reddy