haul 2003/01/31 08:00:00 Modified: src/blocks/authentication-fw/samples sitemap.xmap Log: sample cosmetics Revision Changes Path 1.3 +17 -5 xml-cocoon2/src/blocks/authentication-fw/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/authentication-fw/samples/sitemap.xmap,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemap.xmap 20 Oct 2002 12:25:44 -0000 1.2 +++ sitemap.xmap 31 Jan 2003 16:00:00 -0000 1.3 @@ -38,15 +38,21 @@ <!-- Simple login page --> <!-- ================= --> <map:match pattern="login"> - <!-- if we are already logged in, redirect to the protected document --> + <!-- if we are already logged in, redirect to the protected document --> <map:act type="auth-loggedIn"> <map:parameter name="handler" value="demohandler"/> <map:redirect-to uri="protected"/> </map:act> - <map:generate src="docs/login.xml"/> - <map:transform src="stylesheets/simple-page2html.xsl"/> + <map:generate src="docs/login.xml"/> + <map:transform src="context://samples/stylesheets/page/simple-page2html.xsl"> + <map:parameter name="servletPath" value="{request:servletPath}"/> + <map:parameter name="sitemapURI" value="{request:sitemapURI}"/> + <map:parameter name="contextPath" value="{request:contextPath}"/> + <map:parameter name="file" value="docs/login.xml"/> + <map:parameter name="remove" value="{0}"/> + </map:transform> <map:transform type="encodeURL"/> - <map:serialize/> + <map:serialize/> </map:match> <!-- ========================================= --> @@ -71,7 +77,13 @@ <map:parameter name="handler" value="demohandler"/> <map:generate src="docs/protected.xml"/> - <map:transform src="stylesheets/simple-page2html.xsl"/> + <map:transform src="context://samples/stylesheets/page/simple-page2html.xsl"> + <map:parameter name="servletPath" value="{request:servletPath}"/> + <map:parameter name="sitemapURI" value="{request:sitemapURI}"/> + <map:parameter name="contextPath" value="{request:contextPath}"/> + <map:parameter name="file" value="docs/protected.xml"/> + <map:parameter name="remove" value="{../0}"/> + </map:transform> <map:transform type="encodeURL"/> <map:serialize/> </map:act>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]