cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning von Bargen <>
Subject SQL taglib
Date Mon, 10 Apr 2000 10:00:31 GMT
Well, now I have upgraded to Cocoon 1.7.2 and the sql taglib works well.
Yet I would propose to add another element to the sql-taglib.
sql:post-row could contain elements that are evaluated for each row
of the result set and and that are added to the output at the end of
the row (before the closing </ROW>).
There should also be an easy way to access the current record's field values
inside the post-row element.

The purpose of this element is to allow easy master-detail query pages.
I mean something like that:

		<sql:query>select * from dept order by dname</sql:query>
               select *
               from emp
               where emp.dname = $DNAME
               order by ename


I tried to add something like that to the file 
but it didn't work of course (the corresponding implementation java files
have to be changed).

What do you think?
Does it make sense?


View raw message