Re: really dynamic Struts Forms

2005-10-28 Thread Murray Collingwood
Let me get this right, you have no idea what the field names on the form are going to be.you are the developer right? No matter how dynamic the form is you still have to create it using something...like some Javascript to create the input fields at least. If you are creating the input f

[FRIDAY] Re: really dynamic Struts Forms

2005-10-28 Thread Dave Newton
Frank W. Zammetti wrote: There really isn't a way to essentially create a bean on-the-fly... not a true bean with accessors and mutators for private fields that is... the LazyActionForm is about as close as you are going to get. Never underestimate the destructive power of a Jython, jRuby, or

Re: really dynamic Struts Forms

2005-10-28 Thread Brian Demers
Thanks On 10/28/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi Brian, > > There really isn't a way to essentially create a bean on-the-fly... not a > true bean with accessors and mutators for private fields that is... the > LazyActionForm is about as close as you are going to get. > > I've

Re: really dynamic Struts Forms

2005-10-28 Thread Frank W. Zammetti
Hi Brian, There really isn't a way to essentially create a bean on-the-fly... not a true bean with accessors and mutators for private fields that is... the LazyActionForm is about as close as you are going to get. I've never looked at the source, but my *guess* would be that Niall is populating a

Re: really dynamic Struts Forms

2005-10-28 Thread Laurie Harper
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 su

Re: really dynamic Struts Forms

2005-10-28 Thread Brian Demers
Currently thats what I am doing. Because of that I have to filter out the 'method' parameter. I was just looking if there was a clean way to do this. -Brian Demers On 10/28/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Would not it be simpler to read directly from request? > > On 10/28/05,

Re: really dynamic Struts Forms

2005-10-28 Thread Michael Jouravlev
Would not it be simpler to read directly from request? On 10/28/05, Brian Demers <[EMAIL PROTECTED]> 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 param

Re: really dynamic Struts Forms

2005-10-28 Thread Brian Demers
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.

Re: really dynamic Struts Forms

2005-10-28 Thread David Evans
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

really dynamic Struts Forms

2005-10-28 Thread Brian Demers
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 DynaActionF