Please note that I have not used the items I am about to tell you about :-) That having been said:
DynaForms - from what I understand, they will "suck up" anything and poke it in a hash. I'm not sure whether you could use this - or maybe DynaBeans - but, from my (limited) understanding of them, I think you probably could. Internally, as I said, they poke things into a hash. Now ... hrm ... I need to catch up on the new Struts features :-) I really think you can acheive this. To get someone elses attention, post a new topic about "Help with DynaBeans/DynaForms". That's nearly certain to get someone's attention. HTH, Eddie Rick Reumann wrote: >On Thursday, July 11, 2002, 12:22:57 PM, Eddie wrote: > >EB> Use container-managed authentication. > >Eddie, thanks for your info on container management but actually my >question really isn't about how to manage authentication. (I should >have been more clear). > >It is how do you use Struts to generate form field names that will be >generated dynamically and then later have access to them to using an >Action Form or a configured Dynamic Action Form. > >Let's change the whole scenario around and say I'm creating a page >that has a list of items and you have to select the favorite color of >each. For example: > >car [ select options of colors to choose ] >house [ select options of colors to choose ] >sofa [ select options of colors to choose ] > >Now the problem is that the items are generated dynamically so that >the application doesn't know until run time what these items will be. > >Is there a way to have a Struts Action Form manage gather this kind of >information. > >I was hoping to avoid when the above form would submit having to do >this in some business object using the request object: > >//get List from db >//loop through list and during each iteration: > String colorValue = request.getParameter( itemInList ); > //now update db with this value for this item >//continue loop > >Maybe I have no choice. I'm just not clear how I can use a Struts form >to capture this dynamic list of items, since I can't configure the >fields beforehand. > >Thanks for any more help > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

