Hi,
I have a quick question, I need a way to write a table to HTML. However, the
# of columns is dynamic.
The column names are "column1", "column2", etc.
I tried the following:
<nested:iterate property="collection">
<tr class="<bean:write name="style" property="next"/>">
<% for(int i=1;i<Integer.parseInt(columnCount);i++) { %>
<td nowrap align="center">
<nested:write property="column<%=i%>"/>
<% } %>
</td>
</tr>
</nested:iterate>
However, I get an exception, apparently the JSP <%=%> isn't processed before
the nested is.
I've also tried
<nested:write property="<%="column"+i%>"/>
but that doesn't work either.
Any ideas?
Thanks.
Dean Chen
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>