cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Kahrer <g...@gmx.at>
Subject getting attributes out of portal context
Date Wed, 22 Jan 2003 13:41:52 GMT
Hi,

does anybody know how (under which key) attributes are stored in the portal
context.

I have following scenario:

I have a configurable coplet with a configuration parameter "uri". 
I know that this parameter is stored in the portal context. Now i want to
read this parameter in an action.

I thought i could get it with "ctx.getAttribute("uri")", but that did not
work.

The portal context, i think, is an instance of class "SimpleSessionContext"
and 
unfortunately this class does not provide a method like
"getAttributeNames()".

thx 
Gerald


-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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