Re: [Zope-dev] How to automatically redirect publishing request toanother folder?

2002-01-25 Thread R. David Murray
On Fri, 25 Jan 2002, Joachim Schmitz wrote: > How about creating a body-dtml method in the root, with > > > > Or have that body method to a RESPONSE.redirect, if having the page have the "wrong" URL confuses things. --RDM ___ Zope-Dev maillist -

Re: [Zope-dev] Use sql database in ZCatalog

2002-01-25 Thread R. David Murray
On Fri, 25 Jan 2002, Howard Zhang wrote: > Does anyone use sql database to store index and meta data for > performance and still provide same zcatlog api to keep compatibility ?. Why do you think storing metadata in an sql database would improve performance? I'm not saying it wouldn't, but it's

Re: [Zope-dev] [Partial Solution] Re: Establishing root objects inZODB under Zope

2002-01-25 Thread R. David Murray
On Wed, 23 Jan 2002, Ross Boylan wrote: > I'm still wondering about class variables being persistent and the > efficiency of PersistentList, if anyone has any comments. Class variables are *not* persisted, since they are class data and not instance data. I believe that a PersistentList is a mono

Re: [Zope-dev] proxy role inheritence (was REQUEST.AUTHENTICATED_USERquestion)

2002-01-24 Thread R. David Murray
On 24 Jan 2002, Leonardo Rochael Almeida wrote: > When you give a method one or more proxy roles, the user that can > view/call it assumes these roles instead of his own. That means he has > the permissions these proxy roles have, instead of the permissions his > own roles would give him (which me

Re: [Zope-dev] Product upgrades

2002-01-24 Thread R. David Murray
On Wed, 23 Jan 2002, Max M wrote: > Generally Zope uses pickle to save the objects. And pickel will not save > the methods, nor the class attributes:: I'm surprised to have seen no mention of __setstate__ in this thread. Is doing simple upgrade-on-the-fly via __setstate__ now considered Bad Form

[Zope-dev] granting access to a single attribute with declarative security

2002-01-10 Thread Michael R. Bernstein
On Wed, 2002-01-09 at 10:13, Wolfram Kerber wrote: > > > > I didn't think you could have more than one > > setDefaultAccess in a class. If you can, then you can set: > > > > security.setDefaultAccess('deny') > > security.setDefaultAccess({'meta_type': 1}) > > The last 'setDefaultAccess' statement

Re: [Zope-dev] Re: [ZPT] accessing object attributes from pythonexpression raises error

2002-01-09 Thread Michael R. Bernstein
On Wed, 2002-01-09 at 01:40, Wolfram Kerber wrote: > > From: "Chris McDonough": > > > > > meta_type is an attribute, so you can't just do > > > > > > security.declareProtected(ACCESS_CONTENTS_PERM, 'meta_type') > > > > That's right. > > > > > The id attribute has the getId method, perhaps what'

[Zope-dev] Re: [ZPT] accessing object attributes from python expressionraises error

2002-01-08 Thread Michael R. Bernstein
On Tue, 2002-01-08 at 14:01, Evan Simpson wrote: > Michael R. Bernstein wrote: > > > > [snip stuff about accessing a browser_id_manager's > > meta_type from unrestricted code raising an > > unauthorized exception] > > > > Will this be fixed

Re: [Zope-dev] PDF from Printable Page

2001-12-18 Thread Juergen R. Plasser / HEXAGON
Hi, I have tried ZpdfDocument but it seems to be not appropriate for more complex HTML files. It would be a nice concept to use the HTML and structured text sources for generating PDFs but it does not support the most important features. As a second tool there is ReportLab (don't know if ther

Re: [Zope-dev] Searching

2001-12-14 Thread R. David Murray
On Wed, 5 Dec 2001, Dieter Maurer wrote: > Not out of the box. > > You could place something before ZCatalog (which parses subquerie for > search term and expands them into a set of synonyms). > But you would need to work quite hard to get true semantic search... A while back when I was working w

Re: [Zope-dev] Competition

2001-12-06 Thread R. David Murray
On Fri, 30 Nov 2001, Chris Withers wrote: > Stephan Richter wrote: > > >And they have their own issues, what with needing to make money out of > > >Zope, which means intrinsically that all of us > > >outside of Zope Corp are in competition with them. > > > > No that is not true. In Germany for exa

Re: [Zope-dev] from Globals import Persistent

2001-11-15 Thread R. David Murray
On Wed, 14 Nov 2001, Benjamin Buffereau wrote: > I'm using the binary version of Zope 2.4.3 for Windows. I'm trying to run the > PollProduct example of the Zope Developper's Guide, and it seems to me that > there is a big problem with the import of the name "Persistent". Here is what I > get tryin

[Zope-dev] Zope BOF at Comdex in Vegas?

2001-11-02 Thread Michael R. Bernstein
As the only (AFAICT) Zope user in Las Vegas, I'd like to propose that Zopistas that are here for Comdex (Nov 10th through 16th) get together for a Birds Of a Feather gathering. This could be a dinner or just meeting for drinks, depending on what people would like. How many people would be intere

Re: [Zope-dev] Extending Zope with Eiffel

2001-10-26 Thread R. David Murray
On Thu, 25 Oct 2001, Eric Roby wrote: > I like Python ... but I don't think (as a scripting language) it is up to > the challenge of an expert system. A language that I feel is up to the > challenge is Eiffel (especially in conjunction with ISE EiffelStudio .. an [...] > Am I way off base here ?

Re: [Zope-dev] Re: [Bug+Patch] Microseconds in DateTime

2001-10-25 Thread R. David Murray
On Wed, 24 Oct 2001, Nicola Larosa wrote: > OK, so nobody cares. Anyway, the BugCollector is down, what is a poor guy to > do to get the fix in? > > Of course, if it is a very stupid thing to do, I would really like to know. :^) Well, I like the idea personally, but let me play devil's advocate h

Re: [Zope-dev] BUG or FEATURE?

2001-10-24 Thread R. David Murray
On Wed, 24 Oct 2001, Sidnei da Silva wrote: > But i still dont understand why the first time i call REQUEST.set, and use > the variable has the value i set, and subsequent calls to > REQUEST.set modify REQUEST['variable'] but not variable. This is not right > for what i think. Or it modify the va

Re: [Zope-dev] Re: Install doesn't start properly

2001-10-23 Thread R. David Murray
On Mon, 22 Oct 2001, Martijn Pieters wrote: > > First, actually, untarring as root sets the ownership of a lot of the > > stuff in my solaris bindist to 506:100 (brian:users, it says in the > > listing.) > > Default behaviour when using tar as root; it'll preserve the UID and GID of > the person t

Re: [Zope-dev] BUG or FEATURE?

2001-10-23 Thread R. David Murray
On Tue, 23 Oct 2001, Sidnei da Silva wrote: > I dont know how it was supposed to work, but i think that if the REQUEST was > immutable inside a dtml-with, it should be not allowed to call REQUEST.set > inside it. It isn't immutable. The second and subsequent sets should work. > <== only works

Re: [Zope-dev] Versions (still)

2001-10-23 Thread R. David Murray
On Tue, 23 Oct 2001, Andy McKay wrote: > and got into ZODB stuff I didnt understand. I would have thought having a > little refactoring to give two more methods: getVersionContents and > commitObject would be possible, but Im scratching my head at FileStorage > now. To my understanding, versions

Re: [Zope-dev] STX and underline symbology

2001-10-23 Thread R. David Murray
On 19 Oct 2001, Alastair Burt wrote: > 1) there are no spaces in strings to underline, only more '_' > (_this_is_an_example_), or I'd vote for this. I think it makes underlining more visual when reading the stx in text mode. --RDM ___ Zope-De

Re: [Zope-dev] ZPL2.0

2001-10-16 Thread Michael R. Bernstein
Sorry for the late replay to the list, I was having some problems with my mail client which led to replies being rejected by various mailing lists. On Fri, 2001-10-12 at 02:38, Chris Withers wrote: > Kapil Thangavelu wrote: > > > > dealing with RMS is tricky period. > > I am at a loss as to why

Re: [Zope-dev] GUF and SQL

2001-10-11 Thread R. David Murray
On Thu, 11 Oct 2001, Andre Schubert wrote: > I'am using GUF with ZSqlMethods and found out, that every time a object > is accessed the sql-method is called, [...] > Is there a why to implement such a AUTHENTICATION-String cache in the > GUF-Product, it brings a lot of performance, when using GUF w

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michael R. Bernstein
On Wed, 2001-10-10 at 10:47, Andreas Jung wrote: > > From: "Michael R. Bernstein" <[EMAIL PROTECTED]> > > > > On Wed, 2001-10-10 at 09:42, Andy McKay wrote: > > > > > > Absolutely it may be more work but being able to eventually plug in

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michael R. Bernstein
On Wed, 2001-10-10 at 09:42, Andy McKay wrote: > > I think a general proposal for "Pluggable front-ends" would be better > > received. I know there has been talk about dropping ZServer in favor of > > Apache 2.0. What would be nice would be to have options. > > Absolutely it may be more work but

Re: [Zope-dev] file descriptors on Solaris

2001-10-03 Thread R. David Murray
On Tue, 2 Oct 2001, John Ziniti wrote: > Yeah ... something tells me it's a little more complicated than that. Like recompiling the kernel, quite possibly. On FreeBSD there's a sysctl, although you may still have to recompile the kernel in some cases I think; on Linux you can zap a variable in p

RE: [Zope-dev] 2.5 roadmap and schedule?

2001-10-01 Thread Michael R. Bernstein
On Mon, 2001-10-01 at 14:51, Brian Lloyd wrote: > > The current roadmap for Zope 2.5 sets an alpha release date for sometime > > in september, but is that still likely? > > > > Michael Bernstein. > > Since today is Oct. 1, I would say... no :^) > > The "roadmap" serves as a high-level way for m

Re: [Zope-dev] Zope on Windows/Mac OS X:BatteriesIncludedDistribution

2001-09-28 Thread Michael R. Bernstein
On Fri, 2001-09-28 at 05:05, Paul Everitt wrote: > > I think, with all the various efforts, it is time to agree on some > standards regarding where configuration data lives and how it looks. I remember that Eric Raymond had created a new language specifically for describing software configurati

Re: [Zope-dev] Re: [DISCUSS] Committer agreement not even handedand threadening

2001-09-28 Thread Michael R. Bernstein
On Fri, 2001-09-28 at 08:32, Paul Everitt wrote: > > Dieter Maurer wrote: > > > Paul Everitt writes: > > > > > > The "Committer Agreement" does not seem to be even handed: > > > >The committer transfers rights immediately and indefinitely > >

[Zope-dev] 2.5 roadmap and schedule?

2001-09-27 Thread Michael R. Bernstein
The current roadmap for Zope 2.5 sets an alpha release date for sometime in september, but is that still likely? Michael Bernstein. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Adding a permission to an ObjectManager derived ZCLass

2001-09-26 Thread Michael R. Bernstein
Hi all, I posted this 24 hours ago on the main zope list, but didn't receive a response, so I'm reposting here. I've got an ObjectManager and Folder derived ZClass that contains instances of a second rather simple ZClass. It works fine, the Manager role can access the management interface of th

Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread R. David Murray
On Wed, 26 Sep 2001, George Nguyen wrote: > I was looking in the entries in the Z2.log file and it > lists the user as being "Anonymous" when I'm actually > logged in as a validated user. This is very likely the result of an authentication...optimization?...done by the security machinery: if the

RE: [Zope-dev] Create directory in LocalFS

2001-09-26 Thread R. David Murray
On Tue, 25 Sep 2001, Jeff Nielsen / UgoFast wrote: > I don't think I'm understanding you. I want to create the subdirectory > programmitcally inside a DTML Document. Are you suggesting something > like: > > "/images/Companies/100/manage_addProduct/OFSP/folderAdd(187)"> OFSP is Zope's Object File

Re: [Zope-dev] RE: Barriers to Zope popularity: Part 2: sourcecontrol

2001-09-25 Thread Michael R. Bernstein
On Tue, 2001-09-25 at 18:16, Chris Withers wrote: > > PS: Anyone using DTML or ZClasses for this kind of thing in this day and age > should be shot ;-) Personally, I think all extremists and fanatics should be shot. Oh yeah, I forgot, ;-) Michael. ___

Re: [Zope-dev] Vulnerability in Zope

2001-09-25 Thread Michael R. Bernstein
On Sun, 2001-09-23 at 17:00, Andy McKay wrote: > > [snip] > Haven't we been complaining about this automatic appending of tracebacks for > a while? To me this is what log files are for but Im not sure what this > guy is on. I wouldnt count this as a "security vulnerability". Hmm. It's 'side-b

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-25 Thread Michael R. Bernstein
On Tue, 2001-09-25 at 05:27, Paul Everitt wrote: > > Does anyone think this is close enough that I can go ahead and get the > bootstrap group (under ten, selected by us) going? I'd like to avoid > making them sign and mail an agreement, then do it again if there's > substantive changes. Full

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-25 Thread Michael R. Bernstein
On Tue, 2001-09-25 at 09:19, Paul Everitt wrote: > > We'll probably work up some boilerplate such as, "I'm going to commit > your patch to Zope. It's going to be available under the ZPL and the > joint ownership model of the Zope Contributor Agreement. Please respond > agreeing that you unde

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-25 Thread R. David Murray
On Tue, 25 Sep 2001, Paul Everitt wrote: > Repugnancy aside :^) your second comment is on the mark. It isn't so > much that you need to assign and "lose" ownership. Rather, the > committer needs to ensure that they aren't violating your rights. > > We'll probably work up some boilerplate such as

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread Michael R. Bernstein
On Fri, 2001-09-21 at 15:51, Paul Everitt wrote: > > I'll reply in more depth later (on the way out for my b-day dinner) Hey, happy birthday, Paul! Michael Bernstein. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-21 Thread R. David Murray
On Thu, 20 Sep 2001, Paul Everitt wrote: > So, let's begin what I'm sure will be a lively and illuminating > discussion. :^) First, would it be possible to put up a copy of the Contributor Agreement in html format? If you feel the only legal version for signing is the PDF one fine, but it would

Re: [Zope-dev] Structure-text :

2001-09-21 Thread R. David Murray
On Thu, 20 Sep 2001, Jens Vagelpohl wrote: > AFAIK this is the right behavior and not a bug. you ask for the > StructureText document to be rendered and you inform the rendering > machinery that the document is in structured text. the rendering process > will output HTML. > > i think what you want

Re: [Zope-dev] WEBDav error?

2001-09-17 Thread Michael R. Bernstein
On Mon, 2001-09-17 at 09:04, Phil Harris wrote: > > +1 family member. > > The nuclear family is now ready. I guess it's now time for you to go fission. Michael. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-

Re: [Zope-dev] Getting Unauthorized from __bobo_traverse__.

2001-09-13 Thread Michael R. Bernstein
On Wed, 2001-09-12 at 22:45, Erik Enge wrote: > [Evan Simpson] > > | If you grab OFS/Traversal.py (I think) from the CVS root, it should > | fix the problem. > > *scabbers off to the CVS* Thanks! :) Eeew! I hope you meant 'scampers', as I have horrific visions of what 'scabbering off' would l

Re: [Zope-dev] Patching Zope Products .. next Question

2001-07-11 Thread R. David Murray
On Wed, 11 Jul 2001, Ulrich Eck wrote: > the CMFDefault.Document for example is still subclassed from > CMFCore.PortalContent (the default) and therefore doesn't behave > like a dataskin .. > > any ideas ? You can hotpatch the __bases__ attribute of the derived class. --RDM _

Re: [Zope-dev] Management Interface in ZODB

2001-07-11 Thread Tim R Ansell
Okay everything works as it should now This patch allows you to store the Zope management interfaces inside the ZODB. It does this by making the manage stuff inheritable and giving the defaults to the root of the folder (This means that the management can't be changed for the root folder - w

[Fwd: Re: [Zope-dev] Management Interface in ZODB]

2001-07-11 Thread Tim R Ansell
Original Message Subject: Re: [Zope-dev] Management Interface in ZODB Date: Tue, 10 Jul 2001 22:29:46 +0930 From: Tim R Ansell <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Andreas Jung <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <036d01c10

[Zope-dev] Management Interface in ZODB

2001-07-09 Thread Tim R Ansell
I have a couple of small patches here that allow you to override the manage options (i.e. manage_tabs, manage_page_header, manage_page_footer) in the ZODB. This simple patch seems a nice way to provide this option without breaking compatibility with the current system. It patches the App/Managemen

Re: [Zope-dev] ZPL and GPL

2001-06-27 Thread R.
On 26 Jun 2001 23:37:25 +0200, Erik Enge wrote: > On 26 Jun 2001, Michael R. Bernstein wrote: > > > DC has been up-fron about how they make money. They do so by selling > > development services using Zope as a toolkit/platform. > > Yes, and forcing those paying customers

Re: [Zope-dev] ZPL and GPL

2001-06-27 Thread R.
On 27 Jun 2001 09:06:16 -0400, Paul Everitt wrote: > > With great trepidation, I add a post to this thread. As Barry has > mentioned, this has all been discussed a LOT. I'll try to summarize and > clarify a few points: > > 1) I wanted to specifically address something in Michael's post here.

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 26 Jun 2001 10:30:06 -0400, Barry A. Warsaw wrote: > > > "JA" == Jerome Alet <[EMAIL PROTECTED]> writes: > > JA> For Zope it's not sure, but for Python, as well as for all > JA> what people usually call "open source" languages, the license > JA> of choice should be the GPL, or

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 26 Jun 2001 09:46:09 +0200, Erik Enge wrote: > On Tue, 26 Jun 2001, Jerome Alet wrote: > > > For Zope it's not sure, but for Python, as well as for all what people > > usually call "open source" languages, the license of choice should be > > the GPL, or at least the LGPL, in order for the lang

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 25 Jun 2001 21:54:16 +0200, Jerome Alet wrote: > On Mon, Jun 25, 2001 at 12:22:32PM -0700, Michael R. Bernstein wrote: > > > > Other than keeping the door open for this eventuality, is there any > > other reason to choose a BSD style license over the GPL? > > ... &g

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 26 Jun 2001 10:29:39 +1000, Anthony Baxter wrote: > > >>> Michael "R." Bernstein wrote > > Unless I've misunderstood something (which is certainly possible), DC > > doesn't seem to have anything to lose by switching from a BSD style > &g

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 26 Jun 2001 09:30:49 +1000, Richard Jones wrote: > On Tue, 26 Jun 2001 05:22, Michael "R." Bernstein wrote: > > On 25 Jun 2001 10:26:10 -0400, Shane Hathaway wrote: > > > According to management, there's a zope-license list somewhere and we > > >

Re: [Zope-dev] ZPL and GPL

2001-06-26 Thread R.
On 26 Jun 2001 00:29:05 +0200, Erik Enge wrote: > On 25 Jun 2001, Michael R. Bernstein wrote: > > > Other than keeping the door open for this eventuality, is there any > > other reason to choose a BSD style license over the GPL? > > Yes. A commercial one; an imperativ

Re: [Zope-dev] ZPL and GPL

2001-06-25 Thread R.
On 25 Jun 2001 10:26:10 -0400, Shane Hathaway wrote: > According to management, there's a zope-license list somewhere and we > expect to move to a GPL compatible license. Paul says: > > "I think the goal should be for Zope and Python to converge on the same > license, with perhaps the new license

Re: [Zope-dev] Speed up the learning curve

2001-06-25 Thread R. David Murray
On Sun, 24 Jun 2001, Dieter Maurer wrote: > Rene Pijlman writes: > > A suggestion to cut the Zope learning curve down by half a day... > > > > When the programmer forgets the docstring in a method of a Python-based > > product, instead of saying > > > >"Sorry, the requested resource do

Re: PossitionIndex (was: Re: [Zope-dev] ZCatalog phrase indexingrevisited)

2001-06-18 Thread R. David Murray
On Sun, 17 Jun 2001, Chris McDonough wrote: > index_object, because the splitter return has all the words > in order, even the dupes... as you iterate, you can mutate Is this part of the current formal Splitter Interface? If not, it needs to be if other code is going to depend on it. Oh, yeah, a

Re: [Zope-dev] [Announce] API Documentation Fishbowl Project

2001-06-07 Thread R. David Murray
On Wed, 6 Jun 2001, jimbo wrote: > I believe that if you are a true developer you will/can figure out the api given >the vast information available today. > For example the dcworkflow product was just released. I believe the best >documentation would be how-to actually use the product. Ah,

Re: [Zope-dev] Streaming and PCGI

2001-06-06 Thread R. David Murray
On Wed, 6 Jun 2001, Andre Schubert wrote: > Can anybody explain me why streaming over PCGI doesn't work, or has > anybody a solution of streaming with PCGI ??? Perhaps the PCGI has its own timeout that doesn't wait even if it has been given some headers. I wonder if Apache ProxyPass has the same

[Zope-dev] How do I create entries in another folder

2001-06-05 Thread r . laarhoven
I am new with zope and i am trying to foundout something i found in the zope book on www.zope.org. >From the zope book i found this piece of code to create an entry in a guest book """ Create a guest book entry. """ # create a unique document id id='entry_%d' % len(con

Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-03 Thread R. David Murray
On Fri, 1 Jun 2001, Ng Pheng Siong wrote: > > Actually I have wondered something about that... Why does it always show > > up as linux2 even when not on linux? I'm on FreeBSD using a compiled from > > source python and Zope and it still shows up as Linux. > > lib/python/version.txt > > Just edi

RE: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001 [EMAIL PROTECTED] wrote: > My impression is that FileStorage implements a 32-bit id-type-thingy > somewhere (look at ZODB docs, I think there is something about this > somewhere), which limits it (in addition to the Linux kernel ext2 fs limit), > to < 2GB. With 7.5 GB, I'd use

Re: [Zope-dev] Does creating REAL over-the-web Python code becomerealistic with Zope 2.4?

2001-06-01 Thread R. David Murray
On Fri, 1 Jun 2001, E. Seifert wrote: > at http://dev.zope.org/Resources/ZopeDirections.html: > >The major goal will be to simplify how components (now called products) > >are built and used. For example, currently some products are built in the > >filesystem and some are built in the object datab

Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray
On Thu, 31 May 2001, Andre Schubert wrote: > I tested with lynx. If i type http://somewhere.com/foo/test i got no > response because timeout, this means, that RESPONSE.setStatus and the first > RESPONSE.write are sent back to the client if the body processing is done, > but i would send every comm

Re: [Zope-dev] Browser Timeout

2001-05-30 Thread R. David Murray
On Wed, 30 May 2001, Andre Schubert wrote: > Is it right, the the browser send a request and got the response when > the site is completly rendered( all queries executed ) ? > If yes, how can i directly write to the client. First all headers, and > after every query send the data to the client, if

Re: [Zope-dev] What would *you* like to have in PropertyManager andfriends?

2001-05-29 Thread R. David Murray
On Tue, 29 May 2001, Chris Withers wrote: > > As for nicer interface... I guess you' ll have to elaborate a > > bit ;-) > > Well, I think it's manage_changeProperties (nasty name for starters) that > deletes any property you don't include in its arguments, see the interfaces > wiki for details.

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-21 Thread R. David Murray
On Thu, 17 May 2001, Casey Duncan wrote: > You should create an instance method (It will need to be a Python > script, DTML methods cannot be indexed)to return the result of the value To my understanding, this is not true. DTML Methods *can* be indexed, they just can't make use of REQUEST in wha

Re: [Zope-dev] manage_workspace => index_html

2001-05-15 Thread R. David Murray
On Tue, 15 May 2001, Chris Withers wrote: > If so many browsers do this wrong (the list seems to currently be IE, Mozilla, > Lynx and W3M... at Netscape and you'll have about 99% coverage ;-) maybe it's > Zope that's wrogn by way of being in the minorty? > > peanut-gallery-ly yours, The problem

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-11 Thread R. David Murray
On Fri, 11 May 2001, Chris Withers wrote: > > Probably not appreciably... unless it is, of course. ;-) It depends how > > many things you're iterating over. > > Hehe, I'll leave it then, unless someone complains abotu Squishdot being dog > slow... If you haven't already read it, you might be i

Re: [Zope-dev] Object dereferancing Question

2001-05-08 Thread R. David Murray
On Tue, 8 May 2001, Jeff wrote: > I have created a product with a zclass that contains a zclass; classA contains >classB. [...] > Now for the part I don't understand. > I have a page where I would like dynamically display a classB object. I used the >following: > > > > Where 'index_objec

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread R. David Murray
On Tue, 8 May 2001, Chris Withers wrote: > Chris McDonough wrote: > > Have you read the Interfaces.py file in the BTrees directory? > > I have now, and to be honest, it didn't mean a lot to me :-( > > Sorry, it's late here, what am I missing? My guess, after searching for the keyword 'map' and

Re: [Zope-dev] ZCatalog comments

2001-04-30 Thread R. David Murray
On Fri, 27 Apr 2001, Chris Withers wrote: > Wildcards? Hmmm... that's enticing, where and how will they be supported? Wildcards are supported (and have been for a while) in text index searches if you specify a globbing vocabulary at Catalog creation time. --RDM __

[Zope-dev] Permissions to change Acquire Permissions?

2001-04-27 Thread Tim R Ansell
I was wondering if it would be possible for a new permission to be created, this permission would let (or stop) people from changing the Acquire Permissions check boxes found in the Security Tab. The reason I would like a permissions like this is that some users that need to give people permissio

Re: [Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
On Thu, 19 Apr 2001, Chris McDonough wrote: > http://www.zope.org/Documentation/ZDG/Security.dtml (see Using > ModuleSecurityInfo Objects) > > I think it will be something along the lines of: > > from AccessControl import ModuleSecurityInfo > ModuleSecurityInfo('Products').declarePublic('SignedE

[Zope-dev] how to add to the pythonscript allowed import list?

2001-04-19 Thread R. David Murray
I've got a little Product that does some init hacks. One of the things I want to do is expose a couple of python fuctions such that they can be imported into pythonscripts. After much spelunking in the mailing list and the PythonMethods wiki on zope.org, I *think* that what I need to do is somet

Re: [Zope-dev] Re: RackImage

2001-04-17 Thread Michael R. Bernstein
Martijn Pieters wrote: > > On Mon, Apr 16, 2001 at 06:37:57PM -0700, Charlie Blanchard wrote: > > On Tue, Apr 17, 2001 at 11:11:33AM +1000, Itai Tavor wrote: > > > > > > Here it is. Hope any of it is any help. > > > > My Mutt emailer calls the .tgz file a mac-binhex and none of the > > usual util

Re: [Zope-dev] cvs checkin?

2001-04-16 Thread R. David Murray
On Mon, 16 Apr 2001, Andy McKay wrote: > I suppose, its just not really a bug and I've always thought of the > collector as bug db. One of the options when you submit is "feature request w/patch". So the "bug collector" probably needs a name change... On the other hand, we all know about the sli

[Zope-dev] Re: RackImage

2001-04-13 Thread Michael R. Bernstein
Itai Tavor wrote: > > Thanks, Michael! Turns out I just had to make a few small changes in > my product to get it to work, which I discovered looking at yours. > > Don't know if anything in my product that it would be interesting to > add to yours... it's aimed at storing photos for a product ca

Re: [Zope-dev] un-own an object

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: > Ok, so imagine a DTML method has an owner, and as the docs say the method > can do no more than the authenticated user and the owner's permissions > combined. So, now delete the owner. No, it is the *intersection* of the two ownership sets, not the un

Re: [Zope-dev] turn off proxying TTW

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: > How in the heck do I do this? (also, does anybody know how to make an owned > object "unowned"). It seems that once I select a proxy role, I can't turn > it off... You just deselect the proxy role in proxy screen and click save changes, as far as I k

[Zope-dev] Virtual DataSkins

2001-04-12 Thread Michael R. Bernstein
Steve Alexander wrote: > > In the ScinScript, you need to determine what data to use based on > self.id. Here's the SkinScript I use for a similar function; I'm > creating "virtual" instances of one ZClass, based on instances of a > different ZClass from another Specialist. In this case, the othe

[Zope-dev] Re: RackImage

2001-04-12 Thread Michael R. Bernstein
Itai Tavor wrote: > > Could I get a copy of this product? I'm trying to create a > Rack-mountable Image class but I'm having a lot of trouble getting a > class subclassed from Image and DataSkin to work. Having some working > code could save me some trouble. > > I only need the basic RackImage,

Re: [Zope-dev] Image Archive Project (phase 2)

2001-04-10 Thread Michael R. Bernstein
"Michael R. Bernstein" wrote: > > Ok, so what's next? Somehow, ArchiveImages must be made > aware of what Renderings they have. > > The ArchiveImage Specialist needs a getRenderingIds() Python > Script, which in turn calls > container.Renderings.getRendering

[Zope-dev] Image Archive Project (phase 2)

2001-04-09 Thread Michael R. Bernstein
Ok, I now have the following setup: ArchiveImages (Specialist) defaultRack traversal (SkinScript) traversal_method (Python Script) Renderings (Specialist) defaultRack The SkinScript in ArchiveImages/defaultRack simply points __bobo_traverse__ to traversal_method. traversal_method, in tur

Re: [Zope-dev] ZPatterns sub-Specialist traversal

2001-04-09 Thread Michael R. Bernstein
With some help from the kind folks on #zope, this has been solved. "Michael R. Bernstein" wrote: > > Here is what I've done: > > ArchiveImages (Specialist) > defaultRack > traversal_method (Python Script) > traversal (SkinScript) > Renderings (su

Re: [Zope-dev] 27 million objects.

2001-04-09 Thread Michael R. Bernstein
Andy McKay wrote: > > Any cataloguing and un-cataloguing of an object is expensive, c'mon you are > changing all the indices, vocabulary and so on. You never notice it normally > for 1 - 10 things, but run an import script of 1 and catalog each object > as it gets added (rather than all of th

[Zope-dev] DTMLOverride

2001-04-08 Thread R. David Murray
I came across a need to modify a couple DTML Methods of a Product I was using. (It's my own product, but ignore that for now ). I didn't want to modify the code of the product, because then I'd loose changes if I upgraded the product. First I just wrote a little product whose init method went i

Re: [Zope-dev] ZPatterns sub-Specialist traversal

2001-04-06 Thread Michael R. Bernstein
Ulrich Eck wrote: > > > traversal_method has 'REQUEST, name' as parameters, and the > > following body: > > > > return getattr(container.Renderings, name) > > > > The 'traversal' SkinScript has the following body: > > > > WITH SELF COMPUTE __bobo_traverse__=traversal_method > > > > > > try: > >

[Zope-dev] ZPatterns sub-Specialist traversal

2001-04-06 Thread Michael R. Bernstein
Hello all, I've been trying to follow the instructions for getting subSpecialist instances to appear as directly traversable from Specialist instances, but have not yet had any success. Here is what I've done: ArchiveImages (Specialist) defaultRack traversal_method (Python Script) traversa

Re: [Zope-dev] 27 million objects.

2001-04-05 Thread Michael R. Bernstein
Erik Enge wrote: > > The programmer solving our problems with the post codes has solved it in a > different way than what I would've done (his method is way superior), so > we're not ending up adding all addresses as Zope Objects. Oh well. Does anyone else have any setups that store truly massiv

[Zope-dev] .zexp format deprecated?

2001-04-04 Thread Michael R. Bernstein
Hi all, Someone just mentioned on the #zope IRC channel that they saw a comment to the effect that the 'zexp format was 'deprecated'. Can anyone confirm this? what release will no longer support the format? Michael Bernstein. ___ Zope-Dev maillist -

Re: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA

2001-04-04 Thread Michael R. Bernstein
> Mike Blake wrote: PLEASE don't post HTML email to the list. Thank you. Michael Bernstein ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://

Re: [Zope-dev] ZPatterns Image Archive Project

2001-04-02 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: > > At 01:45 PM 4/1/01 -0700, Michael R. Bernstein wrote: > > > >It seems as though the manage_upload method is supposed to > >hand off the image data to RenderingKinds, which in turn > >either replaces the image data in existin

Re: [Zope-dev] ZPatterns Image Archive Project

2001-04-02 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: > > At 05:08 PM 4/1/01 -0700, Michael R. Bernstein wrote: > > > >I'm also assuming that RenderingKinds' defaultRack is set to > >use 'ZPatterns: DataSkin' and be set to load by accessing > >the 'id'

[Zope-dev] SkinScript Questions

2001-04-01 Thread Michael R. Bernstein
Hi all, I had some questions about SkinScripts: 1) Are there any naming conventions for SkinScripts? 2) Is there any reason (other than factoring) to split SkinScripts up, or is putting all your declarations in one SkinScript ok? Thanks, Michael Bernstein. ___

Re: [Zope-dev] ZPatterns Image Archive Project

2001-04-01 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: > > By the way, RenderingKinds is a sort of specialist that hasn't been > discussed much outside of the apps Ty and I work with - the "constant" > Specialist, one which contains application configuration or metadata rather > than "content". Oftentimes it's handy to simply

Re: [Zope-dev] ZPatterns Image Archive Project

2001-04-01 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: > > At 08:59 PM 3/30/01 -0800, Michael R. Bernstein wrote: > > > >The terminology I'm using is ArchiveImage (for the 'Image' > >class) and RackImage (for the 'Rendering' class). > > I'd recommend a

Re: [Zope-dev] Medusa and HTTP/1.1

2001-03-31 Thread R. David Murray
On Fri, 30 Mar 2001, Dieter Maurer wrote: > This can be quite tricky, as it is not obvious at all what are the > components of a page. You can also fairly easily envision a case where none of the elements of a page has changed, but the content of the page itself is different from the last time th

[Zope-dev] [Mini-HowTo]: Multiple Selects in ZClass Edit Forms

2001-03-31 Thread Michael R. Bernstein
Problem: --- You want your ZClass instance edit form to correctly display the currently selected values for a multiple selection property. Assumptions: --- You have a ZClass that has a multiple select property named 'format' with a value set to 'format_list'. You have a 'format_list

Re: [Zope-dev] ZPatterns Image Archive Project

2001-03-30 Thread Michael R. Bernstein
"Phillip J. Eby" wrote: > > At 07:30 PM 3/30/01 -0800, Michael R. Bernstein wrote: > > > >Well, I want to store several versions of each image. Let's > >take a simplified case where I want the original image and a > >thumbnail, both of which need to a

<    1   2   3   4   >