jboss富数据表错误数据 #{messages.Edit} #{messages.companyName} #{company.companyName}
嗨,我的rich datatable有问题。所有操作都正常工作,我在dataTable中搜索了一些数据,在dataTable中得到了true列表,但若我尝试更新列中的一些数据,就会出现错误的实例。例如,我选择香蕉,它的名字是我的数据,但它在搜索数据之前带来的不是香蕉。我不明白为什么。对不起,我的英语不好 不确定,但是,你试过这个吗jboss富数据表错误数据 #{messages.Edit} #{messages.companyName} #{company.companyName},jboss,seam,richdatatable,Jboss,Seam,Richdatatable,嗨,我的rich datatable有问题。所有操作都正常工作,我在dataTable中搜索了一些数据,在dataTable中得到了true列表,但若我尝试更新列中的一些数据,就会出现错误的实例。例如,我选择香蕉,它的名字是我的数据,但它在搜索数据之前带来的不是香蕉。我不明白为什么。对不起,我的英语不好 不确定,但是,你试过这个吗 <rich:dataTable id="companyList" var="company" value="#{companyList.resul
<rich:dataTable id="companyList" var="company"
value="#{companyList.resultList}"
rowClasses="odd-row, even-row"
rendered="#{not empty companyList.resultList}">
<rich:column width="25px" style="text-align:center;">
<f:facet name="header">#{messages.Edit}</f:facet>
<a4j:commandLink reRender="companyPanel"
oncomplete="#{rich:component('companyPanel')}.show()"
style="align: center;"> <f:setPropertyActionListener target=
"#{companyHome.instance}"
value="#{company}" />
<rich:toolTip value="#{messages.Edit}" />
</a4j:commandLink>
</rich:column>
<h:column>
<f:facet name="header">
#{messages.companyName}</f:facet>
#{company.companyName}
</h:column>
</rich:dataTable>
而不是
<f:setPropertyActionListener target="#{companyHome.id}" value="#{company.id}" />
<f:setPropertyActionListener target="#{companyHome.instance}" value="#{company}" />