Hi Barbara, extending ComposerAction is correct, maybe you should take a look into your cocoon/Web-Inf/logs/error.log to check where exactly the null pointer exception occurs. Perhaps something else is wrong inside your action code. Sorry, I'm not familiar with sunrise.
-----Ursprüngliche Nachricht----- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 11:18 An: [EMAIL PROTECTED] Betreff: Action and sunRise context(s) [was : Re: trouble passing a parameter to my action ] Hi Elmar, yes I did so. Got NullPointerException. I extended ComposerAction, am I wrong with that ? Have another question now : how can my action put something in a sunrise context ("mycontext"), or else will use parameter associated with redirect-to :-/ Thanks, gotta dig for it. Barbara ----- Original Message ----- From: Sternath Elmar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 10:41 AM Subject: AW: trouble passing a parameter to my action Are you sure that you put your mydate param into a HashMap and that you also return this HashMap inside your act method. If you don't return at least an empty HashMap, nothing will be done inside the action tags. Your pipeline entries seem to be correct, it should work with {1}. Regards, Elmar -----Ursprüngliche Nachricht----- --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>