1、html文件更改为tml 可以放在web-root下面
2、模块的log更改为slf4j org.slf4j.Logger
3、@Inject 更改到 org.apache.tapestry.ioc.annotions.Inject
4、自定义组件里面要显示非定义参数要使用
@Inject
private ComponentResources resources;

this.resources.renderInformalParameters(writer);
才可以显示InformalParameter (这个错误折磨了我好长一段时间才发现)

 

评论
tapestry 2008-01-10
显示InformalParameter只要加入个Mixin就可以了,不用那么麻烦。

@Mixin
private RenderInformals _renderInformals;
发表评论

您还没有登录,请登录后发表评论