RE: Struts2: Carry parameters into following jsp/action
> So what happens when a woman dies her hair or wears > colored contact lens? She stays the same age. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts2: Carry parameters into following jsp/action
AARP collects the same information (albeit for different reasons) So what happens when a woman dies her hair or wears colored contact lens? I'll quote Nancy Reagan with "just say No" to collecting demographics Regards Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sat, 6 Dec 2008 07:17:00 -0800 > From: [EMAIL PROTECTED] > Subject: RE: Struts2: Carry parameters into following jsp/action > To: user@struts.apache.org > > --- On Sat, 12/6/08, Martin Gainty wrote: > > if your form includes age you'll need to read > > http://www.eeoc.gov/policy/adea.html > > Only if the OP is (a) an employer and (b) using ages above 40 as a basis to > deny employment. People do, however, collect age information for other > reasons, like simple demographics. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _ Send e-mail faster without improving your typing skills. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
RE: Struts2: Carry parameters into following jsp/action
--- On Sat, 12/6/08, Martin Gainty wrote: > if your form includes age you'll need to read > http://www.eeoc.gov/policy/adea.html Only if the OP is (a) an employer and (b) using ages above 40 as a basis to deny employment. People do, however, collect age information for other reasons, like simple demographics. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts2: Carry parameters into following jsp/action
if your form includes age you'll need to read http://www.eeoc.gov/policy/adea.html as far as persisting form vars i agree w/ dave to keep the form in session..anyone who has access to session will see form Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sat, 6 Dec 2008 15:09:11 +0100 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: Struts2: Carry parameters into following jsp/action > > Hi all, > if this first form is very simple i would use hidden fields in second form. > > Best greetings, > Paweł Wielgus. > > 2008/12/5 Radu Solomon <[EMAIL PROTECTED]>: > > You could use ScopedModelDriven with your Model defined to hold all your > > properties name, age, height, hair color and eye color. > > > > I have been using this for two wizards and it works very nicely. You do not > > need to worry about persisting the model between pages, let the framework > > do it for you. > > > > Hope this helps. > > > > -- > > Radu Solomon > > Software Developer > > N-able Technologies(r) > > 450 March Road, 4th Floor > > Ottawa, Ontario > > K2K 3K2 > > www.n-able.com > > > > [EMAIL PROTECTED] > > Tel: (613) 592-6676 x 301 > > Toll Free: 877-655-4689 x 301 > > Fax: (613) 592-2242 > > > > -Original Message- > > From: Dave Newton [mailto:[EMAIL PROTECTED] > > Sent: December 5, 2008 1:57 PM > > To: Struts Users Mailing List > > Subject: Re: Struts2: Carry parameters into following jsp/action > > > > The quickest/easiest solutions are chaining (boo hiss) or just keeping a > > form model in the session like in any other framework. > > > > Dave > > > > --- On Fri, 12/5/08, Peterson, Ryan wrote: > >> I have a form filled out that may require additional info, > >> which I have > >> a 2nd jsp form for. How can I carry over the already > >> entered parameters > >> from the first form to the second, so that all info may be > >> submitted to > >> an action. > >> > >> > >> > >> For example: data is collected from form1.jsp. Say name, > >> age, height > >> > >> This is submitted and determined to need form2.jsp, which > >> would then ask > >> for hair color and eye color. > >> > >> > >> > >> From form1, "form2.action" is called upon submit, > >> which in my struts.xml > >> is: > >> > >> > >> > >> > >> > >> .../form2.jsp > >> > >> > >> > >> > >> > >> How can I carry over the name, age, and height from form 1 > >> to 2? Then > >> once it is there, are hidden fields the best method to have > >> all of the > >> information submitted to the final action? > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ Send e-mail faster without improving your typing skills. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
Re: Struts2: Carry parameters into following jsp/action
Hi all, if this first form is very simple i would use hidden fields in second form. Best greetings, Paweł Wielgus. 2008/12/5 Radu Solomon <[EMAIL PROTECTED]>: > You could use ScopedModelDriven with your Model defined to hold all your > properties name, age, height, hair color and eye color. > > I have been using this for two wizards and it works very nicely. You do not > need to worry about persisting the model between pages, let the framework do > it for you. > > Hope this helps. > > -- > Radu Solomon > Software Developer > N-able Technologies(r) > 450 March Road, 4th Floor > Ottawa, Ontario > K2K 3K2 > www.n-able.com > > [EMAIL PROTECTED] > Tel: (613) 592-6676 x 301 > Toll Free: 877-655-4689 x 301 > Fax: (613) 592-2242 > > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: December 5, 2008 1:57 PM > To: Struts Users Mailing List > Subject: Re: Struts2: Carry parameters into following jsp/action > > The quickest/easiest solutions are chaining (boo hiss) or just keeping a form > model in the session like in any other framework. > > Dave > > --- On Fri, 12/5/08, Peterson, Ryan wrote: >> I have a form filled out that may require additional info, >> which I have >> a 2nd jsp form for. How can I carry over the already >> entered parameters >> from the first form to the second, so that all info may be >> submitted to >> an action. >> >> >> >> For example: data is collected from form1.jsp. Say name, >> age, height >> >> This is submitted and determined to need form2.jsp, which >> would then ask >> for hair color and eye color. >> >> >> >> From form1, "form2.action" is called upon submit, >> which in my struts.xml >> is: >> >> >> >> >> >> .../form2.jsp >> >> >> >> >> >> How can I carry over the name, age, and height from form 1 >> to 2? Then >> once it is there, are hidden fields the best method to have >> all of the >> information submitted to the final action? > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: Struts2: Carry parameters into following jsp/action
You could use ScopedModelDriven with your Model defined to hold all your properties name, age, height, hair color and eye color. I have been using this for two wizards and it works very nicely. You do not need to worry about persisting the model between pages, let the framework do it for you. Hope this helps. -- Radu Solomon Software Developer N-able Technologies(r) 450 March Road, 4th Floor Ottawa, Ontario K2K 3K2 www.n-able.com [EMAIL PROTECTED] Tel: (613) 592-6676 x 301 Toll Free: 877-655-4689 x 301 Fax: (613) 592-2242 -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: December 5, 2008 1:57 PM To: Struts Users Mailing List Subject: Re: Struts2: Carry parameters into following jsp/action The quickest/easiest solutions are chaining (boo hiss) or just keeping a form model in the session like in any other framework. Dave --- On Fri, 12/5/08, Peterson, Ryan wrote: > I have a form filled out that may require additional info, > which I have > a 2nd jsp form for. How can I carry over the already > entered parameters > from the first form to the second, so that all info may be > submitted to > an action. > > > > For example: data is collected from form1.jsp. Say name, > age, height > > This is submitted and determined to need form2.jsp, which > would then ask > for hair color and eye color. > > > > From form1, "form2.action" is called upon submit, > which in my struts.xml > is: > > > > > > .../form2.jsp > > > > > > How can I carry over the name, age, and height from form 1 > to 2? Then > once it is there, are hidden fields the best method to have > all of the > information submitted to the final action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts2: Carry parameters into following jsp/action
--- On Fri, 12/5/08, Peterson, Ryan wrote: > I've heard rumblings about using session, so I thought > I'd avoid it this time to implement something "clever". Most of the clever solutions are just hiding session use, and there are a couple ways to wrap that up in Struts, including Spring scoped beans; another option is to keep form data in the DB, which can bring additional value (if the application needs it, anyway). Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts2: Carry parameters into following jsp/action
Thanks Dave! I've heard rumblings about using session, so I thought I'd avoid it this time to implement something "clever". :-) In the end, simplicity prevails! -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2008 11:57 AM To: Struts Users Mailing List Subject: Re: Struts2: Carry parameters into following jsp/action The quickest/easiest solutions are chaining (boo hiss) or just keeping a form model in the session like in any other framework. Dave --- On Fri, 12/5/08, Peterson, Ryan wrote: > I have a form filled out that may require additional info, > which I have > a 2nd jsp form for. How can I carry over the already > entered parameters > from the first form to the second, so that all info may be > submitted to > an action. > > > > For example: data is collected from form1.jsp. Say name, > age, height > > This is submitted and determined to need form2.jsp, which > would then ask > for hair color and eye color. > > > > From form1, "form2.action" is called upon submit, > which in my struts.xml > is: > > > > > > .../form2.jsp > > > > > > How can I carry over the name, age, and height from form 1 > to 2? Then > once it is there, are hidden fields the best method to have > all of the > information submitted to the final action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2: Carry parameters into following jsp/action
The quickest/easiest solutions are chaining (boo hiss) or just keeping a form model in the session like in any other framework. Dave --- On Fri, 12/5/08, Peterson, Ryan wrote: > I have a form filled out that may require additional info, > which I have > a 2nd jsp form for. How can I carry over the already > entered parameters > from the first form to the second, so that all info may be > submitted to > an action. > > > > For example: data is collected from form1.jsp. Say name, > age, height > > This is submitted and determined to need form2.jsp, which > would then ask > for hair color and eye color. > > > > From form1, "form2.action" is called upon submit, > which in my struts.xml > is: > > > > > > .../form2.jsp > > > > > > How can I carry over the name, age, and height from form 1 > to 2? Then > once it is there, are hidden fields the best method to have > all of the > information submitted to the final action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]