I haven't used the Lazy* stuff, but I always thought this was exactly
the point -- to create an action form without having to specify the
property names in advance.
If you're not using Validator, though, and really don't know at all what
parameters you'll be dealing with in advance, I'm not sure there's
really any advantage over just using Request.getParameterNames() /
Request.getParameter(String) to find out what was sent. Why? Because if
you don't know what the parameter names are in advance you don't know
how to retrieve them from a form bean anyway, except through an
equivalent API.
L.
Brian Demers wrote:
I don't know if thats what i am looking for either?
My field names could be XXX, YYY, and ZZZ for one submit
and then AAA, BBB, CCC another.
There is no way of knowing what parameters i will get.
-Brian
On 10/28/05, David Evans <[EMAIL PROTECTED]> wrote:
I think this might help:
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html
On Fri, 2005-10-28 at 08:15, Brian Demers wrote:
Hello all,
I am creating a dynamic struts application. I don't think
DynaActionForm is what I am looking for.
My page contains many input fields which are dynamically generated at
run time. Is there any way to put these fields into a struts form?
From what I have read, fields for a DynaActionForm need to be defined
in the struts-config (which is not dynamic).
My other alternative is just to grab the parameters from the request.
Does anyone have any ideas?
-Brian Demers
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]