cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Reyes" <rich...@voxsant.com>
Subject Re: SunRise - Valid User Data
Date Wed, 25 Sep 2002 20:26:39 GMT
Hi Guys / Carsten,

I still cant get the data on the foo-resource.xml...

Here's my sub-sitemap...

   <map:components>

        <map:generators default="file"></map:generators>
        
        <map:transformers default="xslt">
            <map:transformer name="sunShine" src="org.apache.cocoon.sunshine.transformation.SunShineTransformer"/>
        </map:transformers>
        .
        .
        .        
        <map:actions>
            <map:action name="sunRise-login" src="org.apache.cocoon.sunshine.sunrise.acting.LoginAction"/>
        </map:actions>
    </map:components>
    <!-- =========================== Pipelines ================================= -->
    <map:pipelines>
        <map:pipeline>
            <map:match pattern="foo-protected">
                <map:act type="sunRise-auth">
                    <map:parameter name="handler" value="foo-handler"/>
                    <map:generate src="foo-resource.xml"/>
                    <map:transform type="sunShine" />
                </map:act>
                <map:serialize type="xml" />
            </map:match>

and  heres my foo-resource.xml


        <?xml version="1.0" ?>

        <document xmlns:session="http://cocoon.apache.org/session/1.0" >
            <message> YOU ARE LOGGED!!!</message>
            <session:getxml context="authentication" path="/authentication/ID" />
        </document> 


I am not having any error its jujst that the session:getxml is not even changed. The output
is thesame as my foo-resource.xml.
I dont think that there is a authentication context. 

Any Ideas?

Thanks

Richard
Mime
View raw message