You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Hubert NEOtyk Iwaniuk <hu...@office.ferienwelt.com.pl> on 2001/08/21 13:15:40 UTC
[c1] created node not processed by logicsheet
hi all,
in my <xsp:logic> i have created my class witch implements XMLFragment
and function witch based on request parameters creates my xml fragment.
i use this function in <xsp:expr>. this function has argument based on
request parameter
lets say "id". so in my <page> i have
<xsp:logic>
String rId = request.getParameter ("id");
</xsp:logic>
and in xml i use <xsp:expr>foo (rId)</xsp:expr>.
but it gives nothing, well not exacly,
i turned off xslt poricessing so i could get xml.
and output has unprocessed by logicsheet mark.
where is error, an how fix it?
all i want is to process requests based on reqest parameters.
thanks in advance,
hubert.
---
Ausgehende Mail ist zertifiziert virenfrei.
Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.265 / Virendatenbank: 137 - Erstellungsdatum: 2001-07-18
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Session Parameters in Stylesheets
Posted by Vadim Gritsenko <vg...@hns.com>.
Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.
Vadim
> -----Original Message-----
> From: logica [mailto:millerm@logica.com]
> Sent: Thursday, August 23, 2001 1:09 PM
> To: cocoon-users@xml.apache.org
> Subject: Session Parameters in Stylesheets
>
>
> How do I access a session parameter from a stylesheet? I know how to get a
> request parameter:
>
> 1. set
>
> <use-request-parameters>true</use-request-parameters>
>
>
> 2. and use something like this in the stylesheet:
>
> <xsl:param name="messageid">0</xsl:param>
> ...
>
> <xsl:template match="mmsc:message[@id=$messageid]">
> ...
>
> How can I do the same, but get session parameters instead?
>
>
> Thanks
>
> Mark Miller
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Session Parameters in Stylesheets
Posted by logica <mi...@logica.com>.
How do I access a session parameter from a stylesheet? I know how to get a
request parameter:
1. set
<use-request-parameters>true</use-request-parameters>
2. and use something like this in the stylesheet:
<xsl:param name="messageid">0</xsl:param>
...
<xsl:template match="mmsc:message[@id=$messageid]">
...
How can I do the same, but get session parameters instead?
Thanks
Mark Miller
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
/login;jsessionid=....
Posted by logica <mi...@logica.com>.
How come the jsessionid tag appears sometimes, and other times not. I have
cookies turned on.
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>