On Wed, 11 Apr 2001, Dmitri Plotnikov wrote:
I was interested in the same issue and did not find a good solution, so
I submitted a bug report:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1289
It does make sense for an ActionForm to have access to the context: not
just the session,
I want to add a function to all of my forms in which the
form is capable of initialising its contents. e.g.
public void initUsingSession(HttpSession session)
I want to pass the session to this function so that I can
populate values on the form depending on what is
stored in the session.
The
... do my stuff ...
}
}
Hope this helps,
Scott
-Original Message-
From: Steve A Drake [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 9:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Extending struts classes
On Wed, 11 Apr 2001 [EMAIL PROTEC
I was interested in the same issue and did not find a good solution, so
I submitted a bug report:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1289
It does make sense for an ActionForm to have access to the context: not
just the session, but also request, response, servlet context and
4 matches
Mail list logo