You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by lampholder <ol...@anticrap.co.uk> on 2010/04/14 02:04:10 UTC

Re: AjaxFormValidatingBehavior and caret (cursor) position

Hi,

I was just wondering if anyone ever found a solution to this infuriating
problem?  I've been scratching my head for days now and haven't been able to
find a work-around for the caret repositioning issue.

Cheers,

Tom


Thomas Jäckle wrote:
> 
> Hi everyone.
> 
> I found this on the mailing list:
> http://www.nabble.com/Re%3A-AjaxFormValidatingBehavior-and-focus-p9178324.html
> 
> And exactly this is my problem now.
> I registered an "onkeyup" event on a textfield to validate it after each
> keypress.
> 
> In a RequiredTextField following happens:
> I want to type "Hello". Once i release the "H", the TextField is valid and
> the caret goes to the first position in the Textfield. Then I type "ello"
> and now I have "elloH" in the Textfield.
> 
> Is it planned to implement to keep the caret position as mentioned in the
> other Message?
> Does someone know a workaround to solve this?
> 
> 
> Thomas
> 

-- 
View this message in context: http://old.nabble.com/AjaxFormValidatingBehavior-and-caret-%28cursor%29-position-tp14732154p28237034.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org