2007-01-27

用google趋势对比当前流行java web框架-tapestry,struts,webwork,jsf,wicket

关键字: tapestry,struts,webwork,jsf,google trends
[转贴请注明转自javaeye社区 文章链接:http://hghdo.javaeye.com/blog/50858] 相信很多人都用过google trends,就是趋势,可以对比不同的关键词在google上的搜索量,以下是一组对比的图片。 图注: tapestry -- 绿色 struts -- 红色 jsf -- 橙色 webwork -- 蓝色 =============================================================== 国内2006年的搜索量2006年 ============================ ...
2007-01-21

[原创]用tapestry4.0.x生成验证码

关键字: tapestry service 动态图片 验证码
用tapestry4.0.x生成验证码 首先写一个从IEngineService派生的类,用来产生需要的验证图片 package org.itrun.cnbrn.view.pageclass.system; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.OutputStream; import java.util.Ra ...
2007-01-19

如何向tacos:table中添加checkbox等控件

关键字: tapestry tacos table
在我们使用table的时候可以把table拆成tableview/TableRows/TableValues,这样一来就可以方便的往table中插入我们想插入的各种控件。 最近想使用tacos:table,可是发现tacos:table没有被“大卸八块”的功能,有谁做过类似的事情,能不能帮忙提供些思路啊!
2007-01-16

和大家讨论T4中的table分页问题

关键字: tapestry table 分页
最近作的项目中很多地方都用到了tapestry中的table组件,因为显示的数据量比较大所以采用了按分页抓取后台数据的方法,就是返回实现了IBasicTableModel接口的的数据源给页面上的table作为数据源。 public IBasicTableModel getPersonWithPaging(){ return new IBasicTableModel(){ public int getRowCount(){ System.out.println("执行了很多遍"); return ...; } pu ...
查看了很多文档,如果要在双向one-to-one关联时实现对关联表的延迟加载,就需要在主表的one-to-one节点上加constrained="ture" lazy="proxy".如下配置 user---->address user(作为主表) 字段 id VARCHAR(32) not null, constraint PK_USER primary key (id) 映射文件片段 ..... <one-to-one name="address" constrained="true" class="test.Address" cascade="all" fetch="select ...
hghdo
搜索本博客
最近加入圈子
存档
最新评论