Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
On Wednesday 19 December 2001 10:11, Jon Erickson wrote: I need a to create a simple counter variable that will store the number of iterations by a dtml-in structure. I have yet to find a way how to do this in zope. Here is an example (in perl) of what I need to do: The number of iterations

Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
I will need to use the $counter variable later on in the script. Oh sorry, forgot that one... Inside your loop, you can do: dtml-if sequence-end dtml-call REQUEST.set('counter',_['sequence-number']) /dtml-if But then again, this would only give the _total_ number of iterations that have

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
On Friday 07 December 2001 12:57, Clark O'Brien wrote: I don't think ZC feels this way. Note the comment by Hadar Pedhazur, Chairman of Zope Corporation: comment at:http://www.zope.com/News/PressReleases/DC2ZC This name change is intended to ensure that Zope and the company that develops

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
S, We're eating... Danny On Friday 07 December 2001 13:43, Clark O'Brien wrote: No I am not implying anything other then there is competition in the Zope marketplace and ZC has positioned itself to be the one that ends up with the most beans. This is what makes the free market work

Re: [Zope-dev] Another open letter. :-)

2001-12-02 Thread Danny William Adair
Hello Lennart, On Monday 03 December 2001 05:06, Lennart Regebro wrote: After the discussion here I'm slowly starting to form a picture in my mind of how to solve the problems. First some basic facts of life: - Zope corp needs to do what Zope corp thinks it can make money on. - We (that

Correction - was: Re: [Zope-dev] Another open letter. :-)

2001-12-02 Thread Danny William Adair
On Monday 03 December 2001 10:09, Danny William Adair wrote: Introduced to us as the Portal Toolkit, later labeled as probably evolving into a commercial product (couldn't find it in the archives when I tried a minute ago, but I know I wasn't dreaming when I read it), then renamed to Content

Re: [Zope-dev] Open letters, hijacking and the like

2001-12-02 Thread Danny William Adair
Hello Clark, I see your point here, and I understand your problem. But I do not share your opinion, especially when it comes to its conclusion. (branching) Zope Corp. is not living in a dream world: On the one hand ZC is this munificent benefactor of Zope. On the other hand ZC is this

[Zope-dev] Open letters, hijacking and the like

2001-12-01 Thread Danny William Adair
Hi! Wow, this is the first time I have more zope-dev mails in my inbox than from the main list (and I'm very happy that all this stays on one list). What I have seen from ZC up til now seems like they disclose practically everything but their client base, ok and maybe plans for a commercial

Re: [Zope-dev] Security Question

2001-11-28 Thread Danny William Adair
On Saturday 24 November 2001 01:40, Andre Schubert wrote: root/ index_html foo/ acl_users/ bar/ Image I have a image which could only be view by users with a role named foobar, these users are in acl_users. If i access the image through the web a must authenticate

Re: [Zope-dev] Security Question

2001-11-28 Thread Danny William Adair
This doesn't work, because the user it not known in root where the index_html is, the user is known in the folder view. Sorry. I think I read your first email a little too fast. This behavior is normal, and meant to strengthen Zope security. You are not calling the Image object, index_html

Re: [Zope-dev] compilezpy (compileall)

2001-11-21 Thread Danny William Adair
On Wednesday 21 November 2001 18:41, Richard Jones wrote: On Wednesday 21 November 2001 16:34, Danny William Adair wrote: As from what I know (leaving aside for a moment that I basically know nothing), Zope should be _started_ as root, but then be _running_ as nobody. This does make sense

Re: [Zope-dev] SearchIndex deprecation warning

2001-11-21 Thread Danny William Adair
On Wednesday 21 November 2001 22:48, Steve Alexander wrote: Danny William Adair wrote: Apparently one or more of my installed (third-party) products is causing this. I don't think so. Try this: delete all filesystem products from the Zope control panel, and restart Zope. I think you'll

[Zope-dev] SearchIndex deprecation warning

2001-11-20 Thread Danny William Adair
Hi! I would like to get rid of this: .../lib/python/SearchIndex/__init__.py:91: Deprecation Warning: ... blah ... Please use instead the re-factored modules in Products/PluginIndexes

Re: [Zope-dev] SearchIndex deprecation warning

2001-11-20 Thread Danny William Adair
On Wednesday 21 November 2001 14:49, Andreas Jung wrote: Zope 2.4 does not use the old SearchIndex package. So this warning is printed when 3rd party applications still use this package. Andreas Sorry. Please allow me to repost my second sentence: Apparently one or more of my installed

Re: [Zope-dev] compilezpy (compileall)

2001-11-20 Thread Danny William Adair
On Wednesday 21 November 2001 17:27, Richard Jones wrote: On Wednesday 21 November 2001 15:12, Danny William Adair wrote: I wondered if this (see subject) was totally necessary during the installation. My Zope installation seems to run fine when I delete all the *.pyc and just start

[Zope-dev] manage_pasteObjects and REQUEST

2001-09-18 Thread Danny William Adair
Hi! Does anyone know when manage_PasteObjects will stop requiring REQUEST to be passed? I want to mimick the Cut/Copy/Paste Support of the management interface in a UI of my own. my method objectsCut holds: dtml-call manage_cutObjects(REQUEST['ids'], REQUEST) while my objectsPaste method

[Zope-dev] Trying to set roles/permissions programmatically - Now I have a headache!

2001-04-27 Thread Danny William Adair
Hello! I want to set the roles of a permission and turn acquisition of a permission (mapping) on and off programmatically. And of course I want to get a permission by its name. This looks definitely more complex than simply changing an object's property! I took a look at the management

Re:[Zope-dev] Trying to set roles/permissions programmatically - Now I have a headache!

2001-04-27 Thread Danny William Adair
, and setRoles (and acquisition setting) works like I expected, phew. Thanks anyway, Danny -Ursprungliche Nachricht- Von: Dieter Maurer [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 28. April 2001 06.26 An: Danny William Adair Cc: [EMAIL PROTECTED] Betreff: Re: [Zope-dev] Trying

Re: [Zope-dev] url traversal

2001-04-26 Thread Danny William Adair
Hi Brett! Have you taken a look at the PathHandler Product? http://www.zope.org/Members/NIP/PathHandler/ This looks like an out-of-the-box solution for you. hth, Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Brett Carter Gesendet:

[Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread Danny William Adair
Hello warriors, what's the fastest way to find out whether a specific role has a specific permission on a specific object? What's the fastest way to find out if it's acquired? Even more interesting: How would I find out whether a specific role has a specific permission on a specific object,

[Zope-dev] PATH_INFO reliable?

2001-03-18 Thread Danny William Adair
I want to strip off the SERVER_URL of an absolute url (which I have as a string) without doing string manipulations. Is there some built-in function to do this? So what I'm looking for is actual the reverse of absolute_url. The request variable PATH_INFO looks very good, but I don't know whether

Re: [Zope-dev] zope on win95

2001-01-06 Thread Danny William Adair
http://www.zope.org/Products/Zope/2.2.4/Zope-2.2.4-win32-x86.exe 2.2.4 is the current stable release. Concerning the "execution" of DTML "files", "The Zope Book" might be a good starting point for reading some documentation: http://www.zope.org/Members/michel/ZB hth, Danny P.S.: Please

[Zope-dev] Access problems

2000-10-03 Thread Danny William Adair
Hi all! I have a serious and extremely urgent problem concerning my zope installation(2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --- Attribute Error --- Traceback (innermost last): File

[Zope-dev] DynPersist.so from ZPatterns 0-4-2a3

2000-10-03 Thread Danny William Adair
Hi all! I'm desperately looking for the DynPersist shared library (new for ZPatterns 0-4-2a3) in compiled form. Can someone help me (send it to me)? I'm running a Zope instance at NIP (www.nipltd.net), that's 2.2.1 on Unix platform. tia, Prost, Danny

[Zope-dev] Re: Thanks a lot, but...

2000-10-03 Thread Danny William Adair
from ZPatterns 0-4-2a3 Danny William Adair wrote: I'm desperately looking for the DynPersist shared library (new for ZPatterns 0-4-2a3) in compiled form. Can someone help me (send it to me)? I'm running a Zope instance at NIP (www.nipltd.net), that's 2.2.1 on Unix platform. Here ya go