上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 出处:http://www.blogjava.net/usherlight/archive/2010/01/06/308415.html与现在最流行的SSH相比较,Tapestry能够完全替代其中Struts2和Spring,但是他还是需要一个ORM的框架。IBatis由于比较低的学习曲线,也受到很... 阅读全文
posted @ 2014-06-19 11:20 VoctrALs 阅读(368) 评论(0) 推荐(0) 编辑
摘要: I becoming love jQuery just because I only know javascript before. (^.^)document.getElementById("someId") ↓$("#someId")Seems everything is getting mor... 阅读全文
posted @ 2014-06-11 22:31 VoctrALs 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Tapestry用来对服务进行配置的方式对服务进行配置需要用到contribute,然后+serviceId。看一下代码:public static void arbitraryMethodName(MappedConfiguration configuration){ configurati... 阅读全文
posted @ 2014-06-10 10:50 VoctrALs 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Advisor VS. DecoratorService Decoration is augmented withService Advice.Advisor: 跟Decorator相似,且普通,因为它作用于接口,在编译时根本就不会去考虑。Decorator: 在编译时,Tapestry就会知道哪一... 阅读全文
posted @ 2014-06-10 10:25 VoctrALs 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 源地址:http://yanshuaijun.2010.blog.163.com/blog/static/362411622011102443056225/主题:mysql error nr.1045 解决方法2011-11-24 16:30:56|分类:mysql|举报|字号订阅1.进入cmd手动... 阅读全文
posted @ 2014-05-29 16:28 VoctrALs 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 最基本的导航条就像下面这个样子: Page 1 Page 2 Page 3 没啥好说的了,nav-tabs的使用是基于nav之上的。还有胶囊式儿的。需要把nav-tabs换成nav-pills即可。小猿觉得没有上一种漂亮。。。不过堆叠式儿的pi... 阅读全文
posted @ 2014-05-27 16:43 VoctrALs 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 把一系列的.btn按钮放入.btn-group中即可。。。 Left Middle Right.btn是有设置圆角的.btn-group .btn 设置了position: relative;float: left;所以他们会很好的排列在一行里面。我认为下面的代码就是TMD艺术:.btn-gr... 阅读全文
posted @ 2014-05-27 15:41 VoctrALs 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 如下可能是最简单的下拉列表了: DropDown Action Another action Something else here Separated link 这个... 阅读全文
posted @ 2014-05-27 13:36 VoctrALs 阅读(657) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页