You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Werner Vester�s <wv...@marcello.no> on 2007/03/30 22:06:38 UTC

cocoon.context.setAttribute equivalent

What is the Java Flow equivalent of cocoon.context.setAttribute?

Regards,

Werner Vesterås
Oslo, Norway
Tel +47 452 99039


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: cocoon.context.setAttribute equivalent

Posted by Steinar Jonsson <sj...@online.no>.
On Fri, 2007-03-30 at 22:06 +0200, Werner Vesterås wrote:
> What is the Java Flow equivalent of cocoon.context.setAttribute?
> 

I think you can do something like this: 

Context context = ObjectModelHelper.getContext(getObjectModel());
context.setAttribute("key", value);

Vennlig hilsen
Steinar Jonsson
JF Software AS



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org