i have same question as you , do you have get right answer?
my resolve is like this :
form bean -
private ArrayList awards = new ArrayList (5);
public void reset(ActionMapping actionMapping, HttpServletRequest
httpServletRequest) {
awards .add(0,new AwardMasView ());
awards .add(1,new
Search the user archive...
This question has been answered many times(Use of lazy lists is one of the ways to
manange the list runtime..)
-Original Message-
From: hsc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 9:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Indexed Properties
try looking at www.keyboardmonkey.com
I believe the example on nested tag will help you...
Best Regards,
Benz Lim
-Original Message-
From: hsc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Indexed Properties examples?
i have same
OK, I faced the same problems you a few weeks ago (I was a total newbee
with indexed properties and I spent 10 full days on the problem - I'm
still hot on this one !).
I haven't read the initial post and I hope my input will be useful to
you.
Regarding the form :
1/ I create an empty array list
If you're using struts 1.1 you can define a form property as an
arrayList to do the same thing..
form-property name=myproperty type=java.util.ArrayList /
...
action name=myForm scope=session ..
..
ArrayList myList = new ArrayList()
theForm.set(myproperty,myList);
..
logic:iterate id=foo
I am still trying to get this to work. I simply want to display records in
table format in a browser and be able to change the data, do a submit and
have access to the changes back in the action. Currently I am getting :
HTTP ERROR: 500 No getter method for property AwardIndexed[0].safAwardCode
of
Try changing the property value reference in your JSP to reference
awardIndexed instead of AwardIndexed. That might help, but I'm not
certain.
-Original Message-
From: Michael Blair [mailto:[EMAIL PROTECTED]
I am still trying to get this to work. I simply want to
display records
7 matches
Mail list logo