cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@s-und-n.de>
Subject RE: SunRise - Valid User Data
Date Wed, 25 Sep 2002 07:53:59 GMT
Richard,

from the documentation:

>>
<sunshine:getxml context="sunRise" path="/authentication/ID"/> <!-- Get the
ID -->
<sunshine:getxml context="sunRise" path="/authentication/data/username"/>
<<

Note the "R" in sunRise.

Matthew


-----Original Message-----
From: Richard Reyes [mailto:richard@voxsant.com]
Sent: Thursday, September 26, 2002 12:44 AM
To: cocoon-users@xml.apache.org
Subject: Re: SunRise - Valid User Data


Hi Carsten,

ah,

changed it to...

<?xml version="1.0" ?>

<document xmlns:session="http://cocoon.apache.org/sunshine/1.0" >
    <message>
        YOU ARE LOGGED!!!
    </message>

    <session:getxml context="sunrise" path="/authentication/ID" />

</document>

and i got an error that the context sunrise does not exist......

i still am doing some reading on the url that you gave me.

THANKS

----- Original Message -----
From: "Carsten Ziegeler" <cziegeler@s-und-n.de>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, September 25, 2002 12:39 AM
Subject: RE: SunRise - Valid User Data


>
>
> > -----Original Message-----
> > From: Richard Reyes [mailto:richard@voxsant.com]
> > Sent: Thursday, September 26, 2002 12:06 AM
> > To: cocoon-users@xml.apache.org
> > Subject: Re: SunRise - Valid User Data
> >
> >
> >
> > 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>
> > =========================================
> >
> Ehm, you invoke getxml with context="response". For Cocoon 2.0.x the
> context name is "sunrise"! See
>
> http://xml.apache.org/cocoon/developing/webapps/sunrise.html
>
>
> HTH
> Carsten
>
>
> ---------------------------------------------------------------------
> 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>
>
>
>



---------------------------------------------------------------------
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>


---------------------------------------------------------------------
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