cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject Action and sunRise context(s) [was : Re: trouble passing a parameter to my action ]
Date Thu, 25 Jul 2002 09:18:15 GMT
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 <Elmar.Sternath@icn.siemens.de>
To: <cocoon-users@xml.apache.org>
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message