cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wilkes <>
Subject Problem with reading parameters from sitemap in flowscript
Date Mon, 22 Sep 2003 22:58:28 GMT
Hi All,

  I'm trying to read in a parameter set in my sitemap in a flowscript:

  <map:match pattern="ldap/*" type="wildcard">
    <map:call function="displayuid">
      <map:parameter name="Uid" value="chris"/>
      <map:parameter name="Testing" value="blah"/>
    <map:generate src="documents/displayldap.jxt" type="jxt"/>
    <map:serialize type="html"/>

  function displayuid() {
    var e = cocoon.parameters;
    for ( var i in e) {
      cocoon.log.debug("MYPARAM name: '" + i +
        "' value: '" + cocoon.request.getParameter(i) + "'");

And all I'm getting in my flow debug log is:
  MYPARAM name: 'Uid' value: 'null'
  MYPARAM name: 'Testing' value: 'null'
Am I reading the flow script API docs
incorrectly?  I've tried all manner of the getParameter and can't figure
it out.

Am I missing something?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message