I will try with value="{request-param:concat(servername,'\',name)}".
But I think I have a problem getting parameter "servername". I don't
know why, I just added this input in the login.xml
...
<field name="name" type="text" length="24" description="Name"/>
<field name="password"    type="password" length="10"
description="Password"/>
<field name="servername" type="text" length="24" value="CORPROOT"
description="LDAP Domain"/>
...
The output seems correct :
...
<form ...>
<input type="text" name="name".../>
<input type="password" name="password".../>
<input type="text" name="servername".../>
</form>
...

I remarked it because in the sunrise-user.xsl I wrote :
<xsl:param name="password"/>
<xsl:param name="name"/>
<xsl:param name="servername"/>
and then
<test><xsl:value-of select="$servername"/></test> <--returns nothing
<test2><xsl:value-of select="$name"/></test2> <--returns the right name



-----Original Message-----
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2003 10:07 AM
To: [EMAIL PROTECTED]
Subject: Re: concat in sitemap?


Try this one:
<map:parameter name="rootdn"
value="{request-param:concat(serverurl, '\', name)}}"/>

Take a look at the Input Modules samples at
http://localhost:8888/cocoon/samples/modules . There are several
examples of
XPath usage with input modules in the sitemap.

Regards,
  Konstantin

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 11:20
Subject: concat in sitemap?


Hello,
I wrote a little time ago because I had problems with my parameters in
the sitemap. I thought maybe I had to do like in XSL with a concat
function or something like that?
That's what I want to get :
<map:parameter name="rootdn"
value="{request-param:serverurl}\{request-param:name}"/>
But this way it doesn't work.

Please help!!!
Thanks

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to