cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Bech <tb...@polbox.com>
Subject request: or random: or any other InputModule doesn't work
Date Fri, 12 Sep 2003 12:42:12 GMT
Hi all,
My sitemap is:
         <map:match pattern="test">
               <map:parameter name="use-request-parameters" value="true"/>
                <map:redirect-to 
uri="test{random:min}{URI:par1}{request:par1}.html"/>
         </map:match>
And cocoon.xconf (filtered):
   <input-modules logger="core.modules.input">
      <component-instance 
class="org.apache.cocoon.components.modules.input.RequestParameterModule" 
name="request"/>
      <component-instance 
class="org.apache.cocoon.components.modules.input.RequestURIModule" 
name="URI"/>
      <component-instance 
class="org.apache.cocoon.components.modules.input.RandomNumberModule" 
name="random"/>
   </input-modules>

and I call:
..../test?par1=test123
None of the input is processed and the result is test.html. Don't know 
real syntax of random and URI but at least 'request' should work.
(Cocoon 2.0.3, original configuration from distribution).
What is wrong?
   Tomasz


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


Mime
View raw message