Re: howto use aliases

Julien Anguenot <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Organization NUXEO
Message-ID <[email protected]>
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

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu1eiGhoG8MxZ/pIRAu8gAJ9/BNSe9PrBWhTnf6+vIrEHijn0fQCeIWgx
83PAQ4cFVFXvr2lj7BnoNOE=
=TdOH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.