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();
TwoForm two
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;
Stringvalue = theForm.getValue();
TwoForm twoForm =
new TwoForm();twoForm.setVal2(value);request.setAttribute("twoForm&quo
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 ??
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: Saturday, April
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 .. so that
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
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 Form
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
8 matches
Mail list logo