我也做过JSF组件,但不是table类的,是日期类的,可能比table简单些。呵呵,帮你顶,相互学习:msn:[email protected]
解决方案 »
- 求救SSH系统性能问题-数据库连接泄漏问题
- hibernate的版本问题?
- ETL工具kettle问题
- jsp 页面访问问题,初学者请指教,谢谢 ??
- struts的整体结构
- spring2.5 hibernate3.2 问题!
- 那位高手可以解决这个问题,spring+hibernate手动加载实体类问题
- 利用JSP显示数据库当中的内容全部为:??????????????
- struts2后台接收不到值id 加上getter方法 就可以了 有一个属性能接收到 为什么?
- 请问哪位知道SMS JDK的下载地址?谢谢
- 关于jsf页面中的自定义标签的问题
- Spring中,如何通过form得到动态select的option的值?
<custom:customtable>
......
<f:commandLink id='link' value="" onclick="return selectThis(this.parentNode.parentNode);" />
......
</custom:customtable>
直接用不就可以了吗?你要是真想写在里面,那就去找到<f:commandLink>的源代码,按照它写的自己从新写一遍.
因为myfaces实现本身带的datatable就能支持h:commandlink! <t:dataTable value="#{setupPage.dataModel}"
var="aWaste" styleClass="standardTable"
rowClasses="standardTable_Row" width="100%" cellpadding="1"
cellspacing="1">
<t:column width="10%" >
<f:facet name="header">
<h:outputText value="Select" />
</f:facet>
<h:selectBooleanCheckbox id="selected"
value="#{aSuInvStkGr.selected}" />
</t:column> <t:column>
<f:facet name="header">
<h:outputText value="Stock Group Code" />
</f:facet>
<t:commandLink id="stockgroupLink"
action="#{setupPage.goUpdateWaste}" immediate="true">
<h:outputText value="#{aWaste.vo.criteriaCode}"/>
<t:updateActionListener property="#{setupPage.estWaste}" value="#{aWaste.vo}"></t:updateActionListener>
</t:commandLink>
</t:column>