cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject [SUMMARY] RE: combine values and variables for parameters in the sitemap
Date Thu, 12 Jun 2003 12:13:40 GMT
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:haul@dvs1.informatik.tu-darmstadt.de] 
Sent: Wednesday, June 11, 2003 5:20 PM
To: cocoon-users@xml.apache.org
Subject: Re: combine values and variables for parameters in the sitemap


On 11.Jun.2003 -- 03:36 PM, Maxime.Gheysen@swisscom.com 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
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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


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


Mime
View raw message