Re: [Zope3-Users] Announce: z3site - theme engine for Zope3-sites

2006-03-20 Thread Pradeep
Garanin Michael wrote: Hello! I publish simple theme-engine for Zope3-sites. I use it for customize GUI(and ZMI) of Zope3-sites through browser. It's dynamics skin and local utitlity for theme storage. Features: 1) you can change GUI of web-site (and ZMI) through web (on fly, without restart

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Gary Poster
Tom Dossis wrote: Tom Dossis wrote: Gary Poster wrote: Use the ones in zc.catalog.catalogindex.py instead: they do the necessary mixing-in for zope.app.catalog friendliness, without a patch. Looks like I missed it - thank you. The purpose of the patch was to convert documentCount & w

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 17:26, Thierry FLORAC wrote: > Actually, the only working way I found to update my annotations through > my adapters is always to use "form" directives with the help of a > support class using "getData/setData" methods which call the adapter > directly... Can you post the c

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 17:37 -0500, Gary Poster wrote: > On Mar 20, 2006, at 5:14 PM, Thierry FLORAC wrote: > > But I'm just trying to use a "simple" (not subclassed) SetIndex, and > > then to access my catalog "Advanced" management page...! > > I don't build any specific template for this. > > > >

Re: [Zope3-Users] worldcookery.browser.widget.DynamicSequenceWidget

2006-03-20 Thread Ulrich P. Klein
Marco Mariani wrote: > > How should I modify the custom widget in the recipe examples to make it > work with 3.2.0 ? > As it is, the program does not work from chapter 7 onward > > I get this on zope.app.form.browser.SimpleInputWidget at every attempt to > display the widget: > > instance

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Tom Dossis
Tom Dossis wrote: Gary Poster wrote: Use the ones in zc.catalog.catalogindex.py instead: they do the necessary mixing-in for zope.app.catalog friendliness, without a patch. Looks like I missed it - thank you. The purpose of the patch was to convert documentCount & workCount to methods for

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Tom Dossis
Gary Poster wrote: On Mar 20, 2006, at 5:34 PM, Tom Dossis wrote: Thierry FLORAC wrote: Should I build any specific SetIndex subclass ? Or define a specific template ?? When I last used SetIndex from zc.catalog.index it didn't quite match the interface(s) required zope.app.catalog. It wa

[Zope3-Users] Swiss Easter Sprint note

2006-03-20 Thread Roger Ineichen
Hi Swiss Easter Sprinters, Sorry I don't have each email address right now, and hope to catch you via the zope3-dev and zope3-users mailing list. I setup a mailinglist at [EMAIL PROTECTED] Please subscribe yourself to the list. You can do this by sending a mail with the email address you li

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Gary Poster
On Mar 20, 2006, at 5:34 PM, Tom Dossis wrote: Thierry FLORAC wrote: Should I build any specific SetIndex subclass ? Or define a specific template ?? When I last used SetIndex from zc.catalog.index it didn't quite match the interface(s) required zope.app.catalog. It was simple enough to

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 09:45 -0500, Stephan Richter wrote: On Saturday 04 March 2006 10:01, Thierry FLORAC wrote: >  - define "editform" in browser's "configure.zcml" => probably bad ! If the "for" attribute differs from the "schema" attribute in the edit form, the form will automatically lo

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Gary Poster
On Mar 20, 2006, at 5:32 PM, Stephan Richter wrote: On Monday 20 March 2006 17:14, Thierry FLORAC wrote: Should I build any specific SetIndex subclass ? Or define a specific template ?? I think in this case it is a bug. Feel free to report it in the issue tracker. :-) See email I just sent

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Gary Poster
On Mar 20, 2006, at 5:14 PM, Thierry FLORAC wrote: On Mon, 2006-03-20 at 10:16 -0500, Stephan Richter wrote: On Wednesday 15 March 2006 17:45, Thierry FLORAC wrote: TraversalError: (, 'documentCount') "documentCount" seems to be defined into the "SetIndex" class, so I don't understa

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Tom Dossis
Thierry FLORAC wrote: Should I build any specific SetIndex subclass ? Or define a specific template ?? When I last used SetIndex from zc.catalog.index it didn't quite match the interface(s) required zope.app.catalog. It was simple enough to patch - which I can send you if you like. -Tom _

Re: [Zope3-Users] Re: Principal annotations

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 16:11, luis wrote: > > The principal annotation views (can you actually give me some names?) > > could be easily fixed by working with IPrincipalInfo objects instead > > IPrincipal objects. This step should not be too hard. > > Yes, that would work, but it'd mean that annota

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 17:14, Thierry FLORAC wrote: > Should I build any specific SetIndex subclass ? Or define a specific > template ?? I think in this case it is a bug. Feel free to report it in the issue tracker. :-) Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 10:16 -0500, Stephan Richter wrote: > On Wednesday 15 March 2006 17:45, Thierry FLORAC wrote: > > TraversalError: ( > 0xb46bfd2c>, 'documentCount') > > > > > > "documentCount" seems to be defined into the "SetIndex" class, so I > > don't understand this error... > > W

[Zope3-Users] Re: Principal annotations

2006-03-20 Thread luis
Stephan Richter wrote: [ ... ] >> Was this an accident? Did it work at one time? Are there plans to make >> principal annotation views work again? And how can I edit user >> annotations in the meanwhile? > > The principal annotation views (can you actually give me some names?) > could be easil

Re: [Zope3-Users] PyWebOff

2006-03-20 Thread Shane Hathaway
Jeff Shell wrote: Argh. Darn that user group meeting being down in Utah Valley. Don't they consider the fact that there may be Utahn's who still try to cling to a car-free urban lifestyle notion (especially when they live and work on the same block)? :) Tell them to come up by my house. Terrific

Re: [Zope3-Users] PyWebOff

2006-03-20 Thread Jeff Shell
Argh. Darn that user group meeting being down in Utah Valley. Don't they consider the fact that there may be Utahn's who still try to cling to a car-free urban lifestyle notion (especially when they live and work on the same block)? :) Tell them to come up by my house. Terrific restaurants, delis,

Re: [Zope3-Users] PyWebOff

2006-03-20 Thread Bernd Dorn
On 03.03.2006, at 08:27, Shane Hathaway wrote: Hello, I've been assigned to present Zope in a local upcoming Python user group meeting. As part of the assignment, I'm supposed to solve the PyWebOff challenge using Zope: http://pyre.third-bit.com/pyweb/challenge.html I'd like to do this

Re: [Zope3-Users] Grants to unathenticatedPrincipal[Resolved]

2006-03-20 Thread Rupert Redington
Frank Burkhardt wrote: > Hi, > > On Sat, Mar 18, 2006 at 10:32:39AM +, Rupert Redington wrote: >> When I try to make a permission or role based grant to zope.anybody >> through zcml I fail with: >> >> File "/home/rupert/Zope3/lib/python/zope/app/security/principal.py", >> line 50, in checkPri

Re: [Zope3-Users] Local component and schema customization, howto?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 01:31, Stephen Chan wrote: > How would I configure zope to use a different component depending on the > subfolder/site? > > For example, the user would see same menu "Add Recipe" and tab to "Edit > Recipe", but depending on the folder, the recipe might stored in a > differen

Re: [Zope3-Users] New way of using skins

2006-03-20 Thread Stephan Richter
On Wednesday 08 March 2006 11:40, Florian Lindner wrote: > layer="CS.skin.interfaces.ICentershockLayer" seems to work but do I always > have to give the lenghty python path?? I think I already pointed out on zope3-dev that this is what philiKON decided to do. I personally do not think this was su

Re: [Zope3-Users] giving back: montisite

2006-03-20 Thread Stephan Richter
On Friday 17 March 2006 02:49, Cliff Ford wrote: > In the spirit of giving back to the community that has supported me I am > making available a package, named montisite, that I have been working on > whilst learning how to use Zope 3. I think it might be helpful to other > newcomers who need examp

Re: [Zope3-Users] Database access problem from form support Class

2006-03-20 Thread Stephan Richter
On Wednesday 08 March 2006 16:17, Cliff Ford wrote: > However, it would be helpful to know whether calling the database > adapter utility directly has hidden implications - the thread safety > field of IManageableZopeDatabaseAdapter returned 0 (Threads may not > share the module) and I don't know w

Re: [Zope3-Users] export\import content

2006-03-20 Thread Stephan Richter
On Sunday 19 March 2006 13:57, Garanin Michael wrote: > I have not empty Folder on computer. How can i import Folder to  other > computer? Where is analog of Zope2 import\export (zexp)? Currently we have no equivalent. :-( Though I think zexp could be ported. Regards, Stephan -- Stephan Richter

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Stephan Richter
On Wednesday 15 March 2006 17:45, Thierry FLORAC wrote: >         TraversalError: ( 0xb46bfd2c>, 'documentCount') > > > "documentCount" seems to be defined into the "SetIndex" class, so I > don't understand this error... Well, by default attributes are not traversable, so that the following does

Re: [Zope3-Users] Principal annotations

2006-03-20 Thread Stephan Richter
On Wednesday 08 March 2006 03:32, Shane Hathaway wrote: > Chapter 27 of the Zope 3 book and the docstring for IPrincipal in Zope > 3.2 both suggest Zope has the ability to provide a browser view of > principal annotations. That would be a really great bit of > functionality to have! Unfortunately

Re: [Zope3-Users] Re: Zope 3 Developer's LiveBook

2006-03-20 Thread Stephan Richter
On Tuesday 07 March 2006 01:41, Paul Dumais wrote: > I have familiarized myself with docbook and am gung ho. I am fairly > new to zope3, so I will not be much help with content. I will be good > at trying out things and keeping the document up to date. Using docbook is probably okay for most peopl

Re: [Zope3-Users] forbiddenAttribute on frozenset?!

2006-03-20 Thread Stephan Richter
On Monday 06 March 2006 00:41, Shaun Cutts wrote: > I hope I don't have to declare permissions built in classes?!? Yes you do. We have no security declarations on frozenset in the Zope 3 code. I think this has been discussed on zope3-dev, but I am not sure whether security declarations were adde

Re: [Zope3-Users] doctest w/ formlib and ViewPageTemplateFile

2006-03-20 Thread Stephan Richter
On Saturday 04 March 2006 11:37, Shaun Cutts wrote: > I notice that (.).namespace/view is somewhere registered as an adapter for > ITraversable. Is this what I need? Is there a convenience function > somewhere to setup this and/or any other adapters I need to get ZPT running > for doctests? Or how

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Stephan Richter
On Saturday 04 March 2006 10:01, Thierry FLORAC wrote: >  - define "editform" in browser's "configure.zcml" => probably bad ! If the "for" attribute differs from the "schema" attribute in the edit form, the form will automatically look up an adapter from the context object (implementing the "for

Re: [Zope3-Users] child is not cataloged while adding parent

2006-03-20 Thread Stephan Richter
On Friday 03 March 2006 02:46, [EMAIL PROTECTED] wrote: > and I've made an export/import view for that folder, where > I succceeded to catalog children. basically both uses the > same code. simply like: > >      parent[u'the name of the child'] = Child() > > What I'm missing for? > It'd be happy to

Re: [Zope3-Users] LDAP Authentication

2006-03-20 Thread Stephan Richter
On Monday 20 February 2006 23:24, Deborah Pollard wrote: > I have installed, configured, registered, named and activated > ldapadapter  with Public permission. Ditto for ldappas.  Both are svn > revision 41715. Both pass their tests. There are no errors when Zope > 3.2.0 restarts. Everything looks

Re: [Zope3-Users] zope 3 and web services

2006-03-20 Thread Stephan Richter
On Monday 13 February 2006 16:43, Dilley, Hara wrote: > > Is there any recent documentation available for soap and web services in > > general using python 2.4.2 and zope 3 I don't know about documentation, but the SOAP package can be found here: http://svn.zope.org/soap/trunk/ There is a short,

Re: [Zope3-Users] worldcookery.browser.widget.DynamicSequenceWidget

2006-03-20 Thread Stephan Richter
On Friday 24 February 2006 03:43, Marco Mariani wrote: > As it is, the program does not work from chapter 7 onward > > I get this on zope.app.form.browser.SimpleInputWidget at every attempt to > display the widget: > >     instance = self._widget_factory(*args) > TypeError: __init__() takes exactly

Re: [Zope3-Users] Creating XML using Pagetemplates doesn't work

2006-03-20 Thread Stephan Richter
On Wednesday 01 March 2006 11:22, Frank Burkhardt wrote: > Hi, > > I wrote a view that returns a Atom-document (comparable to RSS). The > content type is 'application/atom+xml'. Unfortunately the pagetemplate > inserts some strings containing german umlauts (non-ascii) and I > get this error: Hone

Re: [Zope3-Users] PyWebOff

2006-03-20 Thread Stephan Richter
On Friday 03 March 2006 02:27, Shane Hathaway wrote: > I've been assigned to present Zope in a local upcoming Python user group > meeting.  As part of the assignment, I'm supposed to solve the PyWebOff > challenge using Zope: > > http://pyre.third-bit.com/pyweb/challenge.html > > I'd like to do thi

Re: [Zope3-Users] Grants to unathenticatedPrincipal

2006-03-20 Thread Frank Burkhardt
Hi, On Sat, Mar 18, 2006 at 10:32:39AM +, Rupert Redington wrote: > When I try to make a permission or role based grant to zope.anybody > through zcml I fail with: > > File "/home/rupert/Zope3/lib/python/zope/app/security/principal.py", > line 50, in checkPrincipal > raise ValueError("Un

Re: [Zope3-Users] records converter

2006-03-20 Thread Dmitry Vasiliev
Andrius Armonas wrote: Dmitry Vasiliev wrote: Maybe we need some "converters simplification" so for example we can get rid of some unused converters? I use ":records" converter rarely, but when I do it is extremely good thing (especially when building very complex views). It would be pitty