You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Tsui, Alban" <Al...@COGNOS.com> on 2003/10/23 12:33:55 UTC

how to mount subsitemap based on request parameters?

hi

I am having an url something like:

http://server/cocoon?p1=x&p2=y&p3=z

How do I define a pipeline in my main sitemap to determine which subsite map
it should go to depending on the first parameter p1 and then passing all
request parameters onto the subsitemap for handling?

For example:

		<map:match pattern="p1=*">
			<map:mount uri-prefix="" src="{1}/"
check-reload="yes"/>
		</map:match>

I know the above won't work but I am just trying to demonstratte my
requirement.

Any help would be appreciated and I am using cocoon2.0.3.

Cheers
Alban

Join us at Cognos' biggest event of the year Enterprise 2003, The Cognos
Business Forum.  Taking place in over 25 cities around the world, it's an
opportunity for Business and IT leaders to learn about strategies for
driving performance. Visit http://www.cognos.com/enterprise03 for more
details. 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Re: how to mount subsitemap based on request parameters?

Posted by go...@osmosis.gr.
is this what r u looking for ?

http://wiki.cocoondev.org/Wiki.jsp?page=WildcardRequestParameterMatcher


-- stavros 


On Thu, 23 Oct 2003, Tsui, Alban wrote:

> hi
> 
> I am having an url something like:
> 
> http://server/cocoon?p1=x&p2=y&p3=z
> 
> How do I define a pipeline in my main sitemap to determine which subsite map
> it should go to depending on the first parameter p1 and then passing all
> request parameters onto the subsitemap for handling?
> 
> For example:
> 
> 		<map:match pattern="p1=*">
> 			<map:mount uri-prefix="" src="{1}/"
> check-reload="yes"/>
> 		</map:match>
> 
> I know the above won't work but I am just trying to demonstratte my
> requirement.
> 
> Any help would be appreciated and I am using cocoon2.0.3.
> 
> Cheers
> Alban
> 
> Join us at Cognos' biggest event of the year Enterprise 2003, The Cognos
> Business Forum.  Taking place in over 25 cities around the world, it's an
> opportunity for Business and IT leaders to learn about strategies for
> driving performance. Visit http://www.cognos.com/enterprise03 for more
> details. 
> 
> This message may contain privileged and/or confidential information.  If you
> have received this e-mail in error or are not the intended recipient, you
> may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and notify the sender
> promptly by e-mail that you have done so.  Thank you.
> 


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