cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: Actions Programming
Date Wed, 01 May 2002 08:38:27 GMT
On 01.May.2002 -- 09:20 AM, Michael Mangeng wrote:

> <para>Hello <xsp-request:get-parameter name="hello"/>.</para>

>     request.setAttribute("hello", "world");

Harri is right, there is a typo in the example: The action sets a request
_attribute_ and the XSP reads a request _parameter_. Since one can not
set request parameters, you need to change the XSP:

 <para>Hello <xsp-request:get-attribute name="hello"/>.</para>

and we need to fix the docs.

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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