Eduardo Millán wrote:
Quoting Chris Picton <chrisp-LvsDHNe4pjXPKWblFCUSJw@xxxxxxxxxxxxxxxx>:
Hi all
Finally, I have had time to sort this issue out. I have attached
a
patch against 0.9.4 which forwards the session ID to the
Submission
river, allowing the form's submission target access to the session
set
by the servlet.
I am using two new methods in the Adapter (setProperty and
getProperty)
to forward the relevant map, but have not changed the Forward
method
(even though this could use the *Property methods). Since this may
be
the was the Adapter is going, I think it is a good idea.
This is becoming a common need and all of us are thinking about it.
For example, Joern decided to create the ChibaContext, which is the
proper place to interchange objects from/to the Chiba engine and I
agree with him. The EnvironmentAdapter will be deprecated, I guess.
So next step is to allow *connectors* and *connectorfactories* to
access that context, I figure out it will be from the ChibaBean. It
could be something like this:
For ChibaBean:
- getContext()
For connectorfactories:
- getProcessor().getContext()
For connectors:
- getFactory().getProcessor().getContext()
Any issues?
very well summarized. complete confirm.
Joern
Regards.
Joern/Uli/Eduardo, please feel free to incorporate this patch. I
patched against 0.9.4, as cvs is/will be undergoing large updates
on the
adapter side of things.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|