[Zope] Order of elements in folderish objects

Uwe C. Schroeder Uwe.Schroeder@contrada.de
Tue, 17 Apr 2001 11:41:51 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 17 April 2001 04:54, Ben Peter wrote:
> 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 possibi=
lity
> 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 subclassi=
ng
> the relevant objects and add a property for the order by which the
> requested list can be sorted?
>
> Cheers,
> Ben

Hi,
I had similar problems. I'm now sorting by ID. That's not quite the best=20
solution but it works.

- --=20
	Uwe C. Schr=F6der

- --
Uwe C. Schr=F6der                                      ConTrada Consultan=
ts
Lindenstrasse 15                                     Tel/Fax: +49 8294 80=
070
D-86477 Adelsried                                    Mobil:   +49 172 853=
2352
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE63A/fTJbO78VG0aIRAqUAAJ9RACgIrBaa3BcTIWpPeNzjhlvkXgCfUO+8
ZgukUJEwSizzTU4OOOD7yGI=3D
=3DRupA
-----END PGP SIGNATURE-----