摘要: Services可以在AppModule类中追加如下方法:public static SomeInterface build(){ return new SomeInterfaceImpl();}我们的方法可以使build,也可以是以build开头的方法,如buildSomething。还有一... 阅读全文
posted @ 2014-06-09 16:49 VoctrALs 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 一旦你已经开始使用Tapestry了,那么你就走上了一条不归路。。。Once you work in Tapestry there's no going back!Page或者Component里面的元素都是private类型的。@InjectPage,Tapestry是一个被管理的环境,我们不直接... 阅读全文
posted @ 2014-06-09 13:33 VoctrALs 阅读(635) 评论(0) 推荐(0) 编辑