You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steinar Jonsson <sj...@online.no> on 2007/04/02 17:56:58 UTC

Re: cocoon.context.setAttribute equivalent

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