tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Néstor Boscán <>
Subject RE: Datagrid problem
Date Thu, 24 Feb 2005 17:14:25 GMT
Hi Maikel
In the presente the datagrid tag only works with fixed columns not dynamic

Néstor Boscán


De: Maikel Sibbald [] 
Enviado el: Jueves, 24 de Febrero de 2005 10:19 a.m.
Asunto: Datagrid problem 

If got this problem:
I've got a collection which I use in the ui:dataGrid:  --> works fine
But now I want to use a colection of field I want to show in the datagrid.
So what I did is use a c:forEach for every column, but the problem is dat I
cant use this within the ui:dataGrid.
<ui:dataGrid items="${collection}" var="item" name="datagrid1"
cellPadding="0" cellSpacing="0"> 


<c:forEach var="field" items="${requestScope.fields}" start="1" end="10">

<column width="100" order="true">

<header value="${field}" hAlign="center" styleClass="header1"/>

<item value="${}" hAlign="left" hyperLink="/*.do?methodToCall=edit"




<header show="true"/>

<footer show="true"/>

<rows styleClass="rows" hiliteStyleClass="hiliterows"/>

<paging size="${pages}" nextUrlVar="next" previousUrlVar="previous"



Is there something I'm missing. Or do you got a solution??

Thanx in advance!!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message