Pre populating a form

2002-07-25 Thread Hemanth Setty
Hello, I am looking for some example or reference on how you would pre populate a form displayed using struts. I am using a DynaValidationForm and I could not find any reference to it. Thanks Hemanth -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Pre populating a Form Bean

2001-04-16 Thread dhay
espond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: Pre populating a Form Bean I am doing this.. in the perform method of myaction class. but it still doesn't work OneForm theForm = (OneForm) form; String value = theForm.getValue();

RE: Pre populating a Form Bean

2001-04-15 Thread Tewathia, Atul
Title: RE: Pre populating a Form Bean I am doing this.. in the perform method of myaction class.  but it still doesn't work        OneForm theForm = (OneForm) form;    String value = theForm.getValue();        TwoForm twoForm = new TwoForm();   twoForm.setVal2(value);   request.setAttr

Re: Pre populating a Form Bean

2001-04-14 Thread Tharwat Abdul-Malik
Title: RE: Pre populating a Form Bean Does jsp1 forward to jsp2? If so, populate the bean in the perform method, stuff it in the request, the jsp2 can find it there. - Original Message - From: Tewathia, Atul To: [EMAIL PROTECTED] Sent: Sunday, April 15, 2001 12:46

RE: Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: RE: Pre populating a Form Bean It can't be done in action of jsp1 because there is no reference to the form of jsp2. -Original Message- From: Rajan Gupta [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 15, 2001 6:53 AM To: [EMAIL PROTECTED] Subject: Re: Pre populating a

RE: Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: Pre populating a Form Bean Jsp1 and jsp2 use different forms and different data. -Original Message-From: Tharwat Abdul-Malik [mailto:[EMAIL PROTECTED]]Sent: Sunday, April 15, 2001 1:06 AMTo: [EMAIL PROTECTED]Subject: Re: Pre populating a Form Bean Assuming that

Re: Pre populating a Form Bean

2001-04-14 Thread Rajan Gupta
I think u should be able to Populate it in the Action of JSP1. --- "Tewathia, Atul" <[EMAIL PROTECTED]> wrote: > > I want to pre-populate a formBean in this scenario. > > Jsp1 --> Jsp2 > > When I process the data of jsp1 using form1 in the perform method how do > I > set the form2 attributes ..

Re: Pre populating a Form Bean

2001-04-14 Thread Tharwat Abdul-Malik
Title: Pre populating a Form Bean Assuming that jsp2 will use the same data in the formBean, just stuff it in the request object in the perform method. Then jsp2 can use the bean. - Original Message - From: Tewathia, Atul To: '[EMAIL PROTECTED]' Sent: Satur

Pre populating a Form Bean

2001-04-14 Thread Tewathia, Atul
Title: Pre populating a Form Bean I want to pre-populate a formBean in this scenario. Jsp1 --> Jsp2 When I process the data of jsp1 using form1 in the perform method how do I set the form2 attributes .. so that the jsp2 is displayed with preloaded data. Can any body guide in this ??