Hi Joachim,

Joachim Schmitz wrote:
> In the alias tab of my portal_type faculty I specified an alias method
> for edit, I called it faculty_edit. I copied the cpsdocument_edit.py
> into faculty_edit.py. I put faculty_edit into the alias of edit. But I
> found that it is not called. By looking at cpsdocument_edit_form.pt, I
> found that it cannot work as I exspected. Cause the form_action there is
> hardcoded to cpsdocument_edit. So my question is how are aliases are
> supposed to work, and where can I see what aliases are defined ?

For the moment, not all aliases are working on a stock CPS, AFAIK

Aliases are simple things though.

Check out this script for the "create_do" :
http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSDocument/trunk/skins/cps_document/cpsdocument_create.py

If you need some more them, feel free to submit patches or enter tickets
within the Trac.

        J.


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to