public Map act (Redirector redirector_, SourceResolver resolver_, Map objectModel_, String source_, Parameters params_) { String param = params_.getParameter("param", "a-default-value");
etc. Judith > -----Ursprüngliche Nachricht----- > Von: Barbara Post [SMTP:[EMAIL PROTECTED]] > Gesendet am: Mittwoch, 24. Juli 2002 18:48 > An: [EMAIL PROTECTED] > Betreff: passing a parameter from sitemap to action > > Sorry for the newbie question, but I'm getting tired and it's getting late > here. > > > I use : > > <map:match pattern="mytest/*"> > <map:act type="setmydate"> > <map:parameter name="lang" value="{1}"/> > ... > > but what's the code in the action class to get the parameter ? > > Thanks. > > Babs > > > > --------------------------------------------------------------------- > 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]>