Cheers!
I actually tried to implement support for local roles in almost exactly the
same way as you did, but for some reason I didn't get it to work.
Perhaps I should look into the matter again... I just threw in the
user_names(), and getUserNames() into the LoginManager, added some dtml to
Hola,
I would like to know how to remove removed Products from the ZODB. This might
sound silly, but I tried out POPMail and the PTK-0.8, then I uninstalled them
and removed all the files. After I restarted Zope everything looked fine, no
trace of the Products in the Control Panel Products
Hi,
now I know how to generate a user in the acl_user folder via
dtml-var "acl_users.manage_users('Add',REQUEST,RESPONSE)"
Now, how to login a user automatically via DTML?
Thanks to all readers and perhaps writers :-)
___
Zope-Dev maillist -
I'm using Zope 2.2.2 and ZPatterns-0-4-2a2(3).
Now I'm REALLY looking forward to ZPatterns-0-4-3 ;-)
I can't wait until this weekend.
Get your Free E-mail at http://tacoma.zzn.com
Get your own Web-Based E-mail Service at
I should point out a couple of things that might not be
obvious (that I noticed only on a second 'read' of the explaination):
1) getPersistentItemIds() can be a pain.
dtml-in "defaultRack.getPersistentItemIDs()" sort
is straightforward enough... but what if I don't care if they are
sorted, or
Erp! Sorry... I think the ZClass and the Rack got out of sync...
I'll upload a new 'consistent' pair..
sorry!
-steve
"Itai" == Itai Tavor [EMAIL PROTECTED] writes:
Itai Hi,
Itai I installed the ToDoManager/ToDoProduct example
Itai
Ack.. sorry... I was making little changes last night to make sure the
ZClass was completely consistent with my explaination, and to make
sure I could start 'from scratch'. I created a 'new' ZClass, and a
'new' rack. This confused the 'old' Rack. (I didn't update the
ToDoManager.zexp, so if you
On Thu, 5 Oct 2000, Chris Withers wrote:
Sebastian Luehnsdorf wrote:
i'm having a strange problem with cookie based user authentication with
ms internet explorer 5.5 on windows. it seems that the browser (but only
this version and only under windows!) seems to "forget" its cookies, which
Yours is the third enquiry I've had about this in the past week !!!
You can do this in a very general way using wget which is freely
available and very configurable.
Another option is to look at ZMirror in
http://www.zope.org/Members/rossl/ZMirror - not because it will solve
all your problems,
Toby Dickenson wrote:
[cc to zope-dev.]
Ive been using Zope only with Python 2.0 recently.
That's great to hear. I'm frankly a bit surprised that
this works.
2.0 is a suprisingly conservative upgrade from 1.5.2
Did you have to make many changes to Zope?
All my critical
[Toby]
It looks like a little work is needed to support 2.0's garbage collection of
cyclic trash
[Neil]
Which 2.0 are you using?
I was basing my comments on my last attempt in mid July.
Ive just tried enabling WITH_CYCLE_GC again (and with the patch below)
and it does all seem to be
The Oracle8i recordset I'm retrieving includes a few columns which are
NUMBER(10,0) format which are milliseconds. I would like to divide each by
1000 and use the ROUND function to return a result with one decimal place,
e.g. ROUND(column1/1000, 1) returns 3.1 where column1 == 3080.
This works
At 04:01 PM 10/6/00 +, Ty Sarna wrote:
I think this is due to Shane's fix for allowing LM's as non-top-level
acl_users. I had it originally so that _owner was a class attribute,
which works fine. With the change, it was added as an instance
attribute. Now, UnownableOwner is just an empty
Thanks!
I actually tried to make _owner a class attrib, but then I tried to add a LM
to a sub-folder ;-) It didn't work out... Would it be an ugly solution to
check whether the LM _is_ top-level, and if it is, make _owner a class attrib?
Would it work? Or is this solution only curing the
If I delete a property from a ZClass, the property still exists for each
instance of the class (I can do a dtml-var to show it), but it doesn't
show up on the management screens for either the class or the instance.
I cannot add it back with the Properties tab - zope tells me that it is
in use.
On 10/6/00 12:19 PM, "Walter Miller" [EMAIL PROTECTED] wrote:
The Oracle8i recordset I'm retrieving includes a few columns which are
NUMBER(10,0) format which are milliseconds. I would like to divide each by
1000 and use the ROUND function to return a result with one decimal place,
e.g.
This supercedes the original WriteLocking proposal which was initially just
to cover WebDAV's current write locking ability.
http://dev.zope.org/Wikis/DevSite/Proposals/WriteLocking
--
Jeffrey P Shell, [EMAIL PROTECTED]
http://www.zope.org/
Is this behavior correct?
See http://www.zope.org/Members/paulabrams/howto_deleteundeadzclassprops
for help.
It is not a bug per se, Python (upon which ZOPE is based) is built this
way, i.e. if you create a class with certain attributes, every instance
will keep those attributes, even if they
On Fri, 6 Oct 2000, Morten W. Petersen wrote:
It is not a bug per se, Python (upon which ZOPE is based) is built this
way, i.e. if you create a class with certain attributes, every instance
will keep those attributes, even if they are deleted from the class
itself, and new instances that are
Steve Spicklemire wrote:
Ack.. sorry... I was making little changes last night to make sure
the ZClass was completely consistent with my explaination, and to
make sure I could start 'from scratch'.
Ok, I just got through stepping through the walkthrough. Thanks! That
*was* a really simple
At 10:09 AM 10/5/00 -0700, James Johnson wrote:
I heard that it's possible to have a dtml only zpatterns based
example. I would like something like
Product
specialist
addObj
Zclass
index_html
readObj
Factory
Permission
Would this be a correct way to proceed?
Yes, except
At 07:59 AM 10/5/00 -0700, Michael Bernstein wrote:
"Phillip J. Eby" wrote:
Domain logic: methods which implement the basic behavior of an object, by
manipulating its attributes and by calling methods on itself or other
objects. (Including delegation to a Specialist, its own or another.)
At 02:24 PM 10/5/00 -0500, Steve Spicklemire wrote:
You're not using propertysheet providers, but DataSkin propertysheets
'installed' in a ZClass that directly inherits from DataSkin. Your use
of the "Data Skin Attribute Property Sheets" is primarily to associate
permissions with groupings of
At 03:44 PM 10/6/00 -0500, Michael Bernstein wrote:
Steve Spicklemire wrote:
Ack.. sorry... I was making little changes last night to make sure
the ZClass was completely consistent with my explaination, and to
make sure I could start 'from scratch'.
Ok, I just got through stepping through
"pje" == Phillip J Eby [EMAIL PROTECTED] writes:
- Propertysheets: You don't expressly say that Shared needs to
be a 'Common Instance Property Sheet'.
pje Actually, if it's intended to be shared across all instances,
pje there seems to me to be little reason to have it in
"pje" == Phillip J Eby [EMAIL PROTECTED] writes:
pje It is *not* undesirable to have ZClasses be subclasses of
pje your core logic base class. Just make sure they *also*
pje subclass DataSkin, or that you use the metaclass definition
pje stuff above. You've actually got a
26 matches
Mail list logo