ArrayList of LazyDynaBeans.
Niall
- Original Message -
From: "Nathan Ewing" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 10:51 PM
Subject: RE: Creating an indexed property of DynaActionForms
ng List
Cc:
Subject: Re: Creating an indexed property of DynaActionForms
OK, then I repeat my earlier answer - use (or at least look at) the "Lazy"
versions I wrote.
http://www.niallp.pwp.blueyonder.co.uk/
is all it needs.
If you look at the get(String name, int index) method
s.
Niall
- Original Message -
From: "Nathan Ewing" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 10:51 PM
Subject: RE: Creating an indexed property of DynaActionForms
Let me rephrase :)
"its MUCH
Beans.
Niall
- Original Message -
From: "Nathan Ewing" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 9:44 PM
Subject: RE: Creating an indexed property of DynaActionForms
Lemme give an example, Lets s
age -
From: "Nathan Ewing" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 9:44 PM
Subject: RE: Creating an indexed property of DynaActionForms
Lemme give an example, Lets say I have a form for Cars. The main
easier to save these records to the database if everything is
represented as DynaForms.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 4:27 PM
To: Struts Users Mailing List
Subject: Re: Creating an indexed property of DynaActionForms
I
p
Should populate an ArrayList of LazyDynaBeans containing property1 and
property2
Niall
- Original Message -
From: "Nathan Ewing" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 21, 2004 8:53 PM
Su
, April 21, 2004 7:44 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed property of DynaActionForms
Use the lazyValidatorActionForm, which allows you to keep things request
scope when using arrays.
http://www.niallp.pwp.blueyonder.co.uk
List
Subject: RE: Creating an indexed property of DynaActionForms
I don't think using the lazy beans is a bad approach and if you look at
the code, there is very little of it.
I got half way to implementing the approach, but the piece I was
building was shut down so I don't know how effec
than Ewing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 1:48 PM
To: Struts Users Mailing List
Subject: RE: Creating an indexed property of DynaActionForms
I briefly toyed with the idea of trying to fix the flaw myself, but I
looked at the struts source code and the change would not be a t
Subject: RE: Creating an indexed property of DynaActionForms
I couldn't think of one.
sandeep
-Original Message-
From: Nathan Ewing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:00 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed property of DynaActionForm
I couldn't think of one.
sandeep
-Original Message-
From: Nathan Ewing [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 11:00 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed property of DynaActionForms
I take it then that there is no way to use n
I take it then that there is no way to use normal DynaActionForms. It
would certainly be a lot simpler. :(
Nathan
-Original Message-
From: Takhar, Sandeep [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 7:44 AM
To: Struts Users Mailing List
Subject: RE: Creating an indexed
Use the lazyValidatorActionForm, which allows you to keep things request scope when
using arrays.
http://www.niallp.pwp.blueyonder.co.uk/
Unfortunately I haven't tried this, but am pretty sure it works.
sandeep
-Original Message-
From: Natha
14 matches
Mail list logo