cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio Duo" <fabio....@swissonline.ch>
Subject Accessing subpipeline?
Date Mon, 02 Aug 2004 11:38:04 GMT
Hi	

I have a problem. I check with a sessionstate matcher if session is created
to protect a pipeline. Everythings works expect that i cannot access the
protected subpipeline. A recive a Resource not found error. I found nothing
on the internet how to access a subpipeline. Does sombody have a clue how i
can do this?


The Sitemap:

	<map:pipelines>
		<map:pipeline>
	
			<map:match pattern="login.html">
				<map:read mime-type="text/html"
src="portal/resources/login.htm"/>
			</map:match>
			
			<map:match pattern="login">
				<map:act type="authenticator">
					<map:parameter name="descriptor"
value="context://samples/session/portal/Descriptor/auth-def.xml" />
					<map:redirect-to uri="buildfeed"/>
				</map:act>
				<map:redirect-to uri="login.html"/>
			</map:match>
	
			<map:match type="sessionstate" pattern="*">
				<map:parameter name="attribute-name"
value="user"/>
				<map:pipelines>
					<map:pipeline>
						<map:match
pattern="buildfeed">   <----- pipeline that i want to access 
							<map:generate
src="portal/resources/getID.xsp" type="serverpages"/>
							<map:serialize
type="xml"/>
							<map:transform
src="portal/styles/getNews.xsl">
	
<map:parameter name="use-request-parameters" value="true"/>
							</map:transform>
							<map:transform
type="sql">
	
<map:parameter name="use-connection" value="feed"/>
							</map:transform>
							<map:serialize
type="xml"/>
						</map:match>
					</map:pipeline>
				</map:pipelines>	
			</map:match> .ans so on


Thanks for any answers.
Best regards
Fabio



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


Mime
View raw message