You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Michał Letyński <ml...@consol.pl> on 2010/12/14 13:48:17 UTC

New lines are trimmed in textarea after ajaxrefresh

Hi.
I have TextArea component with shouldTrimInput() set to false. It has 
AjaxFormComponentUpdatingBehavior("onblur") attached for validating 
purpose. On every update it refresh itself. And after update newline 
from the begining of textarea is trimmed.
I debug wickets up to getReponse().write and everythink looks fine. 
Maybe there is a bug in java script. Is it known problem ?

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


Re: New lines are trimmed in textarea after ajaxrefresh

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hmmm.. wicket trims strings anyways?

2010/12/14 Michał Letyński <ml...@consol.pl>:
> Hi.
> I have TextArea component with shouldTrimInput() set to false. It has
> AjaxFormComponentUpdatingBehavior("onblur") attached for validating purpose.
> On every update it refresh itself. And after update newline from the
> begining of textarea is trimmed.
> I debug wickets up to getReponse().write and everythink looks fine. Maybe
> there is a bug in java script. Is it known problem ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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