String length validation and windows line breaks

2014-07-12 Thread Thomas Heigl
Hey all, Recenty, probably after moving to Wicket 6.16, we see some strange behavior for TextAreas. We have been using a JavaScript library to limit the number of characters a user can enter in a textbox for years. Now we started getting validation exceptions on the server that the user entered

Re: String length validation and windows line breaks

2014-07-12 Thread Martin Grigorov
Hi, I think there are no such changes in Wicket lately. Just tried a\r\nb.length and a\n\rb.length in Google Chrome's console and both return 4 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Jul 12, 2014 at 12:22 PM, Thomas Heigl tho...@umschalt.com