cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Grant" <Grant.Mil...@COGNOS.com>
Subject Bugs in Hello World action example
Date Mon, 14 Jan 2002 15:39:40 GMT
Hi,
I've been having problems getting actions to work. This turns out to be
because there are a couple of mistakes in the hello world example in the
documentation:

1) Docs say define action as follows:

<map:actions>
  <map:action name="hello-world" class="test.HelloWorldAction"/>
</map:actions>

The 'class' attribute should be 'src'.

2) The xsp example is:

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

but 'get-parameter' doesn't work. Should be 'get-attribute'.

Hope others will find this useful,

Grant

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

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