Hi Carsten,

I am getting an error that the context "authentication" does not exist....

this is my xml now...

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

and this is sitemap entries...

=========================================
            <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:transform src = "foo-resource.xsl"/>
                <map:serialize />
                -->
                <map:serialize type="xml" />

            </map:match>

            <map:match pattern="foo-authuser">
                <map:generate src="foo-user.xml" />
                <map:transform src="foo-user.xsl">
                    <map:parameter name="use-request-parameters"
value="true" />
                </map:transform>
                <map:serialize type = "xml" />
            </map:match>
=========================================

question: after the <map:match pattern="foo-authuser">, will there be sax
streams coming from foo-user.xml/xsl, then after it was serialized will go
the the ...
<map:parameter name="handler" value="foo-handler"/>
<map:generate src="foo-resource.xml"/>
???

Thanks Carsten!!!


----------------------------------------------------------------------------
------------



----- Original Message -----
From: "Carsten Ziegeler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 11:46 PM
Subject: RE: SunRise - Valid User Data


> Hi Richard,
>
> the namespace for the sunShine transformer is:
> http://cocoon.apache.org/sunshine/1.0
>
> Have a look at
>
> http://xml.apache.org/cocoon/developing/webapps/sunshine.html
>
> Carsten
>
> -----Original Message-----
> From: Richard Reyes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 10:27 PM
> To: C2 Users
> Subject: Re: SunRise - Valid User Data
>
>
> 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
>
>
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>



---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to