0
我正在使用in rowselection模式並試圖獲取數據表的選定行。在ace中獲取所選行:datatable Icefaces
我嘗試過使用IceFaces的stateMap,但它不起作用。選擇後,ajax事件會打開一個對話框,我想要顯示所選行的數據。
<ace:dataTable id="datatable"
value="#{myBean.myValues()}"
var="myValue" paginator="true" paginatorPosition="bottom"
selectionMode="single" rows="15" rowKey="#{myValue.id}"
doubleClickSelect="true">
<ace:ajax event="select" render="@this" execute="@this"
onStart="ice.ace.instance('#{myDialog.clientId}').show();" />
...
有人可以幫忙嗎? – Johnny2012