At 06:12 PM 5/12/04 +0800, Choo Zhi Min wrote:
What does "import os; print os.name" return in Cygwin, nt or posix?
Python 2.3.2 (#1, Oct 9 2003, 12:03:29)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.name
'posix
At 01:53 PM 12/29/03 -0500, Fred L. Drake, Jr. wrote:
Phillip J. Eby writes:
> That reminds me... is there any way for section *names* to be
> case-sensitive, or at least case-preserving? For example, if one were
> simulating Apache-style configuration like:
There isn't, bu
At 12:52 PM 12/29/03 -0500, Fred L. Drake, Jr. wrote:
Barry Warsaw writes:
> Since I didn't understand what keytype actually provided, even after
> reading the docs on it several times, I've never found a need for it
> .
Sounds like I need to improve the docs for this.
Changing the keytype all
At 12:04 PM 12/29/03 -0500, Barry Warsaw wrote:
This is how I'm using extended section types in my code currently. The
proposed change won't affect me because I explicitly specify the data
types in derived section types. It seems to me unlikely that you'd have
a base section type with a non-defa
At 04:55 PM 4/24/02 -0300, Leonardo Rochael Almeida wrote:
>As for multiple DB rollback, yes, that works as advertised, and is
>actually really easy to believe if you explain them how it works. Truth
>is, Two-Phase-Commit was INVENTED (a long time ago, and not in Zope) to
>make it possible to com
At 08:22 PM 4/15/02 -0500, Steve Spicklemire wrote:
>Hi Marcello,
>
> Wow.. sounds like a neat book. ;-) Seriously, Phil Eby has
> suggested that there will be some sort of migration helpers to move from
> ZPatterns to
There probably will not be any migration tools written by me or Ty;
Folks, can we please stop the zope-dev/zope3-dev crossposts and direct this
thread to zope3-dev only? You're doubling the volume of posts I have to
read. :) Thanks.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinf
At 03:17 PM 1/28/02 +, Chris Withers wrote:
>Jeffrey P Shell wrote:
> >
> > On 1/27/02 11:25 AM, "Steve Alexander" <[EMAIL PROTECTED]> wrote:
> >
> > > Hi folks,
> > >
> > > When I define an Interface, are the methods of the interface supposed to
> > > have "self" as the first argument?
> >
>
At 10:43 AM 1/19/02 -0500, vio wrote:
>* vio <[EMAIL PROTECTED]> [020119 09:56]:
>
>So Globals.InitializeClass(your_class) finds the declaration
>'security.declareSomething()' inside a class, but 'security' being
>a reference to a ClassSecurityInfo object AT THE MODULE LEVEL somehow has
>no effect
At 01:12 PM 1/18/02 +0100, Stefan Bund wrote:
>"Phillip J. Eby" <[EMAIL PROTECTED]> writes:
> >
> > Method rebinding is done only when an item is retrieved from the aq_self
> > side, and only if im_self points to aq_self. If these conditions are met,
> &g
At 09:42 AM 1/18/02 +0100, Stefan Bund wrote:
>A--O--[a]
>| |
>| [b]
>|
>O--B--O--[c]
>| | |
>| | [d]
>| |
>| O--[e]
>| |
>| [f]
>|
>[g]
>
>...
>
>let /m/ be a method of the objekt /f/. The expression of interest is
>
> x := A.m
>
>I would expect /x.im_self/ to be an acquisition wra
At 10:06 AM 1/6/02 -0800, Michael Olivier wrote:
>I'd like to form (or join) a separate mailing list for ZPublisher-only
>apps. I know there are zope developers like me who use ZPublisher +
>FastCGI (or whatever) + apache (or whatever) to run a web site. I know we
>would not have the benefit
At 05:49 PM 1/3/02 -0700, Jeffrey P Shell wrote:
>'subscriber' is a reference to the subscribing object, and it's very
>likely to be to an object in the ZODB. Is it wise to have more than one
>persistent reference to a single persistent object?
>I swear that I had once heard Jim say (vocally)
At 10:18 PM 12/23/01 -0800, Michael Olivier wrote:
>I'm using ZPublisher + PCGI w/o the full Zope environment. Is it possible
>to have an object that defines a __bobo_traverse__ method and also has an
>index_html method? In the example below, I would want it to traverse if
>the URL path had m
At 04:08 PM 12/10/01 +, Tony McDonald wrote:
>On 10/12/01 2:54 pm, "Phillip J. Eby" <[EMAIL PROTECTED]> wrote:
>
> > I'm not sure if this is taken into consideration in your work so far/future
> > plans... but just in case you were unaware, it is no
I'm not sure if this is taken into consideration in your work so far/future
plans... but just in case you were unaware, it is not necessary for you to
persistently store objects in the ZODB that you intend to index in a
ZCatalog. All that is required is that the object to be cataloged is
acc
At 05:58 PM 12/4/01 +, Chris Withers wrote:
>"Phillip J. Eby" wrote:
> >
> > I personally would like to see ZPT support plain text at some point, and it
> > already has some of the things necessary to do it. But that's a separate
> > issue from Z
At 12:21 PM 12/4/01 +0100, Godefroid Chapelle wrote:
>I would like to get a better idea of what 'Zope rebuilt from the ground up
>includes'.
Code that isn't crufty! Now with the new, sparkling clear look of
Interfaces, and a zesty twist of tests! Objects that don't peer and poke
at other ob
I just looked through a few parts of the Zope3 CVS tree, and I must say
it's looking mighty nice so far at the 50,000 foot level... I especially
like the Zope.Transaction package; it'll eliminate the need for my
ZLite.Transaction hack. Indeed, much of the package-level refactoring
seems much
At 03:44 PM 10/20/01 +0200, Godefroid Chapelle wrote:
>Hi,
>
>In a product I am writing, I am trying to add a ComputedAttribute to an
>instance of a Folder descendant class.
>
>This is the code I use:
>
> def addComputedAttribute(self, attributeName, sourceCode):
> methodName = '_ca_
At 10:23 AM 10/12/01 -0400, Paul Everitt wrote:
>Wow, this is one hell of a thread. :^)
>
>FWIW, Grisha put a Bobo publisher in mod_python a couple of years ago.
>Thus, if you like ZPublisher-style processing, you can do it in Apache via
>mod_python.
Personally, I prefer to keep a process boun
At 01:52 PM 10/11/01 +0200, Jean Jordaan wrote:
>Hi all
>
>I don't know if you're all familiar with this already, but reading
>about Twisted didn't immediately bring to mind Medusa, but rather
>certain aspects (specifically, *aspects*) of TransWarp, and of the
>Component Architecture (interfaces).
Perhaps I'm confused, but I have an old (>3 months) version of Cygwin, but
when I installed the Win32 Python 2.1.1 release, I was able to build
extension modules just fine using distutils, after I built an import
library. You shouldn't need VC++ to build Zope extensions, just distutils
and gc
At 08:00 AM 10/10/01 -0700, kapil thangavelu wrote:
>sadly the distinction between zpublisher and zserver is nowhere near as
>clean, i spent some time looking at it this morning trying to get my server
>of choice using zope. i thought it would be a mid morning hack, but the rabit
>hole follows th
At 03:33 PM 10/1/01 +0200, [EMAIL PROTECTED] wrote:
>I use the newest version of the Sybase DA, but it doesn't seem to work.
>Can you
>help me finding the appropriate patches, etc? Are they available anywhere in
>that CVS-tree?`
I don't think so. Ty was going to submit them to ZC for inclusion
At 01:50 PM 10/1/01 +0200, [EMAIL PROTECTED] wrote:
>Does anybody know of any development going on regarding Sybase and stored
>procedures? Christopher Petrilli declared them a future goal, but I urgently
>need them by now. So if anybody has a workarround, please let me know.
Ty did some work on
At 08:03 AM 7/11/01 +0100, Steve Alexander wrote:
>Steve Spicklemire wrote:
>
>>Hi Ulrich,
>> Hmm.. can you just call DataSkin.__init__(self, id) in the
>> File's constructor?
>
>
>You might need to do it like this:
>
> DataSkin.inheritedAttribute('__init__')(self, id)
Actually, I'm no
Recently, there has been much interest (on Zope-Dev and elsewhere) in
creating Zope and Python applications from UML diagrams. Since to my
knowledge there are no other Python libraries currently available for
UML/XMI processing, I decided to get busy and "release" a version of
TransWarp with supp
At 10:35 AM 6/28/01 -0700, jimbo wrote:
>I've been looking for a standard *FREE* tool that I can use to design
Zope apps. I think my search is over. It seems to be a good tool for
students because it's free and comes with support for Java, Persistence and
XMI, Full and partial exchange.
>
> I
ZPatterns "0.4.3final" contains a serious bug which deletes all ZODB-stored
contents of a Rack when you use the manage_pack method. This bug only
affects you if you store Rack-mounted objects or attributes in the ZODB,
and does not affect you if your objects are entirely contained in an RDBMS
or
FYI, I have uploaded a release version of ZPatterns 0.4.3 to:
http://www.zope.org/Members/pje/ZPatterns
I have also updated the standalone PlugIns package at:
http://www.zope.org/Members/pje/PlugIns
These are primarily maintenance releases for GUI and security compatibility
with Zope 2.3.x.
At 04:58 PM 6/8/01 -0400, Shane Hathaway wrote:
>On Thursday 07 June 2001 21:28, Phillip J. Eby wrote:
> > Upon being told to perform a transaction or subtransaction commit,
> > the transaction would notify all the ruleAgents, and then all the
> > indexingAgents. Objects cou
At 07:07 PM 6/7/01 -0400, Shane Hathaway wrote:
>"Phillip J. Eby" wrote:
>> That is, in ZPatterns one can specify triggers such as:
>>
>> WHEN OBJECT DELETED, CHANGED CALL
>> someCatalog.manage_uncatalog(self.absolute_url(1))
>> WHEN OBJECT ADDED, CHAN
At 09:29 PM 6/7/01 +0100, Chris Withers wrote:
>
>If I change one property on, say, a DTML Document, does that store a whole
>new copy of the document in the ZODB?
It updates the object in the ZODB. Whether that causes a copy to be made,
depends on the underlying storage. FileStorage makes copi
At 02:07 PM 6/7/01 -0400, Shane Hathaway wrote:
>On Thursday 07 June 2001 12:17, Phillip J. Eby wrote:
>
>> The
>> only catch was that this would still produce conflicts at the head
>> end of the linked list. :( Of course, that was in the days before
>> ZODB confl
At 09:34 AM 6/7/01 -0400, Shane Hathaway wrote:
>
>One thing I didn't make clear in the proposal is that I'm interested in
>repurposing ZCatalog as a general ZODB indexing mechanism and
>essentially moving it down from the application layer to the database
>layer. Catalogs would be updated aut
At 03:24 PM 5/31/01 +0200, Roché Compaan wrote:
>I have a ZPatterns application that uses the ZODB as storage. When I delete
>an object only the name of the script that deleted the object is shown in
>the Undo log. Is there any way to determine the ID of the object that was
>deleted? Is there a
At 12:33 PM 5/23/01 -0500, Steve Spicklemire wrote:
>Hi Phil,
>
>FYI.. this doesn't work in a PythonScript since indexing into a BTreeItems
>is (apparently) not allowed by the "Security Machinery". So... a simple
>list is looking better and better! ;-)
Hmmm. Good point. I'll have to think abo
At 05:48 PM 5/23/01 +0200, Christian Scholz wrote:
>Hi!
>
> > It works.. partially. For some reason it looks like getPersistentItemIDs
> > does not always return a *complete* list. I need to run this method
> > several times to completely exhaust the Rack's storage. Thoughts? The
> > only way I ev
At 09:37 AM 5/15/01 -0400, Shane Hathaway wrote:
>http://dev.zope.org/Wikis/DevSite/Proposals/ORMappingDB
>
>Comments encouraged!
>
I see two themes here: an implementation-independent data management API,
and metadata.
May I suggest that perhaps a design effort focused specifically on these
thr
At 04:13 PM 5/14/01 -0400, Shane Hathaway wrote:
>"Phillip J. Eby" wrote:
> > All this is of course just my opinion, and quite possibly wrong. But I
> > think that an application developer would get more mileage out of your
> > DBAPI product (coupled with some u
At 12:26 PM 5/14/01 -0400, Shane Hathaway wrote:
>Chris Withers wrote:
> >
> > Shane Hathaway wrote:
> > >
> > > One would define an "ObjectMappingSchema" whose job it is to store and
> > > retrieve objects of a specific type and in a specific location. It
> > > would usually grab a database conn
At 05:42 PM 5/11/01 -0400, Shane Hathaway wrote:
>"Phillip J. Eby" wrote:
>> I'm not quite clear on how exactly you suggest mapping from RDMBS ->
>> ZODB. There's a *significant* (IMHO) impedance mismatch between ZODB's
>> arbitrarily identi
At 11:01 AM 5/11/01 -0400, Shane Hathaway wrote:
>Joachim Werner wrote:
> >
> > The current design plans of SmartObjects are mainly based on the assumption
> > that we will not be able to change Zope itself. This is not a dogma for us,
> > however. I guess doing OR-mapping in the Zope core would b
At 06:00 PM 4/28/01 +0200, Christian Scholz wrote:
>Hi!
>
>First of all one note to the sql attribute provider: My problem seems to
be solved
>now. Actually it was quite easy.. dunno why it took the long way.. thanks
anyway
>to Phillip and Steve!
>
>But I have another problem now: I have some rack
At 09:19 AM 4/27/01 -0700, Michael Bernstein wrote:
>Shane Hathaway wrote:
> >
> > Chris Withers wrote:
> > > will you be releasing a new version of BTreeFolder that makes use of
> the new
> > > funky BTrees at any stage?
> >
> > We've done some work on it; in fact Jim came up with a bold new ide
At 05:26 PM 4/24/01 +0200, Roch'e Compaan wrote:
>How do you bind a SQL Result with multiple records with multiple instances
>of the class? Can you do this in Skinscript? Or do you mean I should return
>the sql result directly?
Just return the result directly. If the data is all from SQL, that'
At 03:01 PM 4/24/01 +0200, Roch'e Compaan wrote:
>Building the tree leads to a whole bunch of queries to the database that
>really slows thing down ie. besides the queries that retrieve children,
>select queries to retrieve individual instances is called by getItem through
>SkinScript for each ite
At 01:37 PM 4/23/01 +0200, Godefroid Chapelle wrote:
>Hello,
>
>
>After rereading the ZopeSecurityPolicy source code, I tried the
>following hack.
>
>I add in the skinscript :
>
>WITH 1 COMPUTE __allow_access_to_unprotected_subobjects__=RESULT
>
>which does work : it fools the security mechanism.
At 08:29 PM 4/22/01 +0200, Christian Scholz wrote:
>Hi!
>
>A little update..
>
>Actually I was mistaken and SetAttributeFor() is called. Just
_objectChanged()
>is not called in that case.. and thus my attributes are not stored to the
database.
When an object is newly added, only _objectAdded() is
At 08:29 PM 4/22/01 +0200, Christian Scholz wrote:
>Hi!
>
>A little update..
>
>Actually I was mistaken and SetAttributeFor() is called. Just
_objectChanged()
>is not called in that case.. and thus my attributes are not stored to the
database.
When an object is newly added, only _objectAdded() is
At 03:07 PM 4/22/01 +0100, Steve Alexander wrote:
>
> As a simpler workaround, you can use
>your_object.commitSubtransaction() instead of redirecting to a new page.
Um, this shouldn't be the issue here. _SetAttributeFor() should be called
when the attribute is set; it's not transaction-drive
At 08:18 PM 4/21/01 +0200, Christian Scholz wrote:
>Hi!
>
>> > Good evening everybody!
>> >
>> > I have some question regarding attribute and agent programming for
ZPatterns.
>> >
>> > I have some provider which is registered for the "handlers" and
"attributes"
>> > methods and some attributes.
At 01:45 PM 4/1/01 -0700, Michael R. Bernstein wrote:
>
>It seems as though the manage_upload method is supposed to
>hand off the image data to RenderingKinds, which in turn
>either replaces the image data in existing Renderings, or
>creates new ones, by iterating through the rows in the
>TinyTabl
At 05:08 PM 4/1/01 -0700, Michael R. Bernstein wrote:
>
>Now, am I correct in assuming that the 'sizes' TinyTable
>should be in the RenderingKinds Specialist?
Yes.
>I'm also assuming that RenderingKinds' defaultRack is set to
>use 'ZPatterns: DataSkin' and be set to load by accessing
>the 'id'
At 10:59 PM 4/1/01 -0700, Michael R. Bernstein wrote:
>
>1) Are there any naming conventions for SkinScripts?
Not that I'm aware of. I think Ty names all of his methods "SkinScript",
but then, he tends to name all his working/temporary files "x", so what
does he know? ;)
>2) Is there any reas
At 08:59 PM 3/30/01 -0800, Michael R. Bernstein wrote:
>"Phillip J. Eby" wrote:
>>
>> Aha. I think I understand what you're doing now. You have an "Image" and
>> you have a "Rendering". Two classes, different behaviors. I'm
At 07:30 PM 3/30/01 -0800, Michael R. Bernstein wrote:
>"Phillip J. Eby" wrote:
>>
>> At 05:27 PM 3/30/01 -0800, Michael R. Bernstein wrote:
>> >Now I am working on a ArchiveImage ZClass that holds 'meta'
>> >information about an ima
At 05:27 PM 3/30/01 -0800, Michael R. Bernstein wrote:
>Now I am working on a ArchiveImage ZClass that holds 'meta'
>information about an image, such as the description, a date,
>and keywords.
>
>I want to have one Rack for each image size that I want to
>store.
Just out of curiousity, why do you
At 01:57 PM 3/29/01 -0800, John Eikenberry wrote:
>
>We have a fairly large and complex app framework built on ZPatterns. It
>uses MySQL for storage and the standard Specialist/Rack/DataSkin setup with
>skinscripts for attributes and triggers.
>
>We've found that the speed of getItem is a bit slow
At 05:58 PM 3/29/01 -0500, Steve Spicklemire wrote:
>
>bring up a point I've been wondering about anyway. Now that Ty and
>Phillip have moved on to TransWarp, who will be maintaining all the
>changes to ZPatterns? SteveA has done a great job of keeping a
>modified version available for folks runni
At 12:19 PM 3/27/01 +0200, Bertrand Croq wrote:
>Hi,
> I am currently using LoginManager to authenticate users from a MySQL
>database. I followed the tutorials and it works quite well; but there are
>other data associated with users in the database that I would like to use in
>Zope. I have fou
At 07:48 PM 3/11/01 +, Steve Alexander wrote:
>
>Is there a good reason that ExternalAttributeProvider sets up a
>dictionary to put its attributes into, rather than a PersistentMapping?
It's mainly to avoid a proliferation of persistent objects, based on the
assumption that if you're using a
HTML Version (frames & JavaScript required):
http://telecommunity.com/TransWarp/IPC9Talk.htm
PowerPoint Version:
http://telecommunity.com/TransWarp/IPC9Talk.ppt
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
At 10:24 AM 3/11/01 +1100, Itai Tavor wrote:
>
>Then I need Specialists to manage collections of PD classes. I think
>that these would also benefit from being product-based, so I subclass
>Specialist to create a manager for each role in the application. Now,
>since an existing application might
At 10:16 AM 3/11/01 +1100, Itai Tavor wrote:
>
>I'm wondering where TransWarp leaves ZPatterns users. Until a couple
>of weeks ago ZPatterns was the best thing to happen in the Zope world
>since, well, Zope. Now it's described as a 'hack',
Those things aren't mutually exclusive, you know. :)
At 10:52 AM 3/6/01 -0500, Shane Hathaway wrote:
>"Phillip J. Eby" wrote:
>>
>> There's actually a simpler way. Aspect objects can be pickled as long as
>> all the objects in them can be pickled. Which means that as long as all
>> their methods are Zo
At 12:39 PM 3/2/01 -0500, Shane Hathaway wrote:
>
>We've been separating concerns in the PTK/CMF for the last year now.
>We've been moving as many responsibilities of the content objects as
>possible into per-portal "service" objects. The services provide user
>interface, discussion capability,
At 03:53 PM 3/2/01 -0500, R. David Murray wrote:
>On Fri, 2 Mar 2001, Shane Hathaway wrote:
>> "Phillip J. Eby" wrote:
>> > One reason I've been racing like mad to get the preview release out is so
>> > that, after seeing the usefulness of TW for the
At 09:37 AM 3/1/01 -0500, Shane Hathaway wrote:
>This looks very interesting, Phillip. I haven't downloaded the package
>yet, but I read the wiki and it finally made sense once I understood the
>goal (I think): TW lets you set up the class inheritance hierarchy at
>runtime. In normal OO methodol
It's here... the first preview release of TransWarp. The bad news is, it
only contains working versions of the aspect-oriented programming tools
(the rest of the package is in flux). The good news is:
1. It's a *robust* working version, with 114 unit tests to prove it, and
2. There's state-of
At 10:29 AM 2/21/01 +1100, Itai Tavor wrote:
>
>I think I've severely misunderstood how Racks work. I thought
>persistent Racks just store properties, and then use the ZClass set
>in the Storage tab to wrap that data when providing it. Which means
>that I can change the class set for storage an
At 05:25 PM 2/19/01 +, Chris Withers wrote:
>
>Hmmm arguably a bug in ExtensionClass, but not one I'm gonna try and
fix ;-)
>
It's not a bug, it's a feature -- the feature that is the reason for the
very existence of ExtensionClasses in the first place: merging of the
notion of type and c
At 05:50 PM 2/19/01 +0100, Christian Scholz wrote:
>
>(though I am still confused a little, as I tried one non-existing
>attribute and it didn't work. But this one also was not defined inside
>the SkinScript and the database).
As I said, the attribute must exist if and only if the row is in the
d
At 05:29 PM 2/19/01 +0100, Christian Scholz wrote:
>>
>> You need to use an attribute which the object has *if and only if* it
>> exists in the database. If the class has the attribute defined, all
>> instances exist, and you can't even load it with SkinScript because
>> ZPatterns uses __getattr
At 02:59 PM 2/19/01 +0100, Christian Scholz wrote:
>
>So as the item is an instance of my ZClass containing also an company_name
attribute
>it will always return the item and because of that the Rack thinks it's
already there.
>So why is this happening? What do I need to change?
You need to use a
At 10:47 PM 2/18/01 -0800, Michael R. Bernstein wrote:
>
>Hmm. So I need to refactor the 'manage_add' method inside
>the python product into two methods, 'manage_add' which
>would be used by the 'normal' object creation process and
>that would also call a second 'setup' method which could be
>call
At 09:49 PM 2/18/01 -0800, Michael R. Bernstein wrote:
>
>Ok, assuming that the 'normal' instantiation is either
>solved or a non-issue, do I need to do anything special to
>get the newItem() method to call my products manage_add
>method?
newItem() will not do that. A Rack's newItem() method alw
At 12:51 PM 2/18/01 -0800, Michael R. Bernstein wrote:
>I have an existing Python Product that I would like to use
>as a DataSkin in a Rack.
>
>What do I need to change (import/subclass) in order to use
>it in this way?
>
from ZPatterns.DataSkins import DataSkin
class MyClass(DataSkin,...all oth
At 09:29 AM 2/12/01 -0500, Tim McLaughlin wrote:
>thanks to the excellent tool (tcpwatch) I was able to pinpoint the issue I
>am having with LoginManager. It seems that it is returning an HTTP/1.0 500
>Internal Server Error as the response to the proxy which then tells the
>browser that the page
At 07:32 PM 2/8/01 +0100, Johan Carlsson wrote:
>Hi,
>
>I want to create a sub modul in one of my Python Products,
>because it gets more manageble.
>Accualy I have a bunch of Plugins I which files I want to manage
>in sub directories of the original Python Product.
>
>e.g. ./Products/MyProduct/Plu
At 08:38 AM 2/4/01 -0800, Michael Bernstein wrote:
>
>On that subject, does anyone know why SkinScripts don't
>support cut-n-paste or copy-n-paste?
>
'cause I never thought of implementing it, probably because I've never yet
needed to move a SkinScript. Patches cheerfully accepted. :)
___
At 07:12 PM 1/21/01 +, Steve Alexander wrote:
>
>So, storing things in a Rack happens in a number of stages:
>
> Your application interacts with the Rack
> The Rack (perhaps) stores the object persistently in its BTree
> The BTree is a collection of persistent ZODB objects
> The ZODB o
At 06:38 PM 1/7/01 -0800, John Eikenberry wrote:
>
>Anyways... I want to be able to support both cookie based auth and basic
>auth. With cookie based auth being the default unless they don't have
>cookies (either because they have them turned off, behind a proxy filter,
>etc), in which case they s
At 09:41 AM 1/19/01 -0500, Aaron Payne wrote:
>At 09:38 AM 1/19/01 -0500, Phillip J. Eby wrote:
>
>> >>Thus, your
>> >>SkinScript is running as anonymous, and probably doesn't have rights to
>> >>access the SQL method.
>> >>You might ne
At 09:05 AM 1/19/01 -0500, Aaron Payne wrote:
>At 05:02 PM 1/18/01 -0500, Phillip J. Eby wrote:
>>At 08:54 AM 1/18/01 -0500, Aaron Payne wrote:
>> >Hi all,
>> >
>> >I originally posted this to the zope list and, upon suggestion, I am
>> >reposting it
At 08:54 AM 1/18/01 -0500, Aaron Payne wrote:
>Hi all,
>
>I originally posted this to the zope list and, upon suggestion, I am
>reposting it to zope-dev.
>
>I'm using a zsql method in a skinscript with query ... compute ... and it
>mostly works. Retrieving the dataskin with getItem() works. For
At 04:45 PM 1/18/01 +0200, Roch'e Compaan wrote:
>
>> Phillip J. Eby wrote:
>>
>> > I'm pretty sure DTML methods *won't* work. "Python Methods"
>> > might. I don't know about external methods, python scripts, etc.
>>
>>
At 04:57 PM 1/18/01 +, Steve Alexander wrote:
>Here's my understanding of how Persistent Attribute Providers work:
>
>Persistent Internal Attribute Provider
>
> DataSkins and Attributes are ultimately stored like this:
>
>
>Rack's BTree
> |
> |
> | Slots: key:value
>
At 04:41 PM 1/17/01 +0200, Roch'e Compaan wrote:
>
>
>> I don't have the slightest idea what you're trying to accomplish here - I
>> probably missed the beginning of this thread. Do you want to change the
>> way the specialist processes the string "dataskin1", or the way dataskin1
>> processes th
It sounds to me like you're trying to have SkinScript supply a
bobo_traverse for the Specialist itself, and this you cannot do. (There
are other ways to change a Specialist's bobo_traverse behavior, but
SkinScript is not one of them.) The SkinScript you're doing is meaningful
only if you want to
At 12:49 AM 1/6/01 +, Steve Alexander wrote:
>
>WHEN OBJECT ADDED, CHANGED CALL self.ensure_conditions_hold()
>
>I write the ensure_conditions_hold method so that it returns None if
>everything is ok, but raises an exception if there is a problem with the
>new state of the object.
>
>That's
At 06:03 PM 1/4/01 +, Steve Alexander wrote:
>
>I think what is happening in the broken example is that when the zope
>security machinery asks for __roles__, name is also computed. The
>machinery must request __roles__ before changing anything.
>
The behavior is as documented, though I'm no
At 05:15 PM 1/3/01 +, Chris Withers wrote:
>
>What I'd like:
>'Zope' objects of type 'X', which can have multiple parents and can
>contain other objects of type 'X', where storage isn't necessarily tied
>to the ZODB but where the objects have a normal properties page (in
>terms of use, again,
At 11:43 AM 1/3/01 +, Chris Withers wrote:
>"Phillip J. Eby" wrote:
>>
>> DataSkins stored in Racks do not participate in the Zope ownership
>> mechanism, nor the creation of the 'Owner' role. This is because they are
>> not being stored via th
At 03:08 PM 1/2/01 +1100, Itai Tavor wrote:
>Hi Steve,
>
>>Steve Spicklemire wrote:
>
>> > "Itai" == Itai Tavor <[EMAIL PROTECTED]> writes:
>>
>> Itai> Maybe with this
>> Itai> SkinScript: WITH Doers.getItem(self.doerID) CALCULATE
>> Itai> self.doerID=RESULT.id or '' ? But I'm no
At 05:13 PM 12/21/00 +1100, Itai Tavor wrote:
>>
>>I think you're right about this being an OrderLineItem. A couple of fine
>>points, however... First, I don't think there needs to be an
>>"OrderLineItemsWithGraphic" specialist, since there is nothing else that
>>would talk to it. It's fine in
At 04:21 PM 12/18/00 +1100, Itai Tavor wrote:
>
>This is how I see it:
>
>- Products Specialist
> productRack
> customizableProductRack
>
>- OrderLineItem Specialist
> lineItemRack
> lineItemWithGraphicRack
>
>- product.addMeToOrder():
> order.addLineItem(product_id=id, add='li
At 02:42 PM 12/14/00 +0200, Roch'e Compaan wrote:
>As part of a Customer Relationship Management system our company is
>developing, we have a Licenses specialist which manages product licenses.
>All license objects do not have the same attributes however. The various
>attributes relating to diffe
At 02:49 PM 12/14/00 +0100, Ulrich Eck wrote:
>
>after a while I think I got it now.
>
>I use a FcWS as a Folder like usual in Zope and if i create an object
>of a type which is "customized" certain attributes will be set through
>the customizer.
Yes.
>so for a database app that handles multip
1 - 100 of 333 matches
Mail list logo