Donnerstag, Januar 13, 2005

 

Get the serialized ADF-RowKey in uiXML

Within a UIX-Table you can get the serialized ADF-RowKey with the EL-Expression ${uix.current.rowKeyStr}. This undocumented feature allow you to bind the key to a link for table actions instead to use the singleSelection element:

Example to delete a row with a link into each table row:


<link text="${uix.current.EmployeeId.attributeValue}">
<boundAttribute name="destination">
<concat>
<contextProperty select="ui:contextURI"/>
<fixed text="/deleteEmp.do?rowKeyStr="/>
<dataObject source="${uix.current.rowKeyStr}"/>
<fixed text="&event=delete"/>
</concat>
</boundAttribute>
</link>



<< Home

This page is powered by Blogger. Isn't yours?