cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Thenot <a...@thenot.net>
Subject Re: Problem with Actions (C2)
Date Thu, 07 Feb 2002 23:15:06 GMT
On Thursday, February 7, 2002, at 04:06 , Vadim Gritsenko wrote:

> Make a change:
(snip)
>>       <map:generate type="serverpages"
> src="docs/samples/xsp/{../1}.xsp"/>
(snip)
> Note that {1} replaced with {../1}.
> It's like a path. Actions/matchers are like nodes.

Yeehaa! Thanks a lot! Now that I look back in the docs, it 
_does_ say to use {../1}. Sorry... I've been staring at that 
code all day long. :-(
   However, there's an error in that same page ("Creating and 
using actions") that took me a while to see: to get the value 
back from the action, the XSP in the example should contain:

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

instead of:

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

Now, I'm so excited that it works!
Thanks you soooo much!!!

Andre.


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