[Zope-dev] ZODB optimization

2000-09-19 Thread morten
I'm wondering, is the ZODB easily 'fragmented' or .. un-optimized ? If so, are there any tools/functions that will 'unfragment' / optimize it? Does the 'pack database' in the Administration menu do this? If so, it could be a Good Thing (tm) to have separate optimize and packing (history deletion

[Zope-dev] HiperDOM & xmlc

2000-09-19 Thread Spicklemire, Jerry
There are a few things I'm trying to understand about the xmlc-like Templates proposal. First : "Using specialized webdesigners with Zope project has been one of the biggest pains in Zope development; we have to take the sometimes ugly code generated by the tools they use, usually clean it up, th

Re: [Zope-dev] Membership and Local Roles

2000-09-19 Thread Michael Bernstein
Michael Bernstein wrote: > > I figured out how to get this to work (finally). > > In the acl_users LM, add the following two Python methods: Well, I discovered another problem: For some reason, when I create a PortalMembership member, add the two Python methods as I described earlier, and use

Re: [Zope-dev] HiperDOM & xmlc

2000-09-19 Thread Lalo Martins
On Tue, Sep 19, 2000 at 09:00:03AM -0400, Paul Everitt wrote: > > > * You can create the layout with any XML-compliant editor; if > > the template is xHTML, you can use a XHTML-compliant WYSIWYG > > tool. Or, thanks to the modern XML technology, you can use a > > WYSIWYG HTML tool and pass it tro

[Zope-dev] ZPatterns 0.4.2a3 bug fix release

2000-09-19 Thread Phillip J. Eby
ZPatterns 0.4.2 alpha 3 is now available. It fixes all bugs that I know of at the present time (both reported on the lists and found during our own usage/testing), and adds one feature: a decent sized screen for editing SkinScript! This release does not yet have the overhaul of transaction handl

Re: [Zope-dev] ZPatterns bug: infinite recursion with External Attribute Provider

2000-09-19 Thread Phillip J. Eby
At 09:18 PM 9/17/00 +0100, Steve Alexander wrote: > >I can fix this, by patching DataManager to use client.__dict__ instead: > >def _readableSlotFor(self,client): >#slot = getattr(client,'__skinSlot__',_marker) >slot = client.__dict__.get('__skinSlot__',_marker) > >

[Zope-dev] Please help - Persistent dictionary keys

2000-09-19 Thread John D. Heintz
Can someone please explain the best way for me to map from one instance to another? In the following code either: (1) I am using dictionaries wrong, or (2) I'm missing something with ExtensionClass in general. I have tried searching Zope and Python mailing lists and resources for an answer to

[Zope-dev] Re: ZPatterns.... more thoughts about implimentation of a concretesystem...system...

2000-09-19 Thread Steve Alexander
Steve Spicklemire wrote: > > Every couple of weeks I get a little time to work on this stuff... > well, it's been a couple weeks. ;-) Keep them coming :-) > the generic dataskins could simply acquire the methods that > they need from the specialist > This all begs some questions > > (

[Zope-dev] ZPatterns.... more thoughts about implimentation of a concrete system...

2000-09-19 Thread Steve Spicklemire
Every couple of weeks I get a little time to work on this stuff... well, it's been a couple weeks. ;-) I was flailing last time over the issue of how to create objects that could be 'plugged' into different frameworks cleanly. One problem was that my existing framework had specific classes of o

Re: [Zope-dev] HiperDOM & xmlc

2000-09-19 Thread Paul Everitt
I wanted to step back a few jumps in this thread and point out a few things... [EMAIL PROTECTED] wrote: > > Our "XHTML Templates Proposal" is at: > > > > http://dev.zope.org/Wikis/DevSite/Proposals/XHTMLTemplatesProposal > > It is not linked on the Proposals FrontPage... You're right, I'll g

Re: [Zope-dev] Using PropertySheets

2000-09-19 Thread Erich Seifert
Thanks Steve Steve Alexander wrote: > > Erich Seifert wrote: > > > > > > * I can't pass a default value to a tokens property. How to? > > Can you pass in a space-separated string, such as '' or 'token1' or > 'token1 token2'? No I tried that. > > * I can't pass a default value to a boolean

Re: [Zope-dev] Using PropertySheets

2000-09-19 Thread Steve Alexander
Erich Seifert wrote: > > * I can't pass a default value to a tokens property. How to? Can you pass in a space-separated string, such as '' or 'token1' or 'token1 token2'? > * I can't pass a default value to a boolean property. How to? How are you trying to do this? You can pass in the strin

Re: [Zope-dev] Returning a list of names from a Python Method

2000-09-19 Thread Steve Alexander
Michael Bernstein wrote: > Michael Bernstein wrote: > >> Does anyone on the list know how to change the getUserNames >> Python method to return a list of names instead of a list of >> objects? >> >> The code in question is this: >> >> user_ids=self.UserSource.getPersistentItemIDs() >> >>

[Zope-dev] Using PropertySheets

2000-09-19 Thread Erich Seifert
Hi everbody, I've played a bit with the PropertySheets interface and I wanted to create two Stylesheets. Everything works fine, but ... * I don't get the management tabs in the propertysheet/manage method. Perhaps a permission problem? * I can't pass a default value to a tokens property. How t