You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Peter Hickman <pe...@semantico.com> on 2005/04/15 13:06:42 UTC
Pre and post document edit
Is there are way of having a document transformed before it is loaded
into the editor (such as kupu or bxe) and transformed again as it is
saved from the editor?
Also is there a way of marking as document as uneditable?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Pre and post document edit
Posted by Andreas Hartmann <an...@apache.org>.
Peter Hickman wrote:
> Is there are way of having a document transformed before it is loaded
> into the editor (such as kupu or bxe) and transformed again as it is
> saved from the editor?
You can probably add transformation steps in the appropriate
pipelines in usecase-bxe.xmap.
> Also is there a way of marking as document as uneditable?
Not out of the box.
A clean way to implement it would be:
- add the "editable" option to the meta data
(use an appropriate Dublin Core field)
- implement a workflow condition and add it to the "edit" transition
of the workflow schema
- in the condition, query the meta data and return "false" if the document
is not editable
Feel free to ask if you need more information.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org