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,
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
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.
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.
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]
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
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,
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 -
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
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]
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
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.
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
[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]
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
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
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
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
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
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
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
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
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
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
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:
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)
26 matches
Mail list logo