[Zope-dev] Dataskin with no persistence.

2001-04-12 Thread Godefroid Chapelle
Hi, I am trying to build a specialist which gives me access to a facade ZClass in front of a XML file. As the XML is already stored, I do not want to store the facade ZClass. Actually, I would like it to be a base on which the skinscript of the specialist's rack can add attributes. So I

[Zope-dev] Database indexing using Z Catalogs

2001-04-12 Thread Honey George
Hello, I am not able to find a way to index and external database say PostgreSQL using Z Catalogs and search the contents. Can anybody help me in this. I couldn't find a complete documentation in the zope site. It will be helpfull to me if somebody can explain to me using an example.

[Zope-dev] Custom dtml tag ... parameters not evaluated

2001-04-12 Thread Romain Slootmaekers
Yo, I'm trying to create a custom dtml tag, and after the How-to on this (http://www.zope.org/Members/z113/1) that in itself posed no problem: easy as pie. The problem I'm having with the tag is that parameters are not evaluated. for instance (my tag's name is 'aa') dtml-let y="someValue"

[Zope-dev] Security Management

2001-04-12 Thread Andre Schubert
Hi all, I have a question on the security system of zope. First i have a folder called foo in the root with acl_users and a doc called foo_doc: root/ bar_doc foo/ acl_users/ joe foo_doc If Anonymous users could'nt view the foo_doc. This means only logged in users

RE: [Zope-dev] memory leak

2001-04-12 Thread Marco Nova
In either case, it seems like you shouldn't be using ParsedXML's ExpatBuilder, which is an interface to PyExpat which is made to create ParsedXML's DOM objects. You should be using your own PyExpat interface to parse this information from your XML input, without the overhead of generating a

Re: [Zope-dev] Dataskin with no persistence.

2001-04-12 Thread Steve Alexander
Godefroid Chapelle wrote: data plug-in : a skinscript computing attributes based on an id and the xml. storage : Class to use for stored items: HumanClass Objects are: loaded by accessing attribute nom (which is defined in the skinscript) Store 'persistent' data: Directly in

[Zope-dev] turn off proxying TTW

2001-04-12 Thread Tim McLaughlin
How in the heck do I do this? (also, does anybody know how to make an owned object "unowned"). It seems that once I select a proxy role, I can't turn it off... TIA, Tim ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] un-own an object

2001-04-12 Thread Tim McLaughlin
Ok, so imagine a DTML method has an owner, and as the docs say the method can do no more than the authenticated user and the owner's permissions combined. So, now delete the owner. The DTML method will no longer be functional, since the owner does not exist, and has no permissions. I found

[Zope-dev] Re: RackImage

2001-04-12 Thread Michael R. Bernstein
Itai Tavor wrote: Could I get a copy of this product? I'm trying to create a Rack-mountable Image class but I'm having a lot of trouble getting a class subclassed from Image and DataSkin to work. Having some working code could save me some trouble. I only need the basic RackImage,

RE: [Zope-dev] ActiveState / DC Collaboration

2001-04-12 Thread Brian Lloyd
Someone with enough knowledge about how Python windows installs work and a rudimentary knowledge of WISE should be able to work it out so that the win32 distribution is willing to let you pick which Python to use if it sniffs one (or more) out on the target system. What about

RE: [Zope-dev] Using Python script to create ZClass instances

2001-04-12 Thread Bjorn Stabell
After hours of fiddling around, I've already given up Python methods, but I can't even instantiate MySubZclass via External Methods?!?!? MyProduct . MyZClass . MySubZClass 1. folder.manage_addProduct['MyProduct'].MyZClass.MySubZClass_add(id) - AttributeError for MySubZClass_add

[Zope-dev] Virtual DataSkins

2001-04-12 Thread Michael R. Bernstein
Steve Alexander wrote: In the ScinScript, you need to determine what data to use based on self.id. Here's the SkinScript I use for a similar function; I'm creating "virtual" instances of one ZClass, based on instances of a different ZClass from another Specialist. In this case, the other

[Zope-dev] ZCatalog waaaagh!

2001-04-12 Thread Chris Withers
Hi Chris (and anyone else who can help), Hopefully you may be able to save my sanity. Querying a ZCatalog(2.3.1, running update thing made no difference), I'm getting the following error: type: exceptions.TypeError value: len() of unsized object sr = self.searchResults(kw) File

[Zope-dev] getattr'ing proxy object's methods

2001-04-12 Thread Kent Polk
I have a product with a proxy class for building objects which manage data for other objects. The proxy clients locate their proxy via meta_type, similar to a sql connection_id and use acquisition to establish parameters for each call. I want to pass method calls made to the clients directly to

RE: [Zope-dev] Custom dtml tag ... parameters not evaluated

2001-04-12 Thread Randall F. Kern
Try adding something like this in your render method (haven't tried this, but from a poking around the code in the DocumentTemplate directory in the past this seems about right): import VSEval expr = VSEval.Eval(variable_you_want_to_evaluate) value = expr.eval(md) -Randy -Original

RE: [Zope-dev] Database indexing using Z Catalogs

2001-04-12 Thread Loren Stafford
http://www.zope.org/Members/rbickers/cataloganything -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Honey George Sent: Thursday, April 12, 2001 00:46 To: [EMAIL PROTECTED] Subject: [Zope-dev] Database indexing using Z Catalogs Hello, I

Re: [Zope-dev] ZCatalog waaaagh!

2001-04-12 Thread Chris McDonough
What's the query? - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 12:13 PM Subject: [Zope-dev] ZCatalog wgh! Hi Chris (and anyone else who can help), Hopefully you may be

[Zope-dev] More errors :(

2001-04-12 Thread Andy McKay
Sigh perhaps I should stop monitoring the error log. This is just a log of time, error type, error value. ... anyway I get a lot of errors like this: Tue Apr 10 12:32:46 2001: [NotFound] [img GET] Why is this different from a more standard error msg: Tue Apr 10 12:32:46 2001: [NotFound] [/foo]

Re: [Zope-dev] un-own an object

2001-04-12 Thread R. David Murray
On Thu, 12 Apr 2001, Tim McLaughlin wrote: Ok, so imagine a DTML method has an owner, and as the docs say the method can do no more than the authenticated user and the owner's permissions combined. So, now delete the owner. No, it is the *intersection* of the two ownership sets, not the

[Zope-dev] **Important Notice** for Zope public CVS users

2001-04-12 Thread Brian Lloyd
Hello all - [I'm intentionally cross-posting this because there are a number of folks using CVS that may read only one or the other] If you've looked at the dev.zope.org site lately, you have probably noticed a preliminary Zope 2.4 plan: http://dev.zope.org/Resources/zope_240_plan.html

Re: [Zope-dev] Dataskin with no persistence.

2001-04-12 Thread Godefroid Chapelle
Steve Alexander a crit : Godefroid Chapelle wrote: data plug-in : a skinscript computing attributes based on an id and the xml. I just want to stress that I deleted every prebuilt other data plugins... My ZClass has only an empty dataskin property sheet. storage : Class to

Re: [Zope-dev] Custom dtml tag ... parameters not evaluated

2001-04-12 Thread Dieter Maurer
Romain Slootmaekers writes: I'm trying to create a custom dtml tag ... evaluating attribute valued ... Look at the attribute "branches_expr" in "TreeDisplay.TreeTag" as an example... Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Security Management

2001-04-12 Thread Dieter Maurer
Andre Schubert writes: ... direct access to authentication credentials ... You cannot ask Zope about the user identity because it does not visit the authenticating user folder in the described case. If you use basic authentication (the Zope default), then you can read "REQUEST._auth" to get

Re: [Zope-dev] How do I call an HTMLFile in context provided by a path?

2001-04-12 Thread Dieter Maurer
Itai Tavor writes: P.S Now that aq_parent is working... why can't I do absolute_url() on DTMLFiles :-( "absolute_url" is provided by the class "OFS.Traverable". Apparently, "DTMLFile" is not derived from it. Dieter ___ Zope-Dev maillist -

Re: [Zope-dev] **Important Notice** for Zope public CVS users

2001-04-12 Thread ender
On Thursday 12 April 2001 12:46, Brian Lloyd wrote: We are soon going to begin checking in changes to the head of the Zope CVS that will require the use of Python 2.1. Once we start on the 2.4 tasks, you will not be able to use a public CVS checkout of Zope with older Pythons. We are not going

[Zope-dev] Two new proposals: InstallationAndConfiguration and PrefixedTagVariables

2001-04-12 Thread Evan Simpson
http://dev.zope.org/Wikis/DevSite/Proposals/InstallationAndConfiguration outlines a new process for installing and configuring Zope. http://dev.zope.org/Wikis/DevSite/Proposals/PrefixedTagVariables describes a variant of Tino's fix for sequence-item variables. Cheers, Evan @ digicool

Re: [Zope-dev] ZCatalog waaaagh!

2001-04-12 Thread Chris McDonough
Ugh. I know why this is. Ugh. Ugh Ugh. Give me an hour. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 12:13 PM Subject: [Zope-dev] ZCatalog wgh! Hi Chris (and anyone

[Zope-dev] New Proposal: ExtendedDTMLSorting

2001-04-12 Thread Andreas Jung
http://dev.zope.org/Wikis/DevSite/Proposals/ExtendedDTMLSorting Cheers, Andreas ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] How do I call an HTMLFile in context provided by apath?

2001-04-12 Thread Itai Tavor
Dieter Maurer wrote: Itai Tavor writes: P.S Now that aq_parent is working... why can't I do absolute_url() on DTMLFiles :-( "absolute_url" is provided by the class "OFS.Traverable". Apparently, "DTMLFile" is not derived from it. Dieter Well, obviously... the question is why nobody saw

RE: [Zope-dev] **Important Notice** for Zope public CVS users

2001-04-12 Thread Brian Lloyd
We are soon going to begin checking in changes to the head of the Zope CVS that will require the use of Python 2.1. Once we start on the 2.4 tasks, you will not be able to use a public CVS checkout of Zope with older Pythons. We are not going to start this until after Python 2.1 final is

[Zope-dev] Re: RackImage

2001-04-12 Thread Itai Tavor
Michael R. Bernstein wrote: Itai Tavor wrote: Could I get a copy of this product? I'm trying to create a Rack-mountable Image class but I'm having a lot of trouble getting a class subclassed from Image and DataSkin to work. Having some working code could save me some trouble. I only