Re: [Zope-dev] Problems with Zap

2000-08-09 Thread Shane Hathaway
Alvaro Carneiro wrote: Apache is exiting! I must be getting tired... at first I thought I read "Apache is exciting!" :-) Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] .zexp Security Concerns

2000-08-08 Thread Shane Hathaway
Chris Withers wrote: A few people have recently been asking about the ability to import .zexp's into the FreeZope accounts NIP offers. This is something we'd like to offer but need to understand the security risks first. IIRC, the reason why import is not available straight 'through the

[Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Will there be any access to the method/object that is being overridden from inside the one overriding it? Something like: 'self.__class__.my_method("blah")' Depends on whether the original method comes from a ZClass or product. If so, yes. But if it's a regular

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: Will there be any access to the method/object that is being overridden from inside the one overriding it? Something like: 'self.__class__.my_method("blah")' Depends on whether the original method comes from a ZClass

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: What happens if you override a method (say Squishdot.render) and then delete your overriding method? In that case the method will revert to that provided by the class. Does it depend on whether you're talking about python products or ZClasses? Nope. They will behave

Re: [Zope-dev] Re: Replaceable Property question

2000-08-07 Thread Shane Hathaway
Chris Withers wrote: Brian Lloyd wrote: So, how long before this becomes a project and gets finished? 2.2.1 would be great :-)) thanke for the great work, Chris Note that third-dot releases are bug-fix only. New features go into second-dot releases. D'oh ;-)

Re: [Zope-dev] MethodGeddon

2000-08-01 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: After more pondering I decided to throw out the idea for typed arguments. I was trying to solve a difficult problem with a roundabout, and in the end more difficult solution. I thought that's what the following proposal was all about? :S

Re: [Zope-dev] MethodGeddon

2000-07-31 Thread Shane Hathaway
Chris Withers wrote: http://www.zope.org/Wikis/zope-dev/MethodGeddon Just been reading about this and I was wondering how is coming along... After more pondering I decided to throw out the idea for typed arguments. I was trying to solve a difficult problem with a roundabout, and in the

Re: [Zope-dev] Use ZODB3 and ZCatalog for indexing purposes

2000-07-25 Thread Shane Hathaway
Thomas Weholt wrote: Hi, I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The actual cd-roms will seldom change after they've been registered, and I'd like to have some sort of auto-full-text-search feature. How does ZODB3 and ZCatalog fit in this picture? I'm NOT

Re: [Zope-dev] Incorrect Padding?

2000-07-24 Thread Shane Hathaway
Steve Alexander wrote: Chris Withers wrote: So what was causing the original error then? string.split('basic')[-1] was returning 'basic'. base64.decodestring('basic') causes an "Incorrect padding" error. base64.decodestring('basic ') causes an "Incorrect padding" error too.

Re: [Zope-dev] getting request variables values

2000-07-21 Thread Shane Hathaway
Steve Alexander wrote: My question is "why was __getitem__ of HTTPRequest.py designed this way?". Is there a good reason that it filters the keys according to membership of a standard-cgi-keys list, or whether they start with 'HTTP_' ? Would there be any disadvantage to altering

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Perhaps you can suggest a simple way to do something like the following: dtml-if "REQUEST.form.has_key('foo')" dtml-let previouslyEnteredValue="REQUEST.form['foo'] input type=text ... value="dtml-previouslyEnteredValue;" /dtml-let dtml-else input

Re: [Zope] Monitor

2000-07-21 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: Isn't anyone using the medusa/monitor_client.py script to debug their zopes? I can start it up fine and view the sequence of objects I have created, but my question is how do I access the return value of a DTML method? The Zope Debugging how-to is a little scant on

Re: [Zope-dev] Acquisition/cDocumentTemplate bug

2000-07-20 Thread Shane Hathaway
Oleg Broytmann wrote: Anyone is working on it? Should I put this into Collector or Tracker? Already there. The Zope project manager is gone for the week. Shane On Mon, 17 Jul 2000, Shane Hathaway wrote: This is an excellent bug analysis. I suggest that we create a new

[Zope-dev] Namespace passing proposal

2000-07-20 Thread Shane Hathaway
Zopistas, I've added a proposal to the fishbowl. It's a relatively safe change that would simplify a certain things, but it could break existing code and I'd like to know what you think. Please comment in the Wiki. Actually, even if you don't have anything to say you might be able to learn

Re: [Zope] Scarry BTreeFolder eats my 'contents' tab

2000-07-20 Thread Shane Hathaway
Dirksen Lau wrote: Just as soon as I restarted Zope after placing the BTreeFolder in the Products dir, wham! all my files were disappeared!! It took me quite a while to collect the pieces of my minds and pulled them together again when I discovered through FTP that my files were still

Re: [Zope] Infoworld Review of Zope

2000-07-20 Thread Shane Hathaway
Chris McDonough wrote: No. He got it wrong. ZEO is open-sourced, free, and available for download and has been since ~ a month ago. Write to the InfoWorld guy and tell him. :-) InfoWorld is notorious for misreporting then never retracting. We may need a letter-writing campaign. :-)

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Shane Hathaway
Luciano Ramalho wrote: Thank you very much for the correction. However, after checking your Wiki references, I must say I still don´t understand the difference between context and containment (these are words that I naively used as synonyms in my message). In

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Shane Hathaway
Chris Withers wrote: Andy Gates wrote: The poison SQL is this: select (dtml-var field, field2) from tablename where (field1= dtml-sqlvar parameter1 type=string and dtml-var field '') Now I guess our code wasn't like this, but I do

Re: [Zope-dev] Expanded access file (was Re: LoginManager patch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded "access" file might be the simplification of the setup process for customers. And it would also make it easier to:

Re: [Zope-dev] Expanded access file (was Re: LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 10:15 AM 7/19/00 -0400, Shane Hathaway wrote: Chris Withers wrote: "Phillip J. Eby" wrote: Maybe, maybe not. I think perhaps the most compelling argument from Digital Creations' viewpoint for having an expanded

Re: [Zope-dev] Expanded access file (was Re:LoginManagerpatch consideredharmful)harmful)

2000-07-19 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 11:09 AM 7/19/00 -0400, Shane Hathaway wrote: Patch opportunity, perhaps? :) Ty and I would do it, no problem. Heck, I've been tempted to do it as a LoginManager function, since Zope doesn't pay attention to anything past the first line of t

Re: [Zope-dev] Overriding a method in an instance.

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: I have an idea: the _objects attribute of ObjectManagers could include a "configurable" flag, which would tell _checkId that the object can be overridden. Shane, Is this what became the ConfigurableInstances thing at: http://ww

[Zope-dev] Re: ZCallable the Renderable Folders Patch

2000-07-19 Thread Shane Hathaway
Chris Withers wrote: Ah, so ZCallable is an inferior ZRenderable? *joke* :-) I made it 'cause it's simpler. And a memory lapse made me forget about Renderable. In fact I think ZCallable is a silly name. Actually the base class ought to be in standard Zope, not a product. And it should use

Re: [Zope] Time Precision in Zope

2000-07-19 Thread Shane Hathaway
Kelvin Cheong wrote: Is there a way i can grab the time value on my current system that Zope is running on with a MILLISECOND precision? Works on 2.2.0: dtml-var expr="_.DateTime().millis()" Shane ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope-dev] The Application object

2000-07-18 Thread Shane Hathaway
Yves-Eric Martin wrote: Shane Hathaway [EMAIL PROTECTED] wrote: You *must* remember to close the connection: app._p_jar.close() This is not mentionned in the above document, so I was doing without so far, and did not run into any problem. Now that I see it, I believe

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Oleg Broytmann wrote: Hardlinks are prohibited on directories; and 5 minutes ago you said all objects are foldersih :) I'm not sure if my statement applies in this situation... ;-) Hardlinks are prohibited on directories because it'd cause infinite loops

Re: [Zope-dev] Multi-homed objects?

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Shane Hathaway wrote: This could be part of a "visitor" interface I've been pondering in the back of my mind. It would be capable of traversing, performing an arbitrary function, and never falling into a recursive trap. Cool :-) Let me know when it's

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: Sorry I wasn't clear enough. The Singleton is a design pattern from the Gang of Four book that fits this situation well. It is a class that is meant to control access to the one and only instance of a global variable. I was just using that as a frame of

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. You certainly should not call reload(Zope), but the semantics of import are smart enough to only execute the module the

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
"Jeff K. Hoffman" wrote: Do I need to commit or abort even if I don't make changes to the application object? The only thing I need it for is to get to the Control_Panel; I am instantiating ZClass instances in the constructor of a Python class, i.e.: class MyClass: def __init__(self,

Re: [Zope-dev] The Application object

2000-07-17 Thread Shane Hathaway
Chris McDonough wrote: So it's kosher then to reimport the Zope module and use app() in a constructor method, Shane? I was always afraid it would do something horrible. Now that I've read this again I realize what you're saying. You're right, what happens is you get two connections

Re: [Zope-dev] Zope crashing on

2000-07-17 Thread Shane Hathaway
Steve Alexander wrote: Zope 2.1.6 I'm using a "walk the tree" method of updating instances of a Python class, using an external method. Is there any reason that the following excerpt from an external method would cause Zope to crash shortly after it's been run on all suitable objects?

Re: [Zope] Enitity syntax and 2.2

2000-07-17 Thread Shane Hathaway
Chris Withers wrote: Hi, Just wondering if the entity syntax has been updated in 2.2 yet so I could do something like the following: dtml.url-/folder/object/method; Hmm. Nope. Ought to be though, IMHO. Collector? Shane ___ Zope maillist

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Shane Hathaway
Erik Enge wrote: Hi. I've been browsing through the Zope and Zope-dev archives without finding anything related to this, please stop me if it has already been dealt with. :) technical person = someone who doesn't mind fuzzing around with the manage_main pages

Re: [Zope] 2.2.0 and Membership ... NoGo

2000-07-15 Thread Shane Hathaway
Bill Anderson wrote: Dunno what changed, but in 2.2.0b4 I could use Membership w/the latest ZPatterns just fine. In 2.2.0 when I try to add one, I get: "keyword redefined" errors. Phillip has already made a fix to ZPatterns that corrects the call to the product factory. It's in alpha 5.

Re: [Zope] Version Changes

2000-07-14 Thread Shane Hathaway
Tim Cook wrote: When Saving changes from a version are the notes entered in the text box logged anywhere? I can't seem to find them or any information about them. It would be handy to use them for a regular CHANGES file. They appear in the Undo log. Shane

Re: [Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Shane Hathaway
Steve Alexander wrote: Or... I could alter Shane's BTree Folder product to split it into a mix-in class and a usable folder class. Would that work, I wonder? I just tried it and discovered some subtle problems with __getattr__. It could be the result of TransparentFolders, which is also

Re: [Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Shane Hathaway
Bill Anderson wrote: I have been thinking, and I think I have got a good idea. So I figured I woudl toss it out for commentary. What we need now is a Mountable ZSS Product. This would be kind of a MountedStorage meets ZEO breed, where you would specify the ZSS host/port combo, and it could

Re: [Zope] For Newbies Only!

2000-07-13 Thread Shane Hathaway
"Christopher J. Kucera" wrote: Tim Cook wrote: Ok folks if you are like me and not only can't see the light but can't even find the path to the light try these things: 1. Do the Python tutorial. Well, I hardly count as a newbie any more, but I'll just add this: Learning Python was

Re: [Zope-dev] External Method Missery

2000-07-12 Thread Shane Hathaway
Steve Alexander wrote: Chris Withers wrote: I have an external method called navTree (dtml-tree was too broken to fix in the time frame :( ) with a spec as follows: def navTree(self,start): It's called in some DTML as: dtml-var "nav_tree(PARENTS[-2])" which is fine, unless

Re: [Zope-dev] manage_clone? (amongst others!)

2000-07-11 Thread Shane Hathaway
Chris, I'm sorry to hear about your challenges. I've had some myself. I think you're being bitten by a bug which prevented manage_clone from working in a lot of situations, but is solved in 2.2. The problem was that when a new object was placed in a container, it didn't get a _p_jar attribute

Re: [Zope-dev] Overriding a method in an instance.

2000-07-10 Thread Shane Hathaway
Chris Withers wrote: Monty Taylor wrote: Make a folder that contains the overridden methods and call things through the context of that folder. Neat trick :-) We love acquisiton, but it won't quite do it :( The default index_html will get called, unless you put /folder/ on the end of

Re: [Zope-dev] LoginManager patch considered harmful

2000-07-10 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 09:22 AM 7/10/00 -0400, Shane Hathaway wrote: The new security machinery actually provides a different way to solve this problem. Since we now have an execution stack, we can limit that stack, causing an exception to be thrown rather than letting it

[Zope-dev] Re: Expanded access file (was Re: LoginManager patchconsideredharmful)consideredharmful)

2000-07-10 Thread Shane Hathaway
Jim, Phillip has an idea that could make life simpler for Zope newbies. This would be intended for the next major Zope release. "Phillip J. Eby" wrote: Well, I'm hoping you'll take a look at my Collector suggestion for a new Zope feature. :) Specifically, extending the "access" file to

Re: [Zope-dev] More comments on ZPatterns

2000-07-10 Thread Shane Hathaway
"Phillip J. Eby" wrote: http://www.zope.org/Members/hathawsh/ConfigurableInstances/ Looks pretty good. A suggestion, however. There isn't any need to do it as a patch to ObjectManager.py; you can implement this in a Product just fine. Just organize it like this: (...) Thanks for the

Re: [Zope] DTML?

2000-07-10 Thread Shane Hathaway
Chris Withers wrote: Okay, seriously, DTML is really hurting Zope's chances with a lot of people/companies. DTML should be easier than, say, creating a Form in Lotus Notes or writing a component in Mason. That requries, IMHO: 1. Clear definition of when it should be used. 2. A clean, concise

Re: [Zope] Another DateTime Strangeness

2000-07-09 Thread Shane Hathaway
Nils Jeppe wrote: Zope just stored a DateTime I entered as 13:14 in a slightly odd way: 2000/07/09 13:13:60 GMT+1 Known bug? Yes, and fixed in 2.2. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Calculate difference between time input?

2000-07-07 Thread Shane Hathaway
Peter Arvidsson wrote: How do I calculate the difference between two times I get from a from? Lets say time a = 09:45 and time b = 11:15 Then I want to calculate the difference. How do I calculate it? I'd also like to know how to get the answers in differen formats. For example

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: I propose a Restricted Creation Interface - when an ObjectManager constructs it's Add list in manage_main, it first checks with each addable class if it's instances can be added in this specific ObjectManager. The place where this is needed most (IMHO) is for

Re: [Zope] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Shane Hathaway
Hello Gilles, I think you've been bitten by a recently solved bug in dtml-try. When 2.2.0b4 comes out, please download it and try it out with your DTML (or if you're in a hurry, download from CVS.) If 2.2.0b4 doesn't solve it, e-mail me right away. Shane Gilles Lavaux wrote: Hello, I

Re: [Zope] Help needed: why is this DTML not working in zope 2 ?

2000-07-04 Thread Shane Hathaway
Shane Hathaway wrote: I think you've been bitten by a recently solved bug in dtml-try. When 2.2.0b4 comes out, please download it and try it out with your DTML (or if you're in a hurry, download from CVS.) If 2.2.0b4 doesn't solve it, e-mail me right away. Oops, looks like you solved

[Zope-dev] BTreeFolder released

2000-07-03 Thread Shane Hathaway
Zopistas, I had some inspiration today and discovered a simple way to write a BTreeFolder implementation. http://www.zope.org/Members/hathawsh/BTreeFolder/ It works better than I thought it would. It allows you to store thousands (well, I've tested it with only 1536, but I don't know of any

Re: [Zope] Local user groups (Virginia)

2000-07-03 Thread Shane Hathaway
"J. Michael Mc Kay" wrote: Does anyone here know of a local (Virginia, Richmond, Fredericksburg area) ZOpe/Python users group? You do know where Digital Creations is located, don't you? You ought to pay us a visit. :^) Shane ___ Zope

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.1.1... and rising. ;-)

2000-06-30 Thread Shane Hathaway
Steve Spicklemire wrote: I don't know if anyone out there is actually trying to *use* my ZCVSMixin/ZCVS Folder stuff, but if you are you certainly want to get the latest release, ZCVSMixin-0.1.1.tgz from the zope.org site: http://www.zope.org/Members/sspickle/ZCVSMixin Hi, Steve.

Re: [Zope] Messing with the namespaces stack [Was: (no subject)]

2000-06-30 Thread Shane Hathaway
Jim Hebert wrote: OK, I am just going to go ahead and spill the rest of what swirled around in my head about zope when I threw up this vistasource.com site, in the hopes that I'll either get another ego stroke (*grin*) or some more insights as to the reason why things are done the way they

Re: [Zope] Multiple clicks: how to handle them?

2000-06-30 Thread Shane Hathaway
Hung Jung Lu wrote: This must be a well-known problem: you click multiple times on a form button, and multiple requests are send to the server. On many websites they ask you not to click on the "confirm purchase" button twice, because otherwise you'll be charged twice. I've heard a

Re: [Zope] dhtml-try broken in 2.2.0b3?

2000-06-29 Thread Shane Hathaway
Fixed today. :-) Shane Cary O'Brien wrote: I was porting some stuff that had a dtml-try to the newest Zope (2.2.0b3) and I had problems with a dtml-try block. I tried a fresh install and had the same problem. To reproduce, create a DHTML method with dtml-try dtml-var "1/0"

Re: [Zope] Messing with the namespaces stack [Was: (no subject)]

2000-06-29 Thread Shane Hathaway
Jim Hebert wrote: I'll go ahead and embarrass myself now, and explain what I did. Other people can chime in with "wow, that was dumb, here's the right way to do that" as needed (I'd really welcome that, actually!). Actually what you did is pretty clever, Jim. It even relies on stable

Re: [Zope-dev] Calendar tag 0.9.6 breaks with 2.2.0b3??

2000-06-28 Thread Shane Hathaway
"Dr. Ross Lazarus" wrote: The point that I find hard to understand is that namespace in DT_Util has changed from 2.1.6 as follows ===2.1.6== class namespace_: pass def namespace(self, **kw): """Create a tuple consisting of a single instance whos

Re: [Zope] about double sorting

2000-06-23 Thread Shane Hathaway
frank cuzzocrea wrote: i made a tinytablesplus file, and i want their to be two sorts, the primary sort being last_name, and the secondary being first_name. i say a code the read something like this dtml-in xxx sort=last_name,first_name i tryed that, but got an error that said it

Re: [Zope-dev] strange permission errors again

2000-06-19 Thread Shane Hathaway
Robin Becker wrote: After the latest round of CVS updates I am again getting strange requests for authorisation in unusual places. No matter that I use my admin to try and validate they still occur. (etc) Brian fixed this up before and it has crept back in somehow. Thanks for the bug

Re: [Zope] Big folders

2000-06-17 Thread Shane Hathaway
Jimmie Houchin wrote: I've been studying SQL this week because I've been thinking that I'll probably have to use a RDBMS to develop my site. Ideally and philosophically I like ZODB. Mountable ZODBs give me much of what I need with the possible exception of a big folder problems. My

Re: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote: Its not a problem with ZScheduler, it a problem that no one has written a plug-in logging system that is good enough for what you are trying to do. The existing zLOG API is fine (well - it could be better), but

Re: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released

2000-06-14 Thread Shane Hathaway
Wolfgang Strobl wrote: On 12 Jun 2000, 17:36 Brian Lloyd wrote: Zope 2.2.0 beta 1 has been released - you can download it from ... After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple dtml-var "index_html.getSize()" This works in

Re: [Zope] How do you search Tiny Tables?

2000-06-14 Thread Shane Hathaway
Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], jesse [EMAIL PROTECTED] writes I created a tiny table and then fed the information into a DTML Method by inserting the tiny table subject headers into a table I creating inthe method html.

Re: [Zope-dev] package descriptions

2000-06-13 Thread Shane Hathaway
"LEE, Kwan Soo" wrote: Cool. Now it's more helpful. ... However, sorry to say, I can't read well the titles of the products. Would you make the grey lighter? I would also remove the numerous blue bars and just put them at the top and bottom of each section... but that's just me. Shane

Re: [Zope] Traversable DTML methods

2000-06-12 Thread Shane Hathaway
Shalabh Chaturvedi wrote: I just created a 'Traversable DTML Document' product. You can get it here: http://www.zope.org/Members/shalabh/TraversableDTMLDoc/ It is a ZClass product based on the TraversableMixin (which you'll have to install anyway) to be found here:

[Zope-dev] Racks and Specialists Simplified

2000-06-11 Thread Shane Hathaway
Phillip, I believe I have come to understand the basics of ZPatterns and would like to be sure I understand correctly, as well as help others understand also. I like to think of a specialist as a filing clerk. A manager comes to the clerk asking for an employee's dental records. Because of

Re: [Zope-dev] Racks and Specialists Simplified

2000-06-11 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 02:33 PM 6/11/00 -0600, Shane Hathaway wrote: I believe I have come to understand the basics of ZPatterns and would like to be sure I understand correctly, as well as help others understand also. Bravo! An exquisite introduction to the purpose of ZPatt

Re: [Zope-dev] Repeating a piece of HTML code

2000-06-02 Thread Shane Hathaway
Alex Mendez wrote: Hello, it's the first time I write here and I'm a newbie at Zope, so maybe I'm asking a stupid question... Case is I retrieve from my movie database the value of the movie from 1 to 5 stars. I would like to repeat that n times the code img SRC="star.gif" height=15

Re: [Zope] Aquisition questions

2000-06-02 Thread Shane Hathaway
Ian Sparks wrote: Is there a way to enforce URL's be traversed in a set way? Thus making : mysite.com/Users/Fred/Flavor/Cherry/test valid while mysite.com/Flavor/Cherry/Users/Fred/test becomes invalid. You could set up an object called "Users" that would be found only if the user goes

Re: [Zope] Virtual host admin under Apache+ZServer+SiteAccess

2000-06-02 Thread Shane Hathaway
J M Cerqueira Esteves wrote: On Fri, Jun 02, 2000 at 09:02:11AM +0100, Phil Harris wrote: Try going to http://localhost:8080/__no_before_traverse__/manage Oops, I should have re-read SiteAccess docs... Thanks. After a few tests it seems to work normally except for one feature:

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Shane Hathaway
Anthony Baxter wrote: I'm curious - could you elaborate on the security issues of this? The convenience of not having to write an External Method each time you want to mount or unmount a ZODB is high. :) Okay, I looked a little more and I see you're not allowing slashes in the filename.

Re: [Zope-dev] [announce] for the CVS junkies: multiple ZODB mounting product.

2000-06-01 Thread Shane Hathaway
Anthony Baxter wrote: Hm - it's not possible for a Manager in a higher level to remove privileges from a manager defined in a subfolder, I think. A pity. Will document it. My feeling is that _no_one_ should ever have the Manager role in a user folder besides the root user folder. The problem

Re: [Zope] get objects DTML Document having Property order...

2000-05-30 Thread Shane Hathaway
"QUIN Frédéric" wrote: Hello, I want to do : dtml-in "objectValues('DTML Document')" sort=order ... /dtml-in I have some DTML Documents which don't have the property "order", and I don't want to consider those documents in my loop. But if I put the "sort=order" option, Zope raises

Re: [Zope] Zope documentation

2000-05-30 Thread Shane Hathaway
Graham Chiu wrote: I may be a bit naive, but it seems to me that one should be able to build a tool (object inspector) which when queried will produce all the methods of a queried object, the property sheets, the variables of the property sheets, the applicable methods, and report back the

Re: [Zope-dev] Expression syntax for sort= attribute in dtml-in .. tag.

2000-05-29 Thread Shane Hathaway
Adam Karpierz wrote: It's very, very... great news that Ross Lazarus's multikey sort patch for dtml-in tag is included in current Zope CVS and will be included in Zope 2.2. dtml in "foo" sort=akey,anotherkey But for me one important thing is very missed. Possibillity of use

[Zope] Zope-Edu Wiki

2000-05-29 Thread Shane Hathaway
Your attention please! The following persons will report at once to the new Zope-Edu wiki at http://www.zope.org/Wikis/zope-edu . They will then proceed to the Contributors page, click the question mark by their name, and enter biographical information and what projects they are working on

[Zope] Wiki change notification

2000-05-29 Thread Shane Hathaway
Zopistas, I had an idea today that I thought was worth trying out. I added to a few FrontPage's some HTML which allows you to receive notification every time any page in a Wiki changes. It uses the NetMind service. Just go to the Interfaces Wiki and enter your e-mail address at the bottom of

Re: [Zope] Higher Education

2000-05-27 Thread Shane Hathaway
Phil Langton wrote: As for a name, how about ZEN? Connotations of enlightenment and could stand for 'Zope Education Network' That would be a name clash--Zope Zen is defined as enlightenment in the art of Zope. ;-) I think we should back away from the naming issue and just see what comes out

Re: [Zope] Higher Education

2000-05-26 Thread Shane Hathaway
Phil Langton wrote: Someone has mentioned that Digital Creations has taken on someone who is to implement a zope-based virtual learning environment tool kit. Is this so? Any mailing lists or contacts or test areas? You're probably referring to me. I haven't taken an active role in this

Re: [Zope] Controlling HTTP_REFERER

2000-05-26 Thread Shane Hathaway
John Hile wrote: You might try creating a frameset. Make a very small frame at the top of the window that permits the user to return to your site and take up the rest of the window with the other site. Thanks for the suggestion, but it isn't the back button I'm concerned about. I'm

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: In a previous posting about Netscape Image problems I mentioned a weird interaction between int() and DateTime.timeTime(). I can reproduce the error within the python interpreter as follows- Python 1.5.2 (#5, Jan 6 2000, 17:10:24) [GCC egcs-2.91.66

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Shane Hathaway
Steve Spicklemire wrote: Hope that helps It's really shocking just how easy it was to do this makes me wonder why it hasn't been done already, and *that* makes me wonder if I'm doing something really dumb here. ;-) It seems kinda cool to me. I find that the same phenomenon keeps

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-24 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: On Mon, May 22, 2000 at 03:10:59PM -0500, Jon Delheimer wrote: Shane, I made the changes you suggested to Image.py. Here are the results: Thursday, 11-May-00 16:21:32 GMT 1900/05/11 16:21:31 GMT -2197697908.0 I have stepped through the debugger

Re: [Zope] Collector status on password change bug?

2000-05-24 Thread Shane Hathaway
Kent Polk wrote: I see that the "Can't change User Roles without their Password" bug mentioned in: http://classic.zope.org:8080/Collector/1102/view http://classic.zope.org:8080/Collector/1134/view http://classic.zope.org:8080/Collector/1138/view (etc) is still in 2.1.6

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Shane Hathaway
John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K

Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Shane Hathaway
Heine Gregor wrote: I want to write an Product that mirrors every ZODB-Transaction to a Backup-Server. The idea was to trap every transaction (i.e. creation, change, deletion of zope-objects) and transfer a copy of the object to another server (via XML-RPC?!?) after the transaction got

<    2   3   4   5   6   7