From: "Carsten Ziegeler" <[EMAIL PROTECTED]>

Sonny Sukumar wrote:
> >Now, a session context is an XML document stored in the session. With the
> >session transformer (see below) you can fetch xml data out of such a
> >context and store data in it.
>
> Oh ok, so a session context is a session attribute that happens
> to be an XML
> doc. But of what class type is this XML doc? Just curious...
>
It's an internal class ;) (which uses a DOM tree)

Ok, so I assume I don't have to know about it then. :-)




> > > > > 3.) The doc furthermore has this line in it: > > > > > > <session:getxml context="authentication" path="/authentication/ID"/> > > > > > > So I assume <session:getxml ..../> is a logichsheet call, but > > > I've only seen > > > a logicsheet called xsp-session that provides an interface to > a Session > > > instance. And I don't see any "getxml" element for that logicsheet. > > > > >This is not a logicsheet but a transformer, so you can use this > transformer > >in your cocoon pipeline to set/get data to/from a session context, like > >the authentcation session context in the example above. > > Hmm, I thought if it's a transformer it should be called like > "<map:transform type="..." .../> > > Why isn't this the case? > It is the case, too. Your call is in the sitemap where you define the pipeline and the <session:getxml...> is in the xml stream flowing through the transformer. It's the signal for the session transformer to do something.

Ahh, ok, I get what you're saying. I'll try to install 2.1 and play with the authentication framework a bit and then come back with some more questions, if I think of any (I'm sure I will ;-).


Sonny


Carsten



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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Reply via email to