Hi,
Is there Nested Iterator tag in Struts2.0.6?
I want to show matrix of list value through Iterator tag in HTML Table. So
is it possible?
I am here giving example which shows values in table form from list.
List imageList= new ArrayList(10);
images should show like below in HTML table.
imageList.get(0) imageList.get(1) imageList.get(2)
imageList.get(3) imageList.get(4) imageList.get(5)
imageList.get(6) imageList.get(7) imageList.get(8)
imageList.get(9)
Please Help me if any one has solutions for it.
Vijay
On 5/8/07, Diego Yasuhiko Kurisaki <[EMAIL PROTECTED]> wrote:
Hi i've written the following in a JSP.
<s:iterator id="ca" value="clients">
<tr>
<td>${ca.name}</td>
<td>${ca.description}</td>
<td>remove</td>
<td>edit</td>
</tr>
</s:iterator>
I have a method in my action called getClients.
When i first load the page, the iterator tag generates the exact number of
rows of the list that is returned by the getClients method.
But the EL ${ca.name} and ${ca.description} doesn't return any value until
a
refresh.
I've tried then putting a breakpoint inside the getName and getDescription
methods, it seens that the methods are being called just after the first
refresh.
Looks like i'm doing something very wrong, am i not supposed to use EL
inside <s:iterator>? What should i use then?
--
[]'s Diego Yasuhiko Kurisaki