cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Herber" <>
Subject Sitemap problem using RequestParamAction
Date Mon, 09 Dec 2002 09:27:25 GMT
Hi, I have a problem using the RequestParamAction.

I have the following pipe:

<map:match pattern="*-*.html">
	<map:select type="method">
    		<map:when test="POST">
    			<map:act set="form">
				<map:parameter name="descriptor"
				<map:act set="process">
					<map:parameter name="descriptor"
					<map:act type="request">
name="parameters" value="true"/>
	<map:aggregate element="site">
		<map:part src="cocoon:/book-{1}.dxml"/>
	     	<map:part src="cocoon:/tab-{1}.xml"/>
	     	<map:part src="cocoon:/body-{1}.dxml" label="content"/>
	<map:call resource="skinit">
	      <map:parameter name="type" value="site2xhtml"/>
	      <map:parameter name="dir" value=""/>
	      <map:parameter name="resource" value="{0}"/>

In this pipe, the "problematic" row/command is the following:

I would expect from it that if I send a request to, for example,
"login-mailaddress.html", including a parameter "", the result
woul be a redirect to "login.html?".
Instead I get "login.html?}".

In my sitemap I have a similar case where I have 
<map:redirect-to uri="{../1}.sdhtml?id={{../1}.id}"/>
and in this case it works fine.
Sincerly I don't see any difference.
Could you me kindly help?

Thanks a lot.
Have a nice day.

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message