Re: how to achieve this with s:iterator tag

2009-04-25 Thread Wes Wannemacher
On Saturday 25 April 2009 10:20:43 am Bhaarat Sharma wrote: > is there no way to overcome this drawback? > > do i have to change the way I am getting my results from the DB to suit the > iterator tags drawback in this case? You call it a drawback, I call it a feature... I don't know if I'd want to

Re: how to achieve this with s:iterator tag

2009-04-25 Thread Bhaarat Sharma
is there no way to overcome this drawback? do i have to change the way I am getting my results from the DB to suit the iterator tags drawback in this case? On Fri, Apr 24, 2009 at 5:25 PM, Bhaarat Sharma wrote: > I have the following code in jsp scriplet > <% > ArrayList statist

how to achieve this with s:iterator tag

2009-04-24 Thread Bhaarat Sharma
I have the following code in jsp scriplet <% ArrayList statisticsList = something.getStatistics(); Iterator itr1 = statisticsList.iterator(); while (itr1.hasNext()) { dvo3_a = (VerificationVO) itr1.next();

RE: [S2] s:iterator tag - var or id

2008-07-09 Thread Timothy Wonil Lee
Ah.. I see. Thank you. Timothy Wonil Lee Java Developer http://timundergod.blogspot.com/ -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 9 July 2008 4:58 PM To: Struts Users Mailing List Subject: Re: [S2] s:iterator tag - var or id Unfortunately those

RE: Re: [S2] s:iterator tag - var or id

2008-07-09 Thread [EMAIL PROTECTED]
ure what > the technical reason that prevents the documentation being versioned > like the rest of the code, maybe one of the committers can explain. > (*Chris*) > On Tue, Jul 8, 2008 at 11:53 PM, Timothy Wonil Lee > <[EMAIL PROTECTED]> wrote: >> Hi all, >> >&g

Re: [S2] s:iterator tag - var or id

2008-07-08 Thread Chris Pratt
f the code, maybe one of the committers can explain. (*Chris*) On Tue, Jul 8, 2008 at 11:53 PM, Timothy Wonil Lee <[EMAIL PROTECTED]> wrote: > Hi all, > > I was trying to use s:iterator tag, and when I looked at the documentation > on http://struts.apache.org/2.0.11.2/docs/

[S2] s:iterator tag - var or id

2008-07-08 Thread Timothy Wonil Lee
Hi all, I was trying to use s:iterator tag, and when I looked at the documentation on http://struts.apache.org/2.0.11.2/docs/iterator.html it says, attribute (parameter) 'id' is deprecated and 'var' should be used. So I did: However, my IDE complained about the attribute &

Re: s:iterator tag

2007-08-10 Thread Marcos Mendonça
I managed to make it work by acessing the ArrayList.iterator() method. That is, I had to create another class member of the type Iterator, create getters and setters for it, and the use that member in the .jsp. On 8/9/07, Marcos Mendonça <[EMAIL PROTECTED]> wrote: > Yes, I did. ArrayList has somet

Re: s:iterator tag

2007-08-09 Thread Marcos Mendonça
Yes, I did. ArrayList has something in it. I managed to print it's size and log the file name, the one I'd like to print with the JSP. On 8/9/07, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Marcos Mendonça wrote: > > I have an action that generates an ArrayList of the > > files in a given direct

Re: s:iterator tag

2007-08-09 Thread Dave Newton
--- Marcos Mendonça wrote: > I have an action that generates an ArrayList of the > files in a given directory. Do you know that it's generating a list with any files in it (determine via logging for the most complete information or put something else in the loop as a quick sanity check)? d.

s:iterator tag

2007-08-09 Thread Marcos Mendonça
Hello I'm going crazy trying to use the s:iterator tag. I have an action that generates an ArrayList of the files in a given directory. In my JSP I'd like to show this files as a list. Here's my action's code: File dir = new File(props.getProperty("files.saveDir&q

[S2] Is s:iterator tag allowed inside s:url tag?

2007-07-30 Thread Srinivas.N.
e url. Is what I tried legal syntax - i.e. is s:iterator tag allowed inside a s:url tag? If not, how else can I do this? Thanks Srinivas -- View this message in context: http://www.nabble.com/-S2--Is-s%3Aiterator-tag-allowed-inside-s%3Aurl-tag--tf4178780.html#a11882656 Sent from the Struts - Use