-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JoseLuis de la Rosa Triviño wrote:
> I'm creating a new type of content and I need to add labels (without
> fields) and horizontal lines (hr). This can be done when editing a
> Collector Document but it's not possible to do it in Type Maker (I
> believe). I thought the best way would be to create a new type of
> widget, so that I can take the possibility to configure it through ZMI
> in Layout Contents (layout position, css class,etc); I also would create
> a custom render method to show exactly what I want <hr /> or whatever. I
> was able to do this with a CPS Compound Widget but I think the right way
> is to use a Customizable Widget. Neverthless, when I try to edit a newly
> created Customizable Widget I get this error:
> 
>  
> 
> #####################################################
> 
> Error Type:        AttributeError
> 
> Error Value:     
> 
>  
> 
> aq_parent
> 
>  
> 
> Traceback:       
> 
>  
> 
> Traceback (innermost last):
> 
>  
> 
>     * Module ZPublisher.Publish, line 113, in publish
> 
>     * Module ZPublisher.mapply, line 88, in mapply
> 
>     * Module ZPublisher.Publish, line 40, in call_object
> 
>     * Module Products.CPSSchemas.BasicWidgets, line 2204, in
> manage_propertiesForm
> 
>     * Module Shared.DC.Scripts.Bindings, line 311, in __call__
> 
>     * Module Shared.DC.Scripts.Bindings, line 346, in _bindAndExec
> 
>     * Module Shared.DC.Scripts.Bindings, line 1, in ?
> 
>     * Module Shared.DC.Scripts.Bindings, line 265, in _getContext
> 
>  
> 
> AttributeError: aq_parent
> 
> ########################################################
> 
>  

Can you create a ticket for this as well please ?

> 
> I'm using CPS 3.3.8. Any idea of how to fix this error or how to do what
> I want in a more suitable way?
>

Your way should work for your actual use case.


Thank you for the feedbacks.

        J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDluntGhoG8MxZ/pIRAu4pAJ91u6VXFCrjxrT2v+AiQKvuwiHlswCeKNZM
XbDLsOyuowWqUNuzAPEw6xw=
=UPPY
-----END PGP SIGNATURE-----
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to