Re: Problems with Iterator tag Please Help

2005-10-20 Thread rajasekhar . cherukuri
Use the following code Hi This will print the "Hi" the number of times depending on the size of ArrayList. Also do not forget to use the fully qualified name with package for type="NibuSrchVLocalDTO" Regards, Rajasekhar Cherukuri Troy Bull <[EMAIL PROTECTED]> 10/20/2005 08:56

[OT] Re: Problems with Iterator tag Please Help

2005-10-20 Thread Dave Newton
Murray Collingwood wrote: Sometime it's just hard not to say anything. There are lots of different options for making this work and you don't have to change to JSTL to do it. The logic:iterate tag is absolutely fine, you just have to get the right parameter names. I'm of the opinion that t

Re: Problems with Iterator tag Please Help

2005-10-20 Thread Murray Collingwood
Sometime it's just hard not to say anything. There are lots of different options for making this work and you don't have to change to JSTL to do it. The logic:iterate tag is absolutely fine, you just have to get the right parameter names. Thanksfully there is a pattern to how the parameters

RE: Problems with Iterator tag Please Help

2005-10-20 Thread Karr, David
Re-read the API description of this tag and the "collection" attribute: "A runtime expression that evaluates to a collection (conforming to the requirements listed above) to be iterated over." You've given it a string, "rows", and not a collection. This is a situation where using Struts-EL is co

Re: Problems with Iterator tag Please Help

2005-10-20 Thread Dave Newton
Troy Bull wrote: I have a situation here. I have an ArrayList of DTO objects in session. <% ArrayList rows = (ArrayList) session.getAttribute("rows"); if (rows != null) { Iterator i = rows.iterator(); while (i.hasNext()) { NibuSrchVLocalDTO debug = (NibuSrchVLocalDTO)i.n