Hi,

there is no functionality to get the list of available session contexts.
The current philosophie is that you as the developer have to know
them, because you have to explicitly create a session context with
<sesssion:createcontext name="xyz"/>.
But if you need this functionality, send a patch ;)

In addition the three contexts request, response and temp are always
available.

Carsten 

Carsten Ziegeler     Chief Architect     Open Source Group, S&N AG
------------------------------------------------------------------
             Cocoon Consulting, Training and Projects
------------------------------------------------------------------
mailto:[EMAIL PROTECTED]                  http://www.s-und-n.de
                    http://ziegeler.bei.t-online.de


> -----Original Message-----
> From: Ramy Mamdouh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 7:24 PM
> To: [EMAIL PROTECTED]
> Subject: Session Contexts : How to know if a context has been created or
> not?
> 
> 
> Hallo,
> 
> I'm wondering if there is any way to know if a context in the session 
> has been created or not?
> When I try to access a context that has not been created yet, like using 
> <session:getxml>,  I get an error from the session transformer, so I 
> must know first if the context is there or not.
> 
> Thanks in advance.
> 
> -- 
> Ramy Mamdouh Kamel
> Software Engineer
> Ute Imkenberg
> [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

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

Reply via email to