Hi, > > I wonder in Tapestry world, is there such a component that while user >> types, it will counts how many characters have the user typed. >> Alternatively, I >> would like to know if there is a way to restrict the textarea to a fixed >> size, say 500 characters. If exceeded, no more text will be allowed. >> > > I guess there isn't one ready to use, but with a little bit of JavaScript > you can easily write a mixin that does exactly that. ;)
I've used this jQuery plugin previously - http://roy-jin.appspot.com/jsp/textareaCounter.jsp . You can specify a fixed number of characters. Works well and has good documentation. Cheers Magnus Kvalheim