cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: context
Date Tue, 07 May 2002 22:08:33 GMT
> From: Leszek Gawron [mailto:ouzo@kompuart.pl]
> 
> Hi,
> how can I set context related to sitemap ? I mean in main sitemap.xmap
file I
> have :
> <map:match pattern="ouzo/**">
> <map:mount uri-prefix="ouzo" src="ouzo/" check-reload="yes" reload-
> method="synchron"/>
> </map:match>
> 
> in mounted subsitemap I have:
> <map:match pattern="login">
> 	<map:act type="form-validator">
> 		<map:parameter name="descriptor"
> 			value="context://ouzo/descriptors/login.xml"/>

 			value="descriptors/login.xml"/>


> 		<map:parameter name="validate-set" value="login-info"/>
> 		<map:act type="db-authenticator">
> 			<map:parameter name="descriptor"
>
value="context://ouzo/descriptors/logindb.xml"/>

				value="descriptors/logindb.xml"/>


> 			<map:redirect-to uri="protected/forms/main"/>
> 		</map:act>
> 		<map:generate type="serverpages" src="docs/login.xsp"/>
> 		<map:transform src="stylesheets/page2html.xsl"/>
> 		<map:serialize/>
> 	</map:act>
> <map:generate type="serverpages" src="docs/login.xsp"/>
> <map:transform src="stylesheets/page2html.xsl"/>
> <map:serialize/>
> </map:match>
> 
> the thing is I do not want to use absolute context ( i.e.
> context://ouzo/descriptors/login.xml) but the one related to
subsitemap so
> descriptors/login.xml
> 
> how can I do it ? I still do not completely understand all cocoon
protocols

See above.

Vadim

> 
> thanks for help
> 	ouzo
> --
> ------------------------------------------------------ ouzo@vip.net.pl
> Leszek Gawron                                            ICQ# 19681190
> Software development & SE consulting         Mobile +48 (608) 23 74 55


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message