Phillip J. Eby wrote:
>At 05:19 PM 11/1/00 +1100, Itai Tavor wrote:
>>
>>Ok... I think I get the "Specialist per role, not per class" part.
>>But I still can't make the jump from a class diagram to a
>>ZClass/Specialist setup.
>
>A class diagram contains all the roles - they're the lines between
A colleague and I find that the request encoding of dreamWeaver is
causing us problems and we can coorect by passing the DW encoded request
through urllib.unquote and quote.
--
Robin Becker
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.
I have been toying with the idea of creating a Zope product for creating
JPython applets within Zope. I thought this might be a way to increase the
capabilities of Zope on the client-side while remaining firmly grounded in
Python and simultaneously giving me an excuse to play with JPython and mayb
Casey Duncan writes:
> The following should work in your nested standard_html_footer to call the
> higher level one without infinite recursion:
>
>
>
>
I fear this solution is very unstable.
"PARENTS" is defined by the URL path (loosely spoken).
This means, what "PARENTS[1]" is depen
Ah sorry, I have custom CatalogAware class thats been a bit hacked but was
written by Mike Pelletier... when he was hanging around at ActiveState for a
few days. Theres a link to wiki on it somewhere
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Christopher Petri
Thanks Philip
>The way Ty and I usually handle "object" properties is to give an object
>setter methods (e.g. "setAddress()") that simply set the property (e.g.
>self.Address = addr). The only downside is that you have to do this in a
>Python base class or an External method. Later, we expect t
> Well im not sure how much deleting the index and then recreating the index
> throught the management interface actually does. But I wrote an external
> method to basically do a find and apply to recatalog bunches of objects.
Actually i meant originally, not the second time. Are you using
Cata
Those of you who use SiteAccess, or any other virtual hosting solution, with ZCatalog
(including
Squishdot, ZUBB, and other ZCatalog-dependent products) should check out this new
project:
http://dev.zope.org/Wikis/DevSite/Projects/ZCatalogVirtualHostFix
This proposes a set of changes and an up
Being Election Day in the United States, now is a good time to vote on
the new name for Python Methods.
Python Methods are a relatively new concept for Zope. They give you the
features of DTML, such as through-the-web editing and security, while
providing a familiar, refined syntax.
But before w
Well im not sure how much deleting the index and then recreating the index
throught the management interface actually does. But I wrote an external
method to basically do a find and apply to recatalog bunches of objects.
--
Andy McKay, Developer.
ActiveState.
- Original Message -
Fro
/lib/python/AccessControl/access.dtml contains the dtml for that page.
Fiddle away.
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 7:54 AM
Subject: [Zope-dev] Zope Permission's Adjustment
At 05:19 PM 11/1/00 +1100, Itai Tavor wrote:
>
>Ok... I think I get the "Specialist per role, not per class" part.
>But I still can't make the jump from a class diagram to a
>ZClass/Specialist setup.
A class diagram contains all the roles - they're the lines between the
classes. :)
Look at it
Hello,
Does anyone know the file that I can edit to adjust the layout of the
Security Tab?
I would like to be able to add the Roles Headers to the bottom of the list
as well as the top.
Keith Larson
Web Developer
___
Zope-Dev maillist - [EMAIL PR
At 05:39 PM 11/6/00 -0800, John Eikenberry wrote:
>
>The base DataSkin will be in a Rack. Would there be any issues in making
>the embedded DataSkins (contained on the base DataSkins) use this Rack as
>well? Seems like it might result in the confusion about which DataSkin a
>PlugIn on the Rack wo
At 01:01 PM 11/7/00 +0200, Roch'e Compaan wrote:
>
>I created a couple of ZClasses based on Dataskin.
>
>In the way I grok ZOPE, properties that are objects can not go onto property
>sheets. So if I have a Customer ZClass that has a property Address (a
>property that is an object) then I would cr
How are you getting things indexed and reindexed in the Catalog, if I might
ask?
Chris
- Original Message -
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, November 06, 2000 6:42 PM
Subject: Re: [Zope-dev] ZCatalog index
Toby Dickenson wrote:
>
> Your object must have a factory method somewhere I suggest adding
> an extra method to your object (I always name it '_after_create') and
> arrange for it to be called by your factory once the new object is
> installed in its container.
...yurch! ;-)
Chris
___
On Tue, 07 Nov 2000 11:54:57 +, Chris Withers <[EMAIL PROTECTED]>
wrote:
>I have a product class that subclasses SimpleItem and PropertyManager.
>
>If I try and add a property in __init__ as so:
>
>self.manage_addProperty('AProperty','1\n2\n3','lines')
>
>I get the following wonderful error:
Hi Again,
Management.py (around line 148) contains one of those nasty general try:
except: clauses which mask real problems
Anyone know why it's there?
With some additions, I found out it was masking an 'index out of range'
error in the product I'm developing. I wonder why this was presented as
Chris Withers wrote:
> self.manage_addProperty('AProperty','1\n2\n3','lines')
> I'm guessing that this is because self isn't an acquisition wrapper in
> __init__ (even though SimpleItem is Acquisition.Implicit) but what am I
> supposed to do to add a property in __init__?
I usually override _pr
Chris Withers wrote:
>
> If I try and add a property in __init__ as so:
>
> self.manage_addProperty('AProperty','1\n2\n3','lines')
>
> I get the following wonderful error:
>
> Error Type: AttributeError
> Error Value: aq_base
I made this go away with a patch to PropertyManager.py:
==
I've edited DateTime.py and added a timezone for IST:
Line 166: (_zlst)
was: 'Iran','Israel','Jamaica','Japan','Mexico/BajaNorte',
now: 'Iran','Israel','IST','Jamaica','Japan','Mexico/BajaNorte',
Line 223: (_zmap)
was: inserted new line
now: 'ist':'IST',
My apps seem to be working, but I am onl
Hi,
I have a product class that subclasses SimpleItem and PropertyManager.
If I try and add a property in __init__ as so:
self.manage_addProperty('AProperty','1\n2\n3','lines')
I get the following wonderful error:
Error Type: AttributeError
Error Value: aq_base
I'm guessing that this is beca
I'm having trouble with the adding of new objects; specifically
it's adding of rfc822_address objects (contained within the
ZopeGUM distribution, http://www.zope.org/Members/morphex/ZopeGUM).
I haven't really got a clue what's wrong, have any of you?
-- Start debugging session
> /usr/local/Zop
On the Road:
I created a couple of ZClasses based on Dataskin.
In the way I grok ZOPE, properties that are objects can not go onto property
sheets. So if I have a Customer ZClass that has a property Address (a
property that is an object) then I would create the address object as a
"method" of t
Shane
This would be very helpfull to share.
One of the reasons I tried the Berkeley Database was because I kept blowing
this 2Gb limit.
Prehaps if this was released I could finally finish the zope mail archives.
:-)
Cheers
-Andy
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
Shane Hathaway wrote:
> Not long ago I created a wrapper around File objects which automatically
> splits the file before it reached a predefined limit. It could handle
> any number of partitioned file segements.
Yes please! Perhaps it could be integrated into the ZODB codebase while
you're at
27 matches
Mail list logo