Hi,
 
You can use something similar :
 
  <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>
Ciao,
    Richard.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Bracho
Sent: Wednesday, June 22, 2005 8:30 AM
To: [email protected]
Subject: [displaytag-user] Dynamic columns

Hello everybody...

I want to know if I can use the displaytag to create tables with dynamic columns, I mean, one time this could be the table


             USA      CANADA     MEXICO    PUERTO RICO

SEP        5              10              2                  10
OCT        12             8               5                   3
NOV        5              6               9                   5


and the next time the table could be

            VENEZUELA           COLOMBIA           

JAN             8                            7                    
FEB            9                            8                    
  
The coutries can change with the region selected by the user, and the regions can contains diferente countries number. How can I use the displaytag to display this kind of table?, any idea?

Thanks

--
------------------------------------------------------------------
Carlos J, Bracho M.                                  
------------------------------------------------------------------
e-mail:  [EMAIL PROTECTED]
MSN:     [EMAIL PROTECTED]
+58 416 409 21 75                      
------------------------------------------------------------------

Reply via email to