cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Colombo" <mtco...@inwind.it>
Subject Using auth taglib
Date Mon, 11 Jun 2001 17:15:32 GMT
Hi,
I'm using auth taglib (http://ulim.cocoonhost.com).
I've a problem to submit you. After authentication I go to reserved.xml that
makes a query, it get two value and put those in the session (with the names
auth:group and auth:role), now I'm trying to retrieve those two in
reserved.xsl (that is a filter applied to reserved.xml) in this way:

<?xml-logicsheet href="../auth.xsp.xsl"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:auth="http://ulim.cocoonhost.com/auth"
xmlns:esql="http://apache.org/cocoon/SQL/v2">
<xsl:variable name="role">
   <auth:var name="auth:role"/>
  </xsl:variable>
  <xsl:variable name="group">
   <auth:var name="auth:group"/>
</xsl:variable>

  but "$role" e "$group" are empty!!!.
I checked the session, auth:role and auth:group had the right values!!!
What's it wrong? Can I call session parameters from an XSL file?
Please help me

Ciao Matteo







---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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