[Zope-dev] Adding functions to _

2000-09-18 Thread Itamar Shtull-Trauring
I'm using CVS Zope, and I want to add a function of mine to _, so I have the following code in a Product's __init__.py: from log2vis import log2vis from DocumentTemplate.DT_Util import d d["log2vis"] = log2vis However, when I call the function, I get an error about DocumentTemplate,

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Simon Michael
Chris Withers [EMAIL PROTECTED] writes: I wonder what Simon Michael is up to nowdays? I have been visiting family.. I'll be back in the US next week. Great thread here. I also feel this pain, grovelling around between wiki, mailing list, newsgroup, message board, etc. I wonder if we should

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
On Fri, 15 Sep 2000 11:27:33 -0400 (EDT), Ken Manheimer [EMAIL PROTECTED] wrote: (Not sure that will scale, but creating new lists for each proposal definitely won't scale. I dont see this as a problem: You only create a new list when the traffic for that proposal gets too great for zope-dev.

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-18 Thread Toby Dickenson
On Fri, 15 Sep 2000 11:40:09 -0400 (EDT), Ken Manheimer [EMAIL PROTECTED] wrote: Do you feel that weblogs are bad models for debates? I find the wiki and weblog tools available today to be inferior to mailman for debates, and it will take alot of work to develop WikiNG into a serious contender.

[Zope-dev] Calendar tag 0.9.22 released

2000-09-18 Thread IbaƱez Palomar Juan David
Hi all, There's a new version of the calendar tag, I need feedback about it, specially from those who use the "setCalendar('url_', ...)" hook or the "linkDate(...)" function. thanks, david ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Evan Simpson
From: Phillip J. Eby [EMAIL PROTECTED] [snip description] The effective external behavior of these two attributes, would be to let a web designer load and save any page or template they wished in the site, freely making changes to the header, footer, or various embedded elements thereof, and

Re: [Zope-dev] Adding functions to _

2000-09-18 Thread Evan Simpson
From: Itamar Shtull-Trauring [EMAIL PROTECTED] However, when I call the function, I get an error about DocumentTemplate, from which I discovered that when I call _.logvis('a_string'), instead of the string being passed as the first parameter, _ is passed as the first parameter to my function,

[Zope-dev] soap and zope

2000-09-18 Thread Magnus Heino (Rivermen)
Has anyone done anything with soap and zope? /Magnus Heino ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack of support for local roles. Specifically, members do not show

[Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Kevin Howe
Hi, I'm wondering if it is possible to use ZPattern Plugins in a non-ZPatterns Product? Allowance for Plugins would be a very useful feature in many applications. kh ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Steve Alexander
Kevin Howe wrote: Hi, I'm wondering if it is possible to use ZPattern Plugins in a non-ZPatterns Product? Allowance for Plugins would be a very useful feature in many applications. You can use PlugIns without using the rest of ZPatterns, such as DataSkins and Racks. You still have to have

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Steve Alexander
Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack of support for local roles.

Re: [Zope-dev] Can ZPatterns Plugins be used separately?

2000-09-18 Thread Kevin Howe
Splitting into DataSkins and Plugins sounds like a really sensible idea, I defintely put my vote in for that. - Original Message - From: "Steve Alexander" [EMAIL PROTECTED] To: "Kevin Howe" [EMAIL PROTECTED] Cc: "ZOPE-Dev Mailing List" [EMAIL PROTECTED] Sent: Monday, September 18, 2000

Re: [Zope-dev] HiperDOM xmlc

2000-09-18 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: So the standard_page_template default wrapping is an attempt at a compromise. It's wrong. Please elaborate your position. :-) Why is it wrong? Shane ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] FYI: preliminary Zope 2.3 plan online...

2000-09-18 Thread Brian Lloyd
Hi all - For those interested, I've finally gotten the current plan for the next planned Zope feature release online on dev.zope.org: http://dev.zope.org/Resources/zope_230_plan.html Note that there is no planned date at this point. If there is something that you think should be on there

[Zope-dev] __del__

2000-09-18 Thread Andy McKay
Is there an method that I can use as a hook when an object is destroyed? (Im trying to save some _v_ data prior to destruction. Ive tried __del__ but this doesnt seem to get called. Thanks. -- Andy McKay, Developer. ActiveState. ___ Zope-Dev

Re: [Zope-dev] Custom dtml tag

2000-09-18 Thread Andy McKay
Finally woke up on this problem. Got this working by simply calling resolve_url upon the request object. But what I want is a result that changes depending upon the object. Let's face it, this can be acheived a whole lot easier by creating a method for the objects and calling that. So thats

Re: [Zope-dev] __del__

2000-09-18 Thread Chris McDonough
If it's an object in an objectmanager, you can define a manage_beforeDelete() method on it (see ObjectManager.py). How are you destroying it? [EMAIL PROTECTED] wrote: Is there an method that I can use as a hook when an object is destroyed? (Im trying to save some _v_ data prior to

Re: [Zope-dev] __del__

2000-09-18 Thread Andy McKay
I was hoping to have this method fired Zope is shut down, restarted etc and not call it implicitly. The theory being if this object is cached it will have to be unloaded at some point? Ive used manage_beforeDelete() elsewhere and it works fine when Im destroying an object whilst ZODB is still

Re: [Zope-dev] __del__

2000-09-18 Thread Andy McKay
Wow thanks. I'll see what I can do. I can think of a whole bunch of uses for that. - Original Message - From: "Chris McDonough" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, September 18, 2000 3:10 PM Subject: Re: [Zope-dev] __del__ Oh I see... objects

Re: [Zope-dev] User objects on 2.2

2000-09-18 Thread Lalo Martins
On Sun, Sep 17, 2000 at 11:22:49PM -0300, Lalo Martins wrote: Why doesn't Anonymous have permission to call has_permission on itself? This is counter-intuitive to say the least... Ooops... they have, kind of. The Anonymous user object inherits the permissions from the top-level User Folder

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for site builders is it's current lack

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Bill Anderson
Michael Bernstein wrote: Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
Michael Bernstein wrote: Steve Alexander wrote: Michael Bernstein wrote: I posted this to the PTK list on Friday, but didn't get any responses over the weekend, so I'm reposting here. I feel that a barrier to Loginmanager and Membership becoming more generally usable for

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

2000-09-18 Thread Michael Bernstein
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() names=[] for i in user_ids:

Re: [Zope-dev] Membership and Local Roles

2000-09-18 Thread Michael Bernstein
I figured out how to get this to work (finally). In the acl_users LM, add the following two Python methods: - getUserNames - Parameter List: self Body: user_ids=self.UserSource.getPersistentItemIDs() names=[] for i in user_ids: names.append(i)