Hi!

I need to dynamically display the columns and title following is code…

<display:table name="normEnrollmentList.normEnrollments" cellspacing="0" 
cellpadding="0"
requestURI=""
    id="normEnrollments" pagesize="25" class="table normEnrollmentList" 
export="true" >

    <display:column property="dataRowList[0]" title="0" media="csv excel xml 
pdf" sortable="true"/>
    <display:column property="dataRowList[1]" title="1" sortable="true"/>
      <display:column property="dataRowList[2]" title="2" sortable="true"/>
      <display:column property="dataRowList[3]" title="3" sortable="true"/>
      <display:column property="dataRowList[4]" title="4" sortable="true"/>
      <display:column property="dataRowList[5]" title="5" sortable="true"/>
      <display:column property="dataRowList[6]" title="6" sortable="true"/>
      <display:column property="dataRowList[7]" title="7" sortable="true"/>
      <display:column property="dataRowList[8]" title="8" sortable="true"/>
      <display:column property="dataRowList[9]" title="9" sortable="true"/>
      <display:column property="dataRowList[10]" title="10" sortable="true"/>
      <display:column property="dataRowList[11]" title="11" sortable="true"/>
      <display:column property="dataRowList[12]" title="12" sortable="true"/>
      <display:column property="dataRowList[13]" title="13" sortable="true"/>
      <display:column property="dataRowList[14]" title="14" sortable="true"/>


Basically, I was trying something like following:
    <c:forEach var="cl"  items="${dataRowList}">
      <display:column property="${cl}" title="NA" sortable="true"/>
    </c:forEach> 


Also about the title, it should be dynamic too e.g. 
title=&#8221;${headerNameList[0]}&#8221; <---- 
although this syntax does not work either &#61516;

Any kind of help would be appriciated.

Thanks,
Anil G

 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to