cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: generator parameter
Date Mon, 07 May 2001 11:45:05 GMT
> > Are generator parameters accessible from
> > within the xsp page?
> >
> >    <map:match pattern="test.html">
> >     <map:act type="lang-select">
> >      <map:generate type="serverpages" src="test.xsp">
> >       <parameter name="lang" value="{lang}"/>
> >      </map:generate>
> >     </map:act>
> >     <map:transform src="stylesheets/page/simple-page2html.xsl"/>
> >     <map:serialize type="html"/>
> >    </map:match>
>
> In fact this is the approach to go.

But how can I access the parameter "lang" within the XSP
page?

> > Or should I get the lang from the session directly?
>
> The LangGetter action already examines the session (if one exists).

I know to access it via session... but not via generator parameters
--
Torsten


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


Mime
View raw message