cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Sallade <>
Subject SQLTransformer produces a blank page on complex query structure
Date Sun, 30 Mar 2003 23:16:41 GMT
(This relates to bug 17984)  I'm processing multiple queries in the same
step.  Everything works fine if the queries are all children of the same
parent or if all of
the queries are sequential.  In some cases, I need to process a different
structure such


The cocoon 2.0.4 SQLTransformer produces a blank page for output on the
query structure.  I researched the problem enough to realize that the
does not even execute the queries because the current_query_index variable
gets back down to zero (which is the trigger for calling the executeQuery
from the end </execute_query> tag).

I have developed a solution that implements a current_query_level in
addition to
the current_query_index.  The index is used so that all of the queries can
be stored
in a vector.  The level is used to know when the root query end tag is
reached.  In
addition, the internal Query class has two new variables: nested_query_level
parent_query_index.  These class variables are established when the query is
created and used to process ancestor values.

Since this is the first time I am contributing to Cocoon, I would like some
one more
familiar with the project to concur with the changes I am proposing.  My
involves 67 new lines and 8 changed lines, so it would be a patch.

Any volunteers for helping me with this?

Jeff Sallade

View raw message