Re: [Zope3-dev] Security with Viewlets

2006-11-25 Thread Stephan Richter
On Thursday 16 November 2006 18:17, Shane Hathaway wrote: > > Can anyone recommend an approach to doing this or explain why it is a > > bad idea altogether? > > In theory: the viewlet manager should catch an exception generated by a > viewlet and attempt to adapt the exception to a viewlet, which t

Re: [Zope3-dev] Re: Can an adapter find out what name it was registered for?

2006-11-25 Thread Stephan Richter
On Friday 17 November 2006 03:43, Chris Withers wrote: > What do you suggest I do when the adapter needs to know the name it was > registered for? You can make the name part of the adapter API. However, I would suggest revising the design; I have never come across a scenario where I wanted the n

Re: [Zope3-dev] Re: zc.datetimewidget branch for zope2?

2006-11-25 Thread Kapil Thangavelu
On Sat, 25 Nov 2006 10:03:55 -0600, Rocky Burt <[EMAIL PROTECTED]> wrote: On Fri, 2006-24-11 at 19:19 -0600, Kapil Thangavelu wrote: i was just curious if there were any objections to starting a branch of zc.datetimewidget thats compatible with zope2, ie. doesn't depend on z3 request locales an

[Zope3-dev] Re: zc.datetimewidget branch for zope2?

2006-11-25 Thread Rocky Burt
On Fri, 2006-24-11 at 19:19 -0600, Kapil Thangavelu wrote: > i was just curious if there were any objections to starting a branch of > zc.datetimewidget thats compatible with zope2, ie. doesn't depend on z3 > request locales and zc.resourcelibrary. first cut at a diff attached which > works,