Hi Barbara, try this inside your act method:
if ("true".equalsIgnoreCase(param.getParameter("parameters", null))){ Enumeration e = request.getParameterNames(); while(e.hasMoreElements()){ String name = (String) e.nextElement(); String value = request.getParameter(name); -----Ursprüngliche Nachricht----- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet: 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]>