I am trying to do some dynamic aggregation, but without success so far.

Unfortunately, <map:aggregate> doesn't do the trick for me simply because it
requires that you first know what parts you want to aggregate. In my case, I
don't know in advance what or how many components will be aggregated.

I did some searching on the archives and found this:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107279968120084&w=2


However, this seems a bit complicated.

I also tried doing a kind of "forEach" for each of my components in the
flowscript, but quickly realised that this doesn't work when I saw the error
[1] below.


Is there a simpler way to do dynamic aggregation?


Thanks!





[1] error message:

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.avalon.framework.CascadingRuntimeException: "file:/flow.js", line
xxx: uncaught JavaScript exception: at showComponent (file:/flow.js, Line
xxx): java.lang.IllegalStateException: Pipeline has already been processed
for this request



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

Reply via email to