Hi all,

I want to create custom usecases to manipulate a database.
I've found a Cocoon sample which I'd like to adapt for this purpose:

http://cocoon.zones.apache.org/demos/21branch/samples/blocks/forms/sql

This sample uses two *.js files to manipulate the database and I am trying
to work out a way to make them fit with the Lenya 1.4 usecase framework.
After reading the documentation on the lenya 1.4 usecase framework and
studying how the lenya cforms module and this Cocoon sample work,
I'm not sure if it is feasible approach.

There would be three different usecases: list, edit and delete. The first
usecase I'm trying to implement is List.

My problem is that I need to pass the data retrieved from the database
to a jx template, and looking at the file usecases.js I think there is no way
to do this- I might be wrong, though. As I've read in the documentation that
some special complex usecases might require a custom flowscript, I'd like
to confirm that this one falls into this category.

I would also like to know how to implement usecases outside the
usecase framework. I've seen in  $LENYA/webapp/lenya/usecase.xmap that
there
is a distinction between registered and unregistered usecases. Is
there some documentation on this?


Thanks,

Paloma

--
Paloma Gomez

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to