cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject FW: <xsp:attribute> for <xsp-request:get-parameter>
Date Fri, 07 Mar 2003 10:06:23 GMT
Ok, I see.
But with
<xsp-request:get-parameter><name>paraname<xsp:expr>mycount</xsp:expr></n
ame>
</xsp-request:get-parameter> I still get a
"java.lang.NullPointerException"

I tried to simplify the line like this :
<xsp-request:get-parameter><name>paraname1</name></xsp-request:get-param
eter> but it don't work. And if I replace it with
<xsp-request:get-parameter name="paraname1"/> it works

-----Original Message-----
From: Marco Rolappe [mailto:m_rolappe@web.de] 
Sent: Friday, March 07, 2003 10:06 AM
To: cocoon-users@xml.apache.org
Subject: AW: <xsp:attribute> for <xsp-request:get-parameter>


the <xsp:attribute> on the <xsp-request:get-parameter> is not possible;
it's translated to java code and first executed when generation starts,
i.e. when the <xsp-request:get-parameter> has already been translated.

but you should be able to use following:

<xsp-request:get-parameter><name>paraname<xsp:expr>mycount</xsp:expr></n
ame>
</xsp-request:get-parameter>

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