cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <>
Subject map parameter wildcard
Date Wed, 13 Dec 2006 06:47:37 GMT

I've a sitemap

      <map:match pattern="protected-*">
        <map:act type="auth-protect">
          <map:parameter name="handler" value="demohandler"/>

          <map:generate src="cocoon:raw:/{1}.content"/>
          <map:transform type="session"/>
          <map:transform src="page2chtml.xsl"/>
          <map:transform type="encodeURL"/>
          <map:serialize type="chtml"/>

        <!-- something was wrong, redirect to login page -->
        <map:redirect-to uri="login"/>

when I submit a url protected-1 to this, {1} can't get the 1, what's wrong.


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

View raw message