There's hope..
I assume that you struts config looks like this
I've been using ArrayList but only just started doing so , but seems to
work in a development context
//action
ArrayList amList = new ArrayList();
amList.add(new ItemAdjustmentModel());
theForm.set("adjustmentModel", amList);
Again:
And other text and hidden elements.
The table appears in the page just fine, the proper values are read from the
proper places. But when the page is submittedapparently *nothing* gets
put into the proper place in the form bean.
I have methods in the bean with the following
I have a form bean that has an array of objects that I want to iterate
through. This array is called "item_Adjustmentsl". There is another array of
the same length, that I also want to use, this one's called
"existingAdjustment". It's simply an array of Strings. So I'm trying to do
something like t
:58 PM
To: struts-user
Subject: Collection iterate question!
Hi ,
I have a collection in my JSP, I want to iterate this collection and
display even rows only. Is there a way to do this?
Any help would be greatly appreciated!
Thanks in advance,
Jana.
<%
java.util.ArrayList payment
Hi ,
I have a collection in my JSP, I want to iterate this collection and
display even rows only. Is there a way to do this?
Any help would be greatly appreciated!
Thanks in advance,
Jana.
<%
java.util.ArrayList paymentListOdd = new java.util.ArrayList();
paymentListOdd.add("American
essage-
> From: Van Riper, Mike
> Sent: Wednesday, September 04, 2002 3:21 PM
> To: Struts Users Mailing List
> Subject: RE: iterate question
>
>
> I have a similar need to the one expressed by Kirby. I have
> not used the nested extension, but, I have read through the
o: Struts Users Mailing List
> Subject: RE: iterate question
>
>
> Look at the nested extension @
> http://www.keyboardmonkey.com/next/index.jsp. It is exactly
> for this purpose.
>
> It is included as part of Struts 1.1.x
>
> Sri
>
> > -Original Messa
; To: [EMAIL PROTECTED]
> Subject: iterate question
>
>
> Hello,
>
> I'm new to struts, so please bear with me. I'm in the early
> stages of converting something to the struts framework and
> I've run into a situation that I'm not sure how to handl
Hello,
I'm new to struts, so please bear with me. I'm in the early stages
of converting something to the struts framework and I've run into a
situation that I'm not sure how to handle.
I want to make a page that, as an example, looks like:
- message 1
- message 2
* re: message 2
Ok, I admit to feeling a little thick-headed at the moment,
given all the past traffic on checkboxes and iteration. I still
am not getting it. Here is what I'm trying to do; can anybody
give me the step-by-step-idiot-proof-recipe on how to do it?
1. I'm using Struts 1.0 (no patch, no nightly r
Good Morning:
I have a question for the iterate property update with indexed tag.
Normally I use my own tag to show the real name of the iterate property for
update purpose, then just read them out from the HTTPRequest on my action
class, that works well until recently I have to add a upload fea
Good Morning:
I have a question for the iterate property update with indexed tag.
Normally I use my own tag to show the real name of the iterate property for
update purpose, then just read them out from the HTTPRequest on my action
class, that works well until recently I have to add a upload fea
nForm
'jobMonitorForm' with getter as follows
public DefaultTableModel getModel()
{
return model;
}
Richard.
-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 5:56 PM
To: '[EMAI
I think the taglibs have a tag that does something like this..
Amar..
-Original Message-
From: Assenza, Chris [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 12:56 PM
To: '[EMAIL PROTECTED]'
Subject: Quick Iterate Question - DefaultTableModel
Here's a quick one
Here's a quick one - anyone use or modify iterate to support iterations
through a DefaultTableModel. Since it's just a vector of vectors we tried
nesting iterate tags, but to no avail. Anyone already done this or do I need
to code it myself if I want it (hehe)? :)
Chris
Did you ever solve this...
Thanks in Advance...
Joshua Calloway..
> -Original Message-
> From: Kristopher Brown [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 24, 2001 4:59 AM
> To: Struts-User (E-mail)
> Subject: Simple Iterate Question
>
> I'm usin
I'm using
logic:iterate and I want to know the index on each
iteration.
Is there a tag I can
use - I've looked but I can't find one.
Cheers
Kris.
17 matches
Mail list logo