3 Replies Latest reply on May 9, 2008 3:00 PM by Mike Hanafey

    a4j:support focus=

    Mike Hanafey Newbie

      With the change to 3.2.1 (and maybe it happened with 3.2.0), setting focus as shown in the example below now means that the focussed field gets selected, which means when the next character is typed the current contents is erased. Before the focus was needed to keep the cursor in the field of interest. Now it seems to stay there without a "focus", and "focus" now seems to mean "select".

      <h:inputText id="Frag" value="#{nameAjax.nameFrag}">
       <a4j:support event="onkeyup" reRender="xyz" ajaxSingle="true" focus="Frag" />

      Is the current behaviour the way it is supposed to be? I have no problem omitting the "focus" but the change in behaviour does cripple existing views.