Hi,
I have been learning Lenya & Cocoon for a while now, but I everytime I think I
have found a solution to my problem, start implementing it and find that either
a. its actually being deprecated or
b. I've hit a brick wall.
What I am trying to do:
Create a document by allowing users to fill in an XSP (I do not want to use CForms untill they are officially stable ..unless I have no other choice).
A physical xml representing the document is then created. Maybe an email sent
out to someone telling them that this has been the case.
The status of the document is something like 'authoring' and it sits there
doing nothing much awaiting approval.
Another user comes in, retrieves the document, reviews it and either makes
changes to it or 'publishes' it.
When the document is 'published' information from it is saved onto a database,
using OJB/JDO.
Unfortunately I have to stick to Lenya 1.2 since 1.4 is not stable yet(and this
project needs to go into production reasonably soon).
I have been trying to use Lenya, so that other pages in the publication will be
easy to manage.
I have also tried to use the 'document' framework in order to try to take
advantage of the task/workflow/scheduling functionality that Lenya provides.
My problems:
1. I dont see a nice way to pass chunky information into a task - ie in the
first step I try to create a new task say 'create-promotion',
since I do not know how many parameters I will have(its anywhere between
20-200) I dont see a way to make it an ant task. If I dont make it an ant task
I do not quite understand how I would say 'initialise history'/etc.
Am I missing something?
Also, even if I write my own non-ant task, is there any way to get some javabeans from the request into it?
2. I really like the 'asset' library idea, and was hopping to allow user
through my xsp form to access it, and pick pictures from it. Is there a way to
do this?
Can anyone suggest some solutions to my problems or other approaches that I should try?
Thank you,
Vica
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]