cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Morgan" <ch...@atomicdog.com>
Subject RE: xsl logic
Date Mon, 05 Jan 2004 15:52:32 GMT
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:uzo@beya-records.com]
Sent: Monday, January 05, 2004 10:34 AM
To: users@cocoon.apache.org
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message