I am working with Cocoon but I have some problems with sitemap variables
scope. It seems that Sitemap Parameters propagated from db-authenticator
actions are not inherited into selectors or other db-authenticator
actions. Please look at this code and the scope of myvar_dbvars1
(propagated by db-authenticator action) to the session and Sitemap:

<map:act type="db-authenticator">
        <map:parameter name="descriptor" value="dbvars1.xml"/>
        <map:select type="session">
        <map:parameter name="state-key" value="myvar_dbvars1"/>

                <map:when test="customer">
                        <map:act type="db-authenticator">
                                <map:parameter name="create-session"
value="no"/>
                                <map:parameter name="descriptor"
value="dbvars2.xml"/>
                                <map:redirect-to uri="{myvar_dbvars1}"/>
                        </map:act>
                                        
                        <map:act type="session-invalidator">
                                <map:redirect-to uri="login"/>
                        </map:act>
        </map:when>
                                                        
                <map:otherwise>
                        <map:redirect-to uri="{myvar_dbvars1}"/>
                </map:otherwise>
        </map:select>
</map:act>

Then, my questions:
1) is it possibile to propagate Sitemap parameters into child elements
of sitemap?
2) is it possibile to check and propagate session attributes to Sitemap
without deleting an existing session?

Thanx!

ByeBye,
Paolo Scaffardi
AIRVENT SAM S.p.A.


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

Reply via email to