as you were probably already told: actions are executed at pipeline assembly time, i.e. before the pipeline processing (including your transformer) starts.
> -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von Lionel Crine > Gesendet: Donnerstag, 13. Marz 2003 16:02 > An: [EMAIL PROTECTED] > Betreff: empty session attribute ? > > > I have a Transformer which store an object into the session and thean > Action, but the Action only get the name of the attribute, why ? > > Here is my action code : > public class MyAction extends AbstractAction implements ThreadSafe > { > public Map act (Redirector redirector, SourceResolver resolver, Map > objectModel, String src, > Parameters parameters) throws Exception { > Request req = ObjectModelHelper.getRequest(objectModel); > if (req == null) { > getLogger ().debug ("No request object"); > return null; > } > > /* check session validity */ > Session session = req.getSession (); > if (session == null) { > getLogger ().debug ("No session object"); > return null; > } else { > > System.err.println("Session is on"); > proprietary_Object res = > (proprietary_Object)session.getAttribute("resultspace"); ----> res is > empty, why that ? > } > return null; > } > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]