1 Reply Latest reply on Nov 12, 2008 2:44 PM by sergeysmirnov

    Limited ajax request region

    gregoryl

      Hi I am doing some password hint. I have 2 fields login and password. On login blur i wanted to update place where hint should appear. I have prepared managed bean that knowing login value searches the DB for coresponding password hint.
      I wanted to ask you how to limit ajax request region to one text field or maybe there is another way to do the task above. I have tried a4j:region but it seems not to work, instead password field is sent too :-(
      Thanks

        • 1. Re: Limited ajax request region

          The whole form is sent in any same. Region limits the component set that is processed on the server but not the data to be sent.

          In you case, you can create an additional invisible form on the page with a4j:jsFunction on it. Invoke it onblur and pass the text of field to it.