Hi there

i have to print data to multiple columns using a logic iterate

for eg: the below code would print the same data on each column...
i'd like to see the values for the arraylist like a matrix..

1 2 3
4 5 6
7 8 9

rather than

1 1 1
2 2 2
3 3 3
4 4 4

can anyone suggest how can i achieve this ?


<logic:iterate id="myCollectionElement" collection="<%=drugsList %>" >
<tr>
<td bgcolor="#E9E9E9">
<html:radio property="selectedDrug" value="" /><bean:write
name="myCollectionElement" />
</td>
<td bgcolor="#E0E0E0">
<html:radio property="selectedDrug" value="" /><bean:write
name="myCollectionElement" />
</td>
<td bgcolor="#E9E9E9">
<html:radio property="selectedDrug" value="" /><bean:write
name="myCollectionElement" />
</td>
</tr>
</logic:iterate>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to