Tapestry 5.4.3 Demos (in progress) : MaxLength Mixin

A mixin to limit number characters in a text area component. This is a slight modification of the version by Inge Solvoll.
The following is the parameter of the MaxLength mixin.

Parameter name Type Required Default Default Prefix Description
max int true NA prop Maximum number of charaters allowed.
displayCounter boolean false true prop A flag to indicate if the character counter is displayed.
ccsClass string false maxLengthMsg LITERAL The name of css class that is applied to the display counter message.

Online demo