[Zope] Order of elements in folderish objects
Ben Peter
Ben.Peter@t-online.de
Tue, 17 Apr 2001 04:54:06 +0200
Hi all,
When presenting a site structure in a menu, the order of elements in a
Folder or other folderish objects is (most likely) of some semantic
relevance if this is to be done dynamically.
In the management interface of folderish items, there is little possibility
to rearrange the order of the elements, except for cutting and pasting, as
new elements will be appended. While the management interface presents
elements in alphabetical order, this will have the desired effect of
changing the order when requesting the list of elements via objectItems().
This is, however, a rather clumsy approach. Is there some easy solution to
remain flexible with this order, or will it be something like subclassing
the relevant objects and add a property for the order by which the
requested list can be sorted?
Cheers,
Ben
--
Ben Peter - Feldstrasse 8 - 35091 Coelbe
Ben.Peter@t-online.de
ph: (+49) 6421 983520