Hello,
I am trying to use annotations instead of .jwc files. I have a custom BaseComponent with a template. However, I want the template to be located under WEB-INF/component/mycomponent.html. Going through some of the code, I found out that you can specify the location of the template using an asset named '$template'. This is great, but how can I use it with annotation? The only solution that I can think of is introducing a new annotation say '@AssetTemplate("context:/WEB-INF/component/mycomponent.html")' . This annotation will simply insert an asset named '$template' with the given value. I have seen other solutions using the ISpecificationResolverDelegate, (http://wiki.apache.org/tapestry/PagesAndComponentsInWEB-INF), but the Wiki is saying that there is a bug (http://issues.apache.org/jira/browse/TAPESTRY-894) that will prevent the delegate solution from working correctly? Any advice will be greatly appreciated. Thanks