Re: Best practice - Wizard flow

2007-05-24 Thread Jeromy Evans
l Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:36 AM To: 'Struts Users Mailing List' Subject: RE: Best practice - Wizard flow As I see it the problem with that approach is if I'm at stage 3, I got back two screens to stage 1, change something, wh

Re: Best practice - Wizard flow

2007-05-24 Thread Shahak Nagiel
feasible it would be to port this over to S2... -Shahak - Original Message From: Charbel Abdul-Massih <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Thursday, May 24, 2007 11:45:56 AM Subject: RE: Best practice - Wizard flow In the struts 1 world, we used to have one

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
Struts 2??? -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:36 AM To: 'Struts Users Mailing List' Subject: RE: Best practice - Wizard flow As I see it the problem with that approach is if I'm at stage 3, I got back two scr

Re: Best practice - Wizard flow

2007-05-24 Thread Michael Bowman
essionAware the only step required to > have the action stored in the session??? > > Charbel > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 24, 2007 11:27 AM > To: Struts Users Mailing List > Subject: RE: Best practice - Wizard flo

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
o: Struts Users Mailing List Subject: Re: Best practice - Wizard flow How about this. Each subsequent page in the wizard contains all the new form elements plus html hidden form elements for the previous save. This way you are hitting the sever between requests and not using the session. Each w

Re: Best practice - Wizard flow

2007-05-24 Thread Michael Bowman
ts Users Mailing List Subject: RE: Best practice - Wizard flow --- Charbel Abdul-Massih wrote: > I would have thought that something as simple as a > wizard would be easily doable...I would like to keep > away from the session as much as possible... The thing with "wizards" (at

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
7 16:34 To: Struts Users Mailing List Subject: Re: Best practice - Wizard flow How about this. Each subsequent page in the wizard contains all the new form elements plus html hidden form elements for the previous save. This way you are hitting the sever between requests and not using the session. E

Re: Best practice - Wizard flow

2007-05-24 Thread Marco Carnevale
How about this. Each subsequent page in the wizard contains all the new form elements plus html hidden form elements for the previous save. This way you are hitting the sever between requests and not using the session. Each wizard screen is basically the 'state' for itself plus all previous scr

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
In that case, is implementing SessionAware the only step required to have the action stored in the session??? Charbel -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 11:27 AM To: Struts Users Mailing List Subject: RE: Best practice - Wizard

RE: Best practice - Wizard flow

2007-05-24 Thread Dave Newton
--- Charbel Abdul-Massih wrote: > I would have thought that something as simple as a > wizard would be easily doable...I would like to keep > away from the session as much as possible... The thing with "wizards" (at least as I've used and implemented them) is that previous steps in the wizard flo

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
, May 24, 2007 11:12 AM To: 'Struts Users Mailing List' Subject: Re: Best practice - Wizard flow I know you said you didn't like sessions, but they're the only clean way of doing things stateful things between stateless pages. -Original Message- From: Al Sutton [mai

Re: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
I know you said you didn't like sessions, but they're the only clean way of doing things stateful things between stateless pages. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:10 To: 'Struts Users Mailing List' Subject: RE: Best pr

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
Store the values in the session and clear them down when the user either completes the wizard or restarts it? -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:04 To: Struts Users Mailing List Subject: RE: Best practice - Wizard flow I would

RE: Best practice - Wizard flow

2007-05-24 Thread Charbel Abdul-Massih
I would like to keep away from this method... Any other suggestions??? -Original Message- From: Lance [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 10:49 AM To: Struts Users Mailing List Subject: Re: Best practice - Wizard flow Why not draw all 3 pages but hide 2 of them and

Re: Best practice - Wizard flow

2007-05-24 Thread Lance
Why not draw all 3 pages but hide 2 of them and javascript the next page on and off. All pages inside the same form, last page submits. Charbel Abdul-Massih wrote: I am developing a wizard type flow with 3 pages in the wizard... We'll call them page 1, page 2, and page 3... I need use