Ok, I see what you mean. But in the following case I can get the two
parameters
sitemap
========
<map:transform src="styles/sunrise-user.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
xsl
=========
<xsl:param name="password"/>
<xsl:param name="username"/>
...
<xsl:if test="normalize-space(username) = $username and
normalize-space(password) = $password">
But here I can't :
sitemap
========
<map:transform type="ldap">
<map:parameter name="rootdn"
value="corproot\{request-param:username}"/>
<map:parameter name="password" value="{request-param:password}"/>
<map:parameter name="filter"
value="(&(objectclass=User)(cn={request-param:username}))"/>
</map:transform>
-----Original Message-----
From: Christian Haul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 5:20 PM
To: [EMAIL PROTECTED]
Subject: Re: combine values and variables for parameters in the sitemap
On 11.Jun.2003 -- 03:36 PM, [EMAIL PROTECTED] wrote:
> I made a mistake, now I'm working with cocoon-2.1-dev 06.05.2003
If you build from sources, then start cocoon in jetty by running the
command "cocoon servlet" and point your browser to
http://localhost:8888/samples/xsp/java/simple for example, you see
that
<map:parameter name="file" value="xsp/{1}.xsp"/>
works (generates the link for "Source" at top right), Change it
in build/webapp/samples/xsp/sitemap.xmap e.g. to the following:
<map:parameter name="file" value="xsp/{request:scheme}.xsp"/>
and notice that the filename turns into "http.xsp". So, your problem
lies somewhere else like wrong parameter names.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]