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
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
I have the following code in jsp scriplet
<%
ArrayList statisticsList = something.getStatistics();
Iterator itr1 = statisticsList.iterator();
while (itr1.hasNext())
{
dvo3_a = (VerificationVO) itr1.next();
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
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
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/
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 &
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
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
--- 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.
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
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
12 matches
Mail list logo