Map-backed ActionForm and diff input types

2004-12-31 Thread Oleg
Hi, Map-backed forms work great if all the fields are same input type, for example text. What if its mixed: text field, check box, input hidden. How would you distinguish whats where? Thanks - To unsubscribe, e-mail: [EMAIL PROT

Re: Map-backed ActionForm and diff input types

2004-12-31 Thread Dakota Jack
Do you have a specific problem? I cannot tell what the worry is. Jack On Fri, 31 Dec 2004 00:47:57 -0800, Oleg <[EMAIL PROTECTED]> wrote: > Hi, > > Map-backed forms work great if all the fields are same input type, for > example text. What if its mixed: text field, check box, input hidden. > H

Re: Map-backed ActionForm and diff input types

2004-12-31 Thread Eddie Bush
You can't tell, based off the form, which fields are hidden or visible. This is something you have to know and hard-code into the page. So far as being different types, ... well, that's the same thing :-) EVERYthing is carried around in a form as text because if you were to have a form with non-

Re: Map-backed ActionForm and diff input types

2004-12-31 Thread Oleg
I have to apologize for not explaining myself more clearly. What I am doing is building a form at run time. All the field information, including fields type is pulled from the database, so based on that value I wanted to display input type text, or input type hidden or whatever. It seem to me thoug

Re: Map-backed ActionForm and diff input types

2004-12-31 Thread Dakota Jack
There are lots of ways. You can, for example, include that information in the request object by putting it into the name/value pair. Jack On Fri, 31 Dec 2004 14:17:57 -0800, Oleg <[EMAIL PROTECTED]> wrote: > I have to apologize for not explaining myself more clearly. What I am > doing is buildi