I have found the problem. The <ldap:authentification> tag is obligatory
in case of setting both rootdn & password as parameter in the sitemap. 
If rootdn is in the ldap.xml <ldap:authentification> is not needed (in
my case it was missing, so the ldap query didn't use the rootdn & passwd
parameters and returned an authentification error)



-----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]

Reply via email to