1 Reply Latest reply on May 22, 2007 12:30 PM by alexsmirnov

    Regaining focus after ajax request

    peter.kozelj

      Hi,

      I have a situation where I have a number of fields that that depend on
      each other (when user enters field x, field y and z must be recalculated...).

      I have try to solve this with "support" tag by rerendring entire page section on
      "onblur" event for each input field.

      Everything works except that the focus is lost. Is there a way to regain a focus?

      Or even better: in my case I wouldn't need to rerender the page section at all; updating input field values would be enough. Is it possible with ajax4jsf?

      Regards,
      Peter