I don't have much Tapestry experience so I don't really know where to start.
I need to extend the Insert component with a new component, say NewInsert, that applies a given CSS class to what is being inserted. How should I do this?
I basically want to end up with something that generates something like <span class="myClass">The value</span>
.
Why do it by extending Insert? Because the application is pretty much done but we realized that everywhere we use Insert we need this CSS class. We'll just do a global replace on 'type="Insert">' with 'type="NewInsert">' in all files.