Hello!

 

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

########################################################

 

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?

 

Thank you very much.

 

JoseLuis de la Rosa Triviño
Becario Área de Sistemas de Información
FUNDACIÓN IAVANTE
[EMAIL PROTECTED]
Tel. 951 015 300

 

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.

 

_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to