well, thats what you get for replacing the component that the user is
actively using :) you can always wire in some js to put the cursor at
the end of the textfield

-igor


On Fri, Mar 14, 2008 at 6:02 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
> I'm using 1.3.1 and focus gets lost when ajax replaces the component I'm
>  typing in.  I suspect that ajaxrequesttarget.focus(component) will put the
>  focus on the front or the end of the component rather than where it was
>  anyway, right?
>
>
>
>  -----Original Message-----
>  From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>  Sent: Friday, March 14, 2008 5:47 PM
>  To: [email protected]
>  Subject: Re: Ajax + ListView without losing focus
>
>  wicket should remember focus as of 1.3 and restore it...you can always
>  set it manually via ajaxrequesttarget.focus(component)
>
>  -igor
>
>
>  On Fri, Mar 14, 2008 at 4:21 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote:
>  > I have a listview.  This listview displays a panel that contains
>  >  <tr><td>*textbox*</td><td>*label*</td></tr>  Is there a way i can update
>  the
>  >  label without making the user lose focus on the textbox they're typing
>  in?
>  >
>  >
>  >
>  >
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to