On Mon, 26 Sep 2011 21:43:38 -0300, TG <tapestry...@hotmail.com> wrote:

Hi,

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. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to