This content has been marked as final.
Show 4 replies
-
1. Re: rich:dataTable,dataList rowIndexVar/rowCountVar
ilya_shaikovsky Mar 5, 2010 5:17 AM (in response to javatwo)we do not have rowCountVar but yes rowKeyVar could be used like rowIndexVar if you do not redefined the rowKey's with some custom objects. -
2. Re: rich:dataTable,dataList rowIndexVar/rowCountVar
javatwo Mar 6, 2010 2:21 AM (in response to ilya_shaikovsky)Thanks. How about rowCountVar? -
3. Re: rich:dataTable,dataList rowIndexVar/rowCountVar
eugenbesel Mar 12, 2010 12:36 PM (in response to javatwo)I can not find any counter for columns.
for which cases do you need it??
Ilja do you know the point that rowKeyVar works wrong when you use SerializableDataModel??
-
4. Re: rich:dataTable,dataList rowIndexVar/rowCountVar
notify Oct 12, 2010 1:13 PM (in response to eugenbesel)I need to pass the row in the rich:dataTable as the value in a4j:mediaOutput.
I've tried rowKeyVar but it's just null. Any suggestions?
<a4j:mediaOutput element="img" mimeType="#{file.mime}"
createContent="#{imagesBean.getPostcardImage}" value="#{rowKeyVar}"
style="width:100px; height:100px;" cacheable="false">
<f:param value="#{fileUploadBean.timeStamp}" name="time"/>
</a4j:mediaOutput>