Hi all,

I need to write my own action and will use xsp for it. how can I use the
parameters that were set within the sitemap? For example:


My sitemap:

<map:match pattern="test">
        <map:act src="xsp/test.act" type="serverpages">
                <map:parameter name="testparameter" value="testvalue"/>
        </map:act>
</map:match>


My xsp page:

<xsp:page version="1.0" language="java"
        xmlns:xsp="http://apache.org/xsp";
        xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="true"
        xmlns:xsp-request="http://apache.org/xsp/request/2.0";
        xmlns:xsp-action="http://apache.org/cocoon/action/1.0";>

        <page>
                <xsp-action:set-success/>
                <xsp-session:set-attribute name="test">
                        ** HERE I NEED THE VALUE OF "testparameter" SET WITHIN THE 
SITEMAP **
                </xsp-session:set-attribute>
        </matrix:sendmail>
</xsp:page>


Can somebody give me a tip?

Thanx, Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to