Re: New lines are trimmed in textarea after ajaxrefresh

2010-12-14 Thread Martin Makundi
Hmmm.. wicket trims strings anyways?

2010/12/14 Michał Letyński :
> 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-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



New lines are trimmed in textarea after ajaxrefresh

2010-12-14 Thread Michał Letyński

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org