JavaScript Mixin

JavaScript is not enabled in your browser. Please enable JavaScript for this page to work properly.
We can make JavaScript even easier to reuse by packaging it as a Tapestry mixin. Here we have turned the "textbox hint" into a mixin
and applied it to the firstName and lastName fields. The page no longer mentions JavaScript, the mixin does it all.

Mixin location is important. Mixins must be put in a package called mixins. Tapestry gives this package
special treatment.