I did'nt see your code in your posting but if you're looking for an example for
using Indexed Properties please reference
http://struts.apache.org/1.x/struts-taglib/indexedprops.html
M-
---
This e-mail message (including
Hi,
I've only recently started putting my forms on request scope, and encountered
this issue with DynaValidatorForm.
A request scoped out of the box DynaValidatorForm is also unable to handle
indexed properties e.g. throws IndexOutOfBoundsException in
DynaActionForm.get(string, int) - I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
A request scoped out of the box DynaValidatorForm is also unable to
handle indexed properties e.g. throws IndexOutOfBoundsException in
DynaActionForm.get(string, int)
I've never used get(String, int), but I use
parameters?
Thanks,
Paul
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Sat 9/12/2006 1:27 AM
To: Struts Users Mailing List
Subject: Re: Struts1: CHALLENGE Indexed Properties can not be used with FORMS
on REQUEST scope! TRUE or NOT TRUE
).
Is there a recommended solution?
From: Strachan, Paul [mailto:[EMAIL PROTECTED]
Sent: Sat 9/12/2006 2:54 AM
To: Struts Users Mailing List
Subject: RE: Struts1: CHALLENGE Indexed Properties can not be used with FORMS
on REQUEST scope! TRUE or NOT TRUE?
Chris,
In my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
Chris, In my DynForm I'm actually using a java.util.ArrayList
(contains my bean objects).
So, you have type=java.util.ArrayList in your form bean definition?
Are you sure that Struts knows how to handle that? It might
PROTECTED]
Sent: Sat 9/12/2006 3:24 AM
To: Struts Users Mailing List
Subject: Re: Struts1: CHALLENGE Indexed Properties can not be used with FORMS
on REQUEST scope! TRUE or NOT TRUE?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
Chris, In my DynForm I'm actually
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
Strachan, Paul wrote:
Have you tried calling yourFormBean.get(yourArrayList) and
checking to see what it inside of it?
not sure what you mean - the action method is never called as the
RequestProcessor cant populate the DynaForm from http
the property (sort of how
LazyValidatorForm works).
Paul
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Sat 9/12/2006 3:52 AM
To: Struts Users Mailing List
Subject: Re: Struts1: CHALLENGE Indexed Properties can not be used with FORMS
on REQUEST scope! TRUE
9 matches
Mail list logo