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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to