cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hubert Trzewik \(Prosystel\)" <htrzewik-use...@prosystel.com.pl>
Subject XSP, "for" loop, XSP logicsheets
Date Mon, 26 Jan 2004 18:22:48 GMT
Is it possible to do something like this?

<xsp:logic>
    for (int i=0; i<max; i++) {
    <my-logicsheet:do-with-i><xsp:expr>i</xsp:expr></my-logicsheet:do-with-i>
    }
</xsp:logic>

The problem is, that I have working logicsheet and I need prepare a fragment tree to be processed
by this logicsheet.
So, my XSP in fact should ganarete (using pure Java) another XSP with XML Logicsheet 'statments'
and that one should be finally processed (so we process twice) - but I'm not sure if it's
a good way of solving problem. Any idea?
--
Hubert Trzewik
Prosystel Sp. z o.o.
hubert.trzewik@prosystel.com.pl
Mime
View raw message