: 16 May 2007 18:37
To: Struts Users Mailing List
Subject: RE: [Fwd: Best method for dynamic fields
round trip]
Just off of the top of my head I would probably
use a collection or map of
name/values... so the tag might look something
like:
non-zero
> based, but that's a non S2
> > story.
> >
> > Many Many Many thanks.
> >
> > Al.
> >
> >
> > -Original Message-
> > From: Dave Newton [mailto:[EMAIL PROTECTED]
> > Sent: 16 May 2007 18:37
> > To: Struts
e non-sequential and almost definatley non-zero based, but that's a non S2
story.
Many Many Many thanks.
Al.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 16 May 2007 18:37
To: Struts Users Mailing List
Subject: RE: [Fwd: Best method for dynamic fields round trip]
ory.
Many Many Many thanks.
Al.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 16 May 2007 18:37
To: Struts Users Mailing List
Subject: RE: [Fwd: Best method for dynamic fields round trip]
Just off of the top of my head I would probably use a collection or map of
n
appreciate a pointer
> because at the moment it
> looks like we're going to have to use the same
> method of going through the
> parameter map which feels like it's a bit of a hack
> and makes unit testing a
> bit more tricky.
>
> Al.
>
>
> -Origin
hack and makes unit testing a
bit more tricky.
Al.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 16 May 2007 18:19
To: Struts Users Mailing List
Subject: RE: [Fwd: Best method for dynamic fields round trip]
--- Al Sutton <[EMAIL PROTECTED]> wrote:
> Tha
--- Al Sutton <[EMAIL PROTECTED]> wrote:
> That's just what I was looking for, thanks Dave. I
> was looking for a way to do it with tags,
so
> I'm now more confident it's best done without
> them as opposed to thinking I might have missed
> something.
Well, I'm just one opinion :)
It could still
EMAIL PROTECTED]
Sent: 16 May 2007 17:02
To: Struts Users Mailing List
Subject: Re: [Fwd: Best method for dynamic fields round trip]
S2? Build an array or map of the form fields and provide an appropriate
setter in the action.
Probably easiest to build the form tags by hand (i.e., non
tags). So you
S2? Build an array or map of the form fields and
provide an appropriate setter in the action.
Probably easiest to build the form tags by hand (i.e.,
non tags). So you'd iterate over the
dynamic fields, create the tags. On submit you'd end
up with a list (or map, or whatever) of the values.
Did t
Any takers?, even saying "Nope, not possible in a nice way" would be useful.
--- Begin Message ---
I've got an application which has a dynamic number of customisable fields
attached to each record. The customisable fields have a display name, an
internal name, and a value. Some records have no fie
10 matches
Mail list logo