I knew I'd seen it! Thanks James....
Jerry > -----Original Message----- > From: James Turner [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 2:32 PM > To: Struts Users Mailing List > Subject: RE: HELP!: Pre-populating A DynaValidatorForm in > Struts 1.1 B2 > > > At 03:19 PM 9/27/2002, you wrote: > >From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] > >Sent: Friday, September 27, 2002 2:17 PM > >To: Hohlen, John > >Subject: RE: HELP!: Pre-populating A DynaValidatorForm in > Struts 1.1 B2 > > > > > >I've seen answers to similar questions on this list before; > unfortunately > >(fortunately?) I've not had to instantiate a DynaFormBean on > my own yet. I > >hate to tell you to search the archives, but that might be > the best place to > >start..... > > > >Sorry I couldn't be of more help :-( > > > >Jerry > > I posted the solution to this yesterday, I'll restate: > > ApplicationConfig appConfig = > > (ApplicationConfig)request.getAttribute(Action.APPLICATION_KEY); > > FormBeanConfig formBeanConfig = > appConfig.findFormBeanConfig("myDynaActionForm"); > > String beanType = formBeanConfig.getType(); > > DynaActionForm bean; > > DynaActionFormClass formClass = > > DynaActionFormClass.createDynaActionFormClass(formBeanConfig); > > bean = (DynaActionForm) formClass.newInstance(); > > request.setAttribute("myDynaActionForm", bean); > > > James > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

