Add a object : ActionContext.getContext().getValueStack().push(myObject) Read a value : ActionContext.getContext().getValueStack().findValue("myProperty") -> return myObject.myProperty To get the object on the top of the stack, peek() or pop() can be useful. Cheers. Richard.
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Patrick Holzmann Envoyé : vendredi 28 novembre 2003 09:52 À : [EMAIL PROTECTED] Objet : [OS-webwork] Howto Put / Read Values in valueStack Hi, can somebody give me a short hint on how I can set (add) a value in the value stack from an action and how I could read it from anonther action? regards Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork