cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Luis Carmona <jlcarm...@integromics.com>
Subject Flowscript parameters access
Date Thu, 05 Mar 2009 17:28:36 GMT
Hi all,

I'm building a generator Who will be invoked from a flowscript Who pass 
a JSONObject. I want to access to this JSONObject from the generator but 
i don't know how to do that.

In my flowscript I use

cocoon.sendPage("foo", JSONObject);


In my sitemap

<map:match pattern="foo">
    <map:generate type="fooGenerator"/>
    <map:transform type="xmldb"/>
    <map:serialize type="xml"/>
</map:match>


I think I have to access to the JSONObject from the method "configure" 
inside my "fooGenerator".

Could You help me?

Thanks a lot,
Jose.

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


Mime
View raw message