You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/07/08 14:00:05 UTC
Request-param through sunrise portal
I installed and configured the default portal with cocoon (sunrise)
In the login pipeline I added a XSP-page between the Login page
(login.xml) and the sunrise-user.xsl. Here is my pipeline :
<map:match pattern="sunrise-authuser">
<map:generate type="serverpages" src="ldap.xsp"/>
<map:transform type="ldap">
<map:parameter name="rootdn" value="{request-param:name}"/>
<map:parameter name="password"
value="{request-param:password}"/>
</map:transform>
<map:transform type="log">
<map:parameter name="logfile" value="UserList.log"/>
<map:parameter name="append" value="NO"/>
</map:transform>
<map:transform type="xslt" src="ldap.xsl"/>
<map:transform src="styles/sunrise-user.xsl">
<map:parameter name="use-request-parameters"
value="true"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
In the surise-user.xsl I have the following code and this parameter
works fine.
<xsl:param name="name"/>
But in But in my XSP page I cannot request the "name" field from
login.xml. The code is :
<xsp:logic>
String myUser = request.getParameter("name");
</xsp:logic>
thanks for any help.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org