[Zope] Ordered Folders
Itamar Shtull-Trauring
itamars@ibm.net
Sat, 09 Oct 1999 22:06:33 +0200
Janko Hauser wrote:
> > The first thing I need to create is a ZClass, inheriting from Folder, where
> > the order of the objects it contains is persistent, and can be changed by
> > the users. That is, I want the user to be able to move the fifth object to
> > be third in the list.
>
> The ZClass/Folder can have a simple lines property, which serves as a
> sheet where the order of objects can be edited.
But a regular Folder doesn't display the objects in it based on this
property. So how do I make it display them according to this property, and
make sure that when I use the <dtml-in> tag it will also return the objects
in this order (the whole point of the excercise)?
--
Itamar - itamars@ibm.net
---------------------------o----------------------------------------------o
Perl/Gimp Greeting Cards | Trust? Ha! The US dollar is backed by ICBMs! |
http://www.sealingwax.com | --Anonymous Coward, Slashdot |