Closed pbauer closed 12 years ago
yes, the documentation sucks (are you listening, @flecox) but we are in the middle of something else right now (collective.composition) and we can not help you until late next week.
could you please take a look at collective.nitf and collective.polls? they have implementations for these widgets...
Hi.. as Hector said, as soons as possible we'll update the documentation. to use the first widget, EnhancedTextLinesWidget, you have to use EnhancedTextLinesFieldWidget.
and I'll take a look at MultiContentSearchFieldWidget problem as soon as I can.. have you try it filtering a dexterity ct instead of Document?
regards
Thanks for the answers. I fixed some of the more obvious errors in the readme. The EnhancedTextLinesFieldWidget Works for me now.
The MultiContentSearchFieldWidget works with dexterity-content and with AT-Content that has a uuid.
The TokenInputFieldWidget still does not display saved values in edit-mode.
you need to override the widget: take a look at collective/nitf/__init__.py
.
I tried to test the fields (in Plone 4.1.5 and 4.2rc2) and ran into some Problems
EnhancedTextLinesFieldWidget seems broken:
Results in:
TokenInputFieldWidget does not display saved values.
The MultiContentSearchFieldWidget seems not to work
And: the documentation is not great. The needed imports are missing and fieldnames don't match.