Maybe I present problem in another way. Let say, I've got data in Java data structures. I can access them in XSP easily just using <xsp:expr> tags. So I can use them in <any:logicsheets> tags, just puting into <any:logicsheets>my java<xsp:expr>variables</xsp:expr></any:logicsheets>. But problem occurs whenever I need to do work with <any:logicsheets> on Java data structers which are arrays, etc. How no idea how to make use of logicsheets in this situations. Simple thing is becoming impossible, very annoying. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] ----- Original Message ----- From: Christopher Painter-Wakefield To: [EMAIL PROTECTED] Sent: Monday, January 26, 2004 9:21 PM Subject: Re: XSP, "for" loop, XSP logicsheets
Are you saying that you want your logicsheet "my-logicsheet:do-with-i" to generate different XSP code depending on the value of i? That isn't possible, to my knowledge. If you just want to have a for-loop calling a template in a logicsheet, that's fine, but the logicsheet's XSLT templates cannot depend on the value of i (that value doesn't exist yet). You can create Java code to do a case statement or a bunch of if-else statements to vary the behavior based on the value of i. -Christopher --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]