cocoon-users mailing list archives

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

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"/>

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

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

johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message