On Thursday 26 May 2005 07:30, Dmitry Vasiliev wrote:
> Then I've made some security declarations and all working just fine but
> items names displayed like '<security proxied ... instance at ...>'.
> Is this reasonable/safe to apply attached patch or maybe I can reimplement
> my container in some other way?

First, you could declare your ReverseOrderedName to be a rock, like the 
unicode type is. Then it will never get proxied.

Another approach would be to make a container implementation that ensures the 
correct order of the items. However, I would extend the container interface 
to have a method called:

def getBlogEntriesInOrder(): 

that returns the entries in the desired order. If you think that the content 
type should not worry about this order (i.e. it is presentation-specific), 
then you could always have a view that sorts the items.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to