cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Agler" <ryanag...@hotmail.com>
Subject RE: Passing parameters to action-set
Date Wed, 09 Oct 2002 07:14:08 GMT
Try {../process} instead of {process}

-----Original Message-----
From: Robin Wyles [mailto:rob@robinwyles.com] 
Sent: Wednesday, October 09, 2002 3:04 AM
To: cocoon-users@xml.apache.org
Subject: Passing parameters to action-set

Hi All,

Apologies if this has been answered before, I can't find it in the
archives...

I am trying to pass a parameter to an action set, but I cannot seem to
get
this to work. Should this be possible at all?

Here are some snippets from my sitemap:

[...]
<map:action-set name="nodePage">
   <map:act type="navigation">
      <map:parameter name="action" value="set" />
      <map:parameter name="nextPage" value="{process}" />
      <map:parameter name="onError" value="{process}" />
   </map:act>
</map:action-set>
[...]

<map:match pattern="home**">
    <map:act type="security">
        <map:parameter name="action" value="isLoggedOn" />
        <map:act set="nodePage">
            <map:parameter name="process" value="home" />
        </map:act>
        <map:generate type="file" src="docs/home.xml" />
        <map:call resource="XHTML" />
    </map:act>
</map:match>

[...]

Thanks in advance,

Robin Wyles


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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