Rakotomandimby Mihamina a écrit :
On Thu, 2006-01-05 at 03:55 +0200, Ruslan Spivak wrote:

- Add widgets to above fields in portal_layouts -> members, members_search


I have some problem finding the right widget for the right field I added
in portal_schemas: I added a "string list field", and what should be the
associated widget?
I ask because I have this error after having added the fields & widget,
made an user joining the portal, and trying to view his preferences:

########################################################################
[....]
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
        __traceback_info__: dir.renderEntryDetailed(id)
* Module Python expression "dir.renderEntryDetailed(id)", line
        1, in <expression>
* Module Products.CPSDirectory.BaseDirectory, line 552, in
        renderEntryDetailed
* Module Products.CPSSchemas.Layout, line 263, in
        prepareLayoutWidgets
* Module Products.CPSSchemas.BasicWidgets, line 243, in prepare
IndexError: tuple index out of range
#########################################################################


Hi,

This traceback means that you forgot to mention what field is managed by one of the widgets you added (a string widget). But to answer your question, usually a string field is managed by a string widget or a select widget, and a string list field is managed by a multi select widget.
Oops Ruslan already said that, nevermind :)
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to