Hi,
I desire to generate dynamic column :
 
<display:table name="${documentList.document}" pagesize="25" export="true"
requestURI="search_results.jsf" excludedParams="*" class="simple" >
 
     <c:forEach var="column" items="${documentList.columns}">
       <display:column property="${column.name}" title="${column.title}"
sortable="true" />
     </c:forEach>
 
     <display:column property="DOCNUM" href="" paramId="doc"
title="action" />
 
   </display:table>
 
Ok thing works ...
But now i would like to decorate value im my column :
 

     <c:forEach var="column" items="${documentList.columns}">
       <display:column property="MYDECORATOR" sortable="true" />
     </c:forEach>
 
But the problem is that in the wrapper, i can't acces to the columns list's values.
Indeed in my Wrapper when I call getCurrentRowObject(), i retrieve the ${documentList.document}" row.
 
This is logic, but How can I acces to column's value ?
With the row , I only able to access to columns List but i don't know index....
Do you see what i mean ? 

 

Reply via email to