URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread mohan
Hi All is there a way i can pass a request in an ActionForm. I need to get a session attribute thro the request and write the getters in ActionForm according to the values in the session.Please let me know Thanks --Mohan -

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Jimmy Emmanual
just create a hidden control on the form and assign the value to the session variable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: URGENT: getting a Session Attribute from ActionForm Hi All

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread mohan
: Friday, November 21, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: URGENT: getting a Session Attribute from ActionForm Hi All is there a way i can pass a request in an ActionForm. I need to get a session attribute thro the request and write the getters in ActionForm according to the values

Re: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Rick Reumann
[EMAIL PROTECTED] wrote: Hi All is there a way i can pass a request in an ActionForm. I need to get a session attribute thro the request and write the getters in ActionForm according to the values in the session.Please let me know I'm not sure what you are really asking mohan. You don't have to

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread alvin antony
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: URGENT: getting a Session Attribute from ActionForm Hi All is there a way i can pass a request in an ActionForm. I need to get a session attribute thro the request and write the getters

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] When the user logons to the system, it takes him to a form. Based on the logon values, if the user already has filled the form, form should be populated with values the user can then modify existing values save, if not the user can fill in

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread mohan
My aim is to get a session Attribute called as userinfo in the ActionForm. In the ActionForm i have methods called getAddress,getAddress1,getAddress2. These are all addresses of this person. So what i want to do is, if all the info is already present in the db, i want to pre-populate it.If not

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Wendy Smoak
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] My aim is to get a session Attribute called as userinfo in the ActionForm. In the ActionForm i have methods called getAddress,getAddress1,getAddress2. These are all addresses of this person. So what i want to do is, if all the info is

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Yee, Richard K,,DMDCWEST
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 8:22 AM To: [EMAIL PROTECTED] Subject: RE: URGENT: getting a Session Attribute from ActionForm My aim is to get a session Attribute called as userinfo in the ActionForm. In the ActionForm i have

RE: URGENT: getting a Session Attribute from ActionForm

2003-11-21 Thread Mainguy, Mike
, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 4:58 PM To: 'Struts Users Mailing List' Subject: RE: URGENT: getting a Session Attribute from ActionForm Mohan, I agree with Wendy. Prepopulate the form by instantiating it in the action that forwards to the page