cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <h...@fiz-chemie.de>
Subject Re: obtaining Servername and Port in Sitemap
Date Wed, 04 Feb 2004 13:22:01 GMT
"Derek Hohls" <DHohls@csir.co.za> writes:

> Thanks Reinhard
> 
> The cocoon.xconf on the sitemap running Cocoon 2.0.4 shows:
> 
> 
>    <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.RequestAttributeModule"
name="attribute"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.RequestURIModule"
name="URI"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.HeaderAttributeModule"
name="header"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.SessionAttributeModule"
name="session"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.StringConstantModule"
name="constant"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.RandomNumberModule"
name="random"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.CollectionMetaModule"
name="collection"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.DigestMetaModule"
name="digest"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.DateInputModule"
name="date"/>
>       <component-instance class="org.apache.cocoon.components.modules.input.NullInputModule"
name="nullinput"/>
>    </input-modules>
> 
> I *assume* this means they are present.  Nonetheless, an 
> app which is working in Cocoon 2.1.x (on my machine) does
> not work on the older 2.0 version on the server.... i.e.
> all the  {request:xxx} return null values.... ?
>

The RequestParameterModule is not the same as the RequestModule.
IIRC {request:} was mapped to RequestParameterModule in cocoon 2.0,but to
RequestModule in cocoon 2.1. Not sure, when exactly this changed.

Martin 

 


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


Mime
View raw message