cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject RE: combine values and variables for parameters in the sitemap
Date Wed, 11 Jun 2003 12:55:19 GMT
but they are not xsl parameter, sorry if I wasn't precise enough :

<map:transform type="ldap"> 
 <map:parameter name="rootdn"  value="corproot\{request-param:name}"/>
 <map:parameter name="password"  value="{request-param:password}"/> 
 <map:parameter name="filter"
</map:transform> 
			
-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
Sent: Wednesday, June 11, 2003 2:52 PM
To: cocoon-users@xml.apache.org
Subject: Re: combine values and variables for parameters in the sitemap


Doy ou have declared 3 top level <xsl:param> in your stylesheet?

<xsl:param name="rootdn" select="''"/>
<xsl:param name="password" select="''"/>
<xsl:param name="filter" select="''"/>

Joerg


Maxime.Gheysen@swisscom.com wrote:
> I don't know why, but it doesn't work with all tags, I have these
three
> parameters: 
> 
> <map:parameter name="rootdn"  value="corproot\{request-param:name}"/>
> <map:parameter name="password"  value="{request-param:password}"/> 
> <map:parameter name="filter"
> value="(&amp;(objectclass=User)(cn={request-param:name}))"/>
> 
> But only the password works, rootdn and filter doesn't work...  I
> checked the form, and the parameter use to be the same!:
> 
> <tr>
>  <td>User:</td>
>  <td><input name="name" type="text" size="15"></td>
> </tr>
> <tr>
>  <td>Password:</td>
>  <td><input name="password" type="password" size="15"></td>
> </tr>
> 
> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de] 
> Sent: Wednesday, June 11, 2003 1:57 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: combine values and variables for parameters in the
sitemap
> 
> 
> On 11.Jun.2003 -- 01:52 PM, Maxime.Gheysen@swisscom.com wrote:
> 
>>is it possible to combine values and variables for parameters in the
>>sitemap like :
>>
>><map:parameter name="UserName"
> 
> value="corproot\{request-param:name}"/>
> 
>>for eg -> output : "corproot\maxime"
> 
> 
> Yes.
> 
> 	Chris.

-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


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