changes
and forwards back to the list.
Let me know if you need more clarification.
robert
-Original Message-
From: Howard Miller [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 21, 2002 2:27 PM
To: Struts Users Mailing List
Subject: Re: Scope of form beans
Errr..
may I take
1) save the array list in the http session.
2) don't call jsp, but call the action related to it.
3) Pick your data from ArrayList
4) Cast the variable form in execute method ( or equvalent ) to the
related form
5) Fill that form with the data jet picked.
You'll display the data.
Howard
So you're trying to pre-populate a form? ... which you're just about to
show a user?
link - action f- JSP (f- == forward)
- link points to action
- action populates form
- action forwards control to JSP
Is this your scenario?
You need to:
- build a form-bean (by extending ActionForm)
Errr..
may I take a step back, and explain what I want to do, rather that
how I'm doing it wrong!
- I have a bean in the session scope (working fine).
- This session bean has an ArrayList 'pointing to' a number of other
beans.
- Screen 1: The array list is displayed for the user, with an edit
-
From: Chen, Yong [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, January 08, 2002 11:43 PM
Subject: RE: scope for form beans
what if one of your forms is never used in a session?
and with session level bean, how would you know the form bean
what if one of your forms is never used in a session?
and with session level bean, how would you know the form bean doesn't
contain old data? form is request based not session based. you can certainly
store some info. from the form in the session.
yc
-Original Message-
From: Kuntz
Hi,
I'm using a session scope Form bean in a wizard like interface. Because the
Form has session scope the user can go back to any step in the wizard and
find his previously filled in values.
Greetings,
Freek Segers
on 08-01-2002 14:28 you wrote:
Hi,
what are the motivations for having a
Hi
does this also mean the form bean goes null when the session gets timedout?
Regards,
Murali
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to
8 matches
Mail list logo