Uzo, I suggest using actions and pipelines for this. Theoretically, any flow-related logic should be handled by the pipeline.
Chris -----Original Message----- From: beyaRecords - The home Urban music [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 10:34 AM To: [EMAIL PROTECTED] Subject: xsl logic ok folks, here's a simple one for you all. I have a login page which passes 2 parameters to an xsl page, which are in turn passed onto a stored procedure. What I want to do is this: 1. if a recordset is not returned { redirect user back to login page } 2. query a stored procedure and use the returned recordset values to populate a java class, for example a current_client object. I am using esql at the moment to do the db stuff. How could i do these 2 things using esql, or would it be better to use something else in cocoon? Uzo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
