Hola,
There seems to be a problem with the ownership model in Zope (or ZPatterns).
The problem is the following: I have implemented a nice login system based on
the LoginManager and SQL methods. I would like to make this acl_users the
top level user folder, but... then hell brakes lose...
knight wrote:
I just installed a fresh copy of 2.2.1 also, and I'm getting the same
issue. Any items starting with a subfolder has a __call__ AttributeError.
What do you mean by 'starting with a subfolder'?
Can you give some exampels and a full traceback?
cheers,
Chris
Lalo Martins wrote:
This is on Zope 2.2.1. I'd really appreciate some clues on how
to bust these ghosts.
Have you put a full description in the bug collector yet?
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Chris,
Ofcourse, the phenomina disappeared abruptly. However, I intend on using
2.2.2 again within minutes, so I will post a detailed message if the
phenomina occurs again.
Regards,
Knight
[EMAIL PROTECTED]
On Thu, 5 Oct 2000, Chris Withers wrote:
knight wrote:
I just installed a
"Phillip J. Eby" wrote:
IIRC, this stuff got broken by the switch to the new security machinery.
ZopeSecurityPolicy doesn't check 'foo__roles__' on the parent object the
way ZPublisher does/did.
Can anyone say why?
cheers,
Chris
PS: Will the new new security stuff (still in proposal
At 09:15 PM 10/4/00 -0500, Steve Spicklemire wrote:
This was also nice since in my Specialist I could do things
like:
dtml-call "RESPONSE.redirect(this().theRealThing.absolute_url())"
After the user is finished working in my 'app area' they could
get redirected back to the actual object that
At 09:49 PM 10/4/00 -0700, Michael Bernstein wrote:
While I wouldn't say that there has been an actual 'paradigm
shift' between the original RIPP presentation and ZPatterns,
What's happened is that there's been a lot of "implementation shift". The
goals of RIPP have never changed, but they are
Yes.. I see what you mean... this is a 'whitebox customization'
that I used as part of the integration of my framework into
the 'online catalog' system. This is not 'blackbox' code that
is integral to my system
In fact, I mis-spoke earlier, it's not in my specialist at all... it
only
At 06:57 AM 10/5/00 -0500, Steve Spicklemire wrote:
This brings up another point If I choose 'DataSkin' as a storage
class, then my code hits the security system every time a refer
to any data (simple types) stored directly in the DataSkin. I can either
set
Itai asked:
"I started reading about ZPatterns but I still can't get my head
around it... I'm wondering if I should try to learn it fast enough
for this project, or stick to what I already know. What in people's
experience is the typical learning curve for ZPatterns? How much am I
going
"Phillip J. Eby" wrote:
At 09:49 PM 10/4/00 -0700, Michael Bernstein wrote:
While I wouldn't say that there has been an actual 'paradigm
shift' between the original RIPP presentation and ZPatterns,
What's happened is that there's been a lot of "implementation shift". The
goals of RIPP
Jonas Juselius wrote:
Another thing which I have tried to do, is to add support for local roles to
the LoginManager. At first it looked rather simple, but then I realized that
it wasn't really _that_ simple, and dropped it because I don't have time... It
would however be nice to have local
I don't think its possible at this point for a working dtml/ttw
example. Several people have asked for a simple dtml/ttw only
zpatterns based working example, but none of the people who
are "getting" Zpatterns finds the time to write a simple example.
I'm not sure I know what I'm
Is it too complicated? Seems to me it would help out alot of people
and help to further the cause. I'm starting to get the feeling that
some people are not willing to share in their success. By keeping it
complicated and jargon filled prevents me from be able to use it.
Is this suppose to
Hi Phillip
First of all... please forgive the long message. When I started
it was going to be a quick note... now it's turned into a bit
of a novel... but you don't have to read it all. ;- I'm spewing all
this out in part to illustrate some of the things I've done 'wrong'
so that others
OK.. here's the dumbest example I could cook up. It was
my first experiment with ZPatterns in July of last summer.
It was based on a really early release, I don't remember which,
but it seems to work with the latest.. (I just barely
testted it... ) Load the Product ToDoProducts.zexp
into the
Chris Withers wrote:
Hi,
If I have the following lines in a Python Product:
def __init__(self, id):
"""initialise a new instance of product"""
self.id = id
self.title = 'Title!'
self.anInt = 0
self.aString = 'testing'
Are these
"Phillip J. Eby" wrote:
At 12:27 PM 10/4/00 -0400, Brian Lloyd wrote:
I've verified (any of my previous comments to the contrary) that
simple attributes (python types) do not really play in the
permissions machinery. The canonical way to expose such things
for now is to expose them
Does anyone know of any progress on this bug its marked as "pending" in the
Collector, so I guess not.
http://classic.zope.org:8080/Collector/1441/view
- Original Message -
From: "Shane Hathaway" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 20, 2000
Sorry ignore me, I thought I was being bitten by this bug, but Im not.
It was the old difference between dtml-with foo and dtml-with "foo" in
someone else's dtml.
- Original Message -
From: "Andy McKay" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 05, 2000 1:07 PM
Ack.. of course I forgot to test creating new instances there
was a snippet of code for editing and creating that didn't work with
the new propertysheet stuff. I fixed it just now... so it really
works. ;-)
-steve
"Steve" == Steve Spicklemire [EMAIL PROTECTED] writes:
Steve OK..
If there a way to get ZCatalog to give me intersections of results on a
single index? All the examples and tutorials I've seen are union (OR)
queries.
Basically I just want ZCatalog to give me items where keywords contained
both 'foo' and 'bar'.
I have browsed through Catalog.py and it seems
Neil K wrote:
If there a way to get ZCatalog to give me intersections of results on a
single index? All the examples and tutorials I've seen are union (OR)
queries.
Basically I just want ZCatalog to give me items where keywords contained
both 'foo' and 'bar'.
You should use a Keyword
At last some meat AND potatoes for us feely touchy zpattern
people. It opens up a whole new can of worms that I will take
_fishing with me this weekend.
Long live Steve Spicklemire!
Get your Free E-mail at http://tacoma.zzn.com
I'd love to bask in the glory of having done something really
significant. but just remember... it *is* the Worlds Simplest
(some might say Dumbest) example!
;-
-steve
"James" == James Johnson [EMAIL PROTECTED] writes:
James At last some meat AND potatoes for us feely touchy
Steve Spicklemire wrote:
Ack.. of course I forgot to test creating new instances there
was a snippet of code for editing and creating that didn't work with
the new propertysheet stuff. I fixed it just now... so it really
works. ;-)
I didn't get a chance to play with this today, but
I had a problem like this once, and worked out that it was because the system
time was incorrect in IE somehow. The time that windows was displaying was
correct, but that had been manually changed to take in to account day light
savings which started early in Australia this year due to the
Michel Pelletier [EMAIL PROTECTED] wrote:
Catalog.searchResults({'food', ['foo', 'bar']})
^
I think you meant a : there?
would find all of the objects whose food property contained both 'foo'
_and_ 'bar'.
This is not
Again.. this is an embarrassingly trivial example.. but here it goes:
First of all there is a ZClass 'ToDoClass'.
It needs to have a base class of ZPatterns:DataSkin.
You don't need constructor methods, but I don't think they hurt anything
if you leave them in.
The ToDo needs methods:
Steve Spicklemire wrote:
Again.. this is an embarrassingly trivial example.. but here it goes:
[snip details]
That's it. I can't imagine anything simpler. ;-) Really!
Thanks, I'll be trying this out at work tomorrow.
Michael Bernstein.
___
Hi,
I installed the ToDoManager/ToDoProduct example
(http://www.zope.org/Members/sspickle/DumbZPatternsExample ) but it
won't work. System is RedHat 6.1, Zope 2.2.2, ZPatterns-0-4-2a3.
I get the following traceback when I try to view
/ToDoManager/index_html. Is it a bug somewhere or a
31 matches
Mail list logo