Re: [Actionframework-users] Passing objects from request to another...
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-07-14 10:39:01
|
> However this seems a bit messy. Do you think we need to add more > funtionality to the framework? Perhaps we could have > <session-output-variables> that place things into the session and > then when looking for parameters for a method the framework would not > only look for parameters in the request but the session aswell? Great! I believe this has much to do with David's suggestion (http://dione.zcu.cz/pipermail/as-list/2002-March/000014.html). I've been looking for a way to implement this consistently, but I think YOU have made it! :) I would only introduce a new optional attribute for <in/output-variable> rather than a new element: <output-variable name="number1" value="1" scope="session"/> <output-variable name="number2" value="2" scope="request"/> <input-variable name="number3" value="3" scope="session"/> <input-variable name="number4" value="4"/> This would put number1 and number3 into Context AND session, while number2 and number 4 into Context only. When retrieving values, AS would look first into session and then into Context. -Petr -- >>> http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 <<< |