Re: ReferenceField sortieren klappt nicht

"Hedrich, Benjamin" <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
> Danke Raphael und Benjamin.
>    allow_sorting = True
> habe ich versucht.
> Leider bleibt die Liste nach dem Aufruf von
>    self.setInterneLinks(intlinks)
> unverändert...
> 

Hast du allow_sorting=True dem Konstruktur des Widgets übergeben und
nicht doch des Attributes? ;-) Hast du mal reinstalliert?


Versuche es mal so:

atapi.ReferenceField('interne_links',
     widget = ReferenceBrowserWidget(label = u'interne Links',
allow_sorting=True),
     multiValued = True,
     relationship='navcontenttyp_interne_links',
     #accessor='getInterneLinks',
     #mutator='setInterneLinks',
     ),

Gruß,
-- 
Benjamin Hedrich
Informationssysteme
--
Condat AG
Alt-Moabit 91 d | 10559 Berlin | Germany
Tel: +49.30.39 49-1166 | Fax: +49.30.39 49-1300
[email protected] | http://www.condat.de/

Vorstand: Dr. Olaf Schemczyk (CEO), Dr. Christof Peltason
Aufsichtsratsvorsitzender: Dr. Wolfgang Babeck
HRB Berlin Charlottenburg 83319



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
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.