cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: having a session data as parameters
Date Thu, 07 Apr 2005 04:34:22 GMT
Hi fadi:

Give a look at input modules samples, they can help you to retrieve this
info in the sitemap and then use <xsl:param> to use them inside the XSL.

Best Regards,

Antonio Gallardo.

On Mie, 6 de Abril de 2005, 8:58, fadi qutaishat dijo:
>
> Hi all,
>
>
>
> Is it possible to take the session data and put them inside a parameters
> tags
>
> Is it possible to do something like:
>
>
>
> <?xml version="1.0"?>
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:session="http://apache.org/cocoon/session/1.0">
>
>
>
> <xsl:param name="id">
>
> <session:getxml context="authentication" path="/authentication/ID"/>
>
> </xsl:param>
>
>
>
> <xsl:param name="name">
>
> <session:getxml context="authentication"
> path="/authentication/data/name"/>
>
> </xsl:param>
>
>
>
> <xsl:template match="/">
>
>
>
> <html>
>
> <body>
>
>
>
> ...
>
>
>
> <a href="continue?id={id}&amp;name={name}">Next</a> <!-- this would
call
> another pipeline with these parameters
>
> -->
>
>
>
> ...
>
> ...
>
>
>
> I have tried this but it seems that the parameters tags are ignored.
>
>
>
> Any help?
>
>
>
> Regards,
>
> Fadi
>
>
>
>
> ---------------------------------
> Yahoo! Messenger
>  Show us what our next emoticon should look like. Join the fun.


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


Mime
View raw message