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
-
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
: 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
[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
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
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
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
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
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
, 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
10 matches
Mail list logo