Re: [Zope] manage_workspace

2000-09-08 Thread R. David Murray
On Fri, 8 Sep 2000, Mechtild Hofmann wrote: > I'am looking for the source-code from "manage_workspace". Where do I > find this file or is it part of a *.py - file ? Yes, it's in a .py file. I think the one you are looking for is in lib/python/App/Management.py. --RDM _

Re: [Zope] change_properties

2000-09-08 Thread R. David Murray
On Fri, 8 Sep 2000 [EMAIL PROTECTED] wrote: > neuesBudget})"> > > This means I'd like to change in a token property only one value but it's > not working. I don't think you can do that. I presume that manage_changeProperties uses the variable names passed in to look the property up in the prop

RE: [Zope] Not able to render a base class...

2000-09-08 Thread R. David Murray
On Fri, 8 Sep 2000, Brian Withun wrote: > I was rather expecting to see 'Renderable' as an option in the BASE CLASSES, > but it's not there. If it's supposed to be there, can you fathom what I may > have done wrong? You need to install the Renderable product. --RDM ___

Re: [Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Tim Hicks wrote: > So each time there is a change made to the text, I must call > reindex_object, is that correct? If so, how do I make it so that each > time I hit the 'Change' button at the bottom of the text box, > is executed? If you take a close look at the how-to, it a

Re: [Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Tim Hicks wrote: > The question is, do I need to add the equivalent of what is written in > 'How-To: Creating a CatalogAware ZClass' for reindexing zclass > properties, but for reindexing the actual text? How could I do this? When is the text created? After it is, you have t

Re: [Zope] Editing of ZClasses using FTP: Access denied

2000-09-07 Thread R. David Murray
On Thu, 7 Sep 2000, Harald Koschinski wrote: > I am trying to edit methods inside a ZClass. The problem is, that the > ZClasse-folder don´t has any permissions via FTP - so there is no chance > to come into the folder. > > Where do I have to change the permission?? You don't. However, if you sp

Re: [Zope] Folder and SQL security

2000-09-04 Thread R. David Murray
On Mon, 4 Sep 2000, George wrote: > asks for the password even for the viewing. Then I enable 'access the > content' and the site works as long as I do not try to use sql. When I > how ever enable 'use sql methods' permission they can access my > database, delete and add entries to it. What do I h

Re: [Zope] Render the number of occurrence in a batch

2000-09-04 Thread R. David Murray
On Fri, 1 Sep 2000, Kapil Thangavelu wrote: > Francois-Regis CHALAOUX wrote: > > How to render the total number of result coming from the search in a ZCatalog > > even if the batch will be render in several sequences ? > > > > Howto render : "Your search contain results" > > Or just

Re: [Zope] Objet : Re: [Zope] Searching in all field with ZCatalog

2000-08-31 Thread R. David Murray
> No, you asked the right question, scuse me for the error !! > I would like only one entry in the form to search in all indexed fields. > I like this solution cause it is sometimes difficult for a no regulmar user in > this aera (Protein Data Bank) to question the right field. > In fact I would

Re: [Zope] CRC-32 checksum

2000-08-31 Thread R. David Murray
On Wed, 30 Aug 2000, Jim Sanford wrote: > Does anyone have or know the whereabouts of a python module that will do 32 bit CRC >checksums? I found a crc32 function in the zlib module for python. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://li

Re: [Zope] Export/import problem

2000-08-30 Thread R. David Murray
On Wed, 30 Aug 2000, Oras Kaarel (2914) wrote: > I have two different Zope types (Zope 1.10.3 (binary release, python 1.5.1, > win32-x86) and Zope version: Zope 2.2.1 (binary release, python 1.5.2, > win32-x86)) and our intranet is located in the older version. I thought that > exporting/importing

Re: [Zope] symbolic links or invisible objects..?

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Geoffrey L. Wright wrote: > Aparently the fact that a number of other non-content objects are visible > at the same level of heirarchy in the site is a problem. So my question > is this: > > Is there any way to make zope understand something like a UNIX symbolic > link? I

Re: [Zope] SSL and PGP

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Diego Rodrigo Neufert wrote: > Anyone know how to send a pgp cryped email in zope? (using or > anything else) > > and > > How to run a SSL server with ZServer? Search for M2Crypto on zope.org. It does both. --RDM ___ Zope mai

Re: [Zope] Question relating to a zope product 'Tracker': emailproblems

2000-08-29 Thread R. David Murray
On Tue, 29 Aug 2000, Julian Harris wrote: > PS if I wanted to make a change to the source on my machine, do I have to > compile it? I see these PYC files everywhere but I thought Python was an > interpreted language? How would I make a change if I found that I had to > tweak the code a little? If

Re: [Zope] Sub Class Question

2000-08-28 Thread R. David Murray
On Sun, 27 Aug 2000, Loren Stafford wrote: > Here's what MJ told me about that case. I'm not sure it applies to your > case. Did you try it? Did it work? Thanks for the info. It was the Extension class piece I was missing. I tested it on a regular class, of course . The original problem wasn't

Re: [Zope] "Automatic" creation of searchable documents from OracleDB tables

2000-08-27 Thread R. David Murray
On Sun, 27 Aug 2000, Chris Beaumont wrote: > Then, one (in the case of the event types without possible "parents") > or both of the SQL Methods are called in an DTML Document input form. > When the form is submitted a DTML Method is triggered, which right > now only shows an acknowledging thank

Re: [Zope] is possible ?

2000-08-27 Thread R. David Murray
On Sun, 27 Aug 2000, Bill Welch wrote: > Hmm. Don't you mean _[myPropName]? I think that will throw a key error if the value of myPropName is a key in the namespace, though, which I don't think is what he wants. If the question is specifically whether or not the property is in request, then

Re: [Zope] Sub Class Question

2000-08-27 Thread R. David Murray
On Sat, 26 Aug 2000, Loren Stafford wrote: > def index_object(self): > if self.nextEventTime() is not None: > CatalogAware.index_object.im_func(self) > # see Python Reference Manual "The standard type hierarchy" > # for the built-in type im_func I realize this is a P

Re: [Zope] How to implement a round through the whole web site

2000-08-25 Thread R. David Murray
On 25 Aug 2000, Christian Leutloff wrote: > My problem is now how to store the intermediate results in > variables. I'm able to define a variable (myseq), but I'm not able to change > the value afterwards: > > < snip > > > > <-- wrong!!! You're going to kick yourself on this one :

Re: [Zope] Sub Class Question

2000-08-25 Thread R. David Murray
On Fri, 25 Aug 2000, Daniel Rusch wrote: > def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw): > print 'Sub Class __call__' > DTMLMethod.__call__(self, client, REQUEST, RESPONSE, kw) [...] > when I view the BasicMethod in Zope, I get: > Error Type: TypeError > Er

Re: [Zope] ZCatalog - OR'ing on different colums (indices)

2000-08-25 Thread R. David Murray
On Fri, 25 Aug 2000, Aleksander Salwa wrote: > Is there any better method of OR'ing on differend indices in quering > ZCatalog, then the method described in 'Advanced ZCatalog Searching' Ah, my solution obviously only works if all your fields are text indexes... --RDM _

Re: [Zope] ZCatalog - OR'ing on different colums (indices)

2000-08-25 Thread R. David Murray
On Fri, 25 Aug 2000, Aleksander Salwa wrote: > Is there any better method of OR'ing on differend indices in quering > ZCatalog, then the method described in 'Advanced ZCatalog Searching' > How-To: One way that works well but only works if you always do the same type of search (which it sounds lik

RE: [Zope] Where do I find out about cookies?

2000-08-25 Thread R. David Murray
On Fri, 25 Aug 2000, Jean Jordaan wrote: > > > REQUEST.form['sort_key'])"> > > > REQUEST.cookies['sort_key'])"> > > > > > [...] > Since anything in any of the REQUEST dictionaries is on the nam

Re: [Zope] How do I create a folder full of "virtual" DTML objectsfrom records in a database records in a database

2000-08-24 Thread R. David Murray
On Thu, 24 Aug 2000, Chris Beaumont wrote: > Thank you, I've been successful in setting up basic SQL methods, data > input forms and query forms, > the problem Ive been having is in trying to break each table record (one > row in a table, say) out into a separate DTML document.. with fields in > t

Re: [Zope] How do I create a folder full of "virtual" DTML objectsfrom records in a database records in a database

2000-08-24 Thread R. David Murray
On Wed, 23 Aug 2000, Chris Beaumont wrote: > I need to take rows in an SQL database table, and create one or > several nested folders of web pages out of them.. I'd suggest checking out the ZSQL Methods manual, and then asking any questions that you still have (and there probably will be some!)

Re: [Zope] compiling on windows

2000-08-23 Thread R. David Murray
On Wed, 23 Aug 2000, Wolfgang Strobl wrote: > > Zope builds happily on a stock python 1.5.2 and the cvs versions of > > 2.0 too. > > Huh? I was under the impression that building python C extensions > needs some stuff from the source dist. But I might be wrong here. >From my unix viewpoint, I as

Re: [Zope] method

2000-08-23 Thread R. David Murray
On Wed, 23 Aug 2000, Phil Harris wrote: > I seem to remember a entry to the collector about this, I think your stuck > with having a 'static' sort key. http://classic.zope.org:8080/Collector/1541/view Oh, wait, no that's the wrong one. Hmm. I don't seem to have saved the one specifically about

Re: [Zope] Vocabulary and stop words

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Andy McKay wrote: > I havent been able to the find TFM to read on Vocabulary and stop words in ZCatalog. >I need to search by stuff such as XML::Parser and I think I need to patch 2.2 to do >it. But a FM would help. Can anyone point me that way. I don't think there is one.

Re: [Zope] QSurvey 0.23 and Zope 2.2.1b

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Alexander Chelnokov wrote: > Just installed Z2.2.1b, successfully imported some products but when > trying to import QSurvey 0.23 got the message: > > Zope Error > Zope has encountered an error while publishing this resource. >

Re: [Zope] Split Data.fs

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Marcus Mendes wrote: > Is a good idea split Data.fs? (comments) I'm sure it depends on your system design and constraints. In a "normal" situation (whatever that is ) it probably doesn't matter much. Some cases where you'd consider it: getting around the Linux 2GB limit, pu

Re: [Zope] generalizing DTML method question

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Jean Jordaan wrote: > How do I generalize this DTML method? [...] > [...] > The problem is that 'origin_values' bit. It's a TinyTable. > I want to make 'makeList' a DTML method on its own, and then > call it to make lists of: > > clearance_values [...] You could try

Re: [Zope] Yihaw on 2.2.1b1, boolean properties

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Wolfgang Strobl wrote: > 9. Uncheck "Highlight" and push Save Changes. > > Result: The boolean Highlight property checkbox is still checked. > There is no way of making it unchecked, again. This *sounds* like the boolean property bug that appeared in 2.2 (I think) and was s

Re: [Zope] Permissions / roles question

2000-08-22 Thread R. David Murray
On Tue, 22 Aug 2000, Jean Jordaan wrote: >## njj: change (changes to login code for GUF) ## [...] > I mean, the Manager role *does* have the 'Change ZWiki Pages' > permission, and does *not* have the 'Anonymous' roles. Actually, in at least some versions of GUF, all users also have the A

Re: [Zope] Zope on HPUX

2000-08-21 Thread R. David Murray
On Mon, 21 Aug 2000, Michael Maul wrote: > Does any one have zope running on hpux 10.20? > It needs a thread enabled python, which I have not been able to build > (Using pthread 1.3.7) > each time I try to run the python Interpeter it core dumps..with.. > pthread_mutex_init: Invalid argument

Re: [Zope] Builing DynPersist.c - LoginManager / ZPatterns ..

2000-08-21 Thread R. David Murray
On Mon, 21 Aug 2000, [iso-8859-1] Jørgen Skogstad wrote: > DynPersist.c > > It is the file above it fails on .. and I think I saw a message > that this is a "common" problem others have experienced. Is this > correct? And does anyone have the shared lib for RH v6.2?? If RH, probably RPMs. If RPM

RE: [Zope] Strange behaviour on authorization

2000-08-21 Thread R. David Murray
On Mon, 21 Aug 2000, Casey Duncan wrote: > The fact that your external method returns a class instance explains why it > fails where it does instead of in the dtml-let statement. It looks as though > Zope is allowing the object to be returned, but balking when you try to > access it. I think I wil

Re: [Zope] calling (SQL) methods dynamically from External methods

2000-08-21 Thread R. David Murray
On Mon, 21 Aug 2000, Philipp Auersperg wrote: > Interesting fact: > When retrieving the method object with "m=self.dbTest" and then with >"m1=self.__dict__['dbTest']" > "print m,m1" show the same string but "m==m1" results to false! > > What am I doing wrong? There seems something mixed up with

Re: [Zope] Choose where to create a ZClass instance with EM

2000-08-17 Thread R. David Murray
On Thu, 17 Aug 2000, Andy McKay wrote: > Get a handle to the object where you wish to create the object then create > the object. > > For example: newobj = getattr(self, 'folderA') > > will give you folderA in self. The new object will be created in folderA. Isn't it actually that he wants to d

Re: [Zope] modifying/changing DTML properties

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Paul Schreiber wrote: > --- "R. David Murray" <[EMAIL PROTECTED]> wrote: > > On Wed, 16 Aug 2000, Paul Schreiber wrote: > > > > > > > > > > This: > > > > > > results in: >green &

Re: [Zope] Best way to subclass DTML Document and some other ZClassesquestions

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Marcin Kasperski wrote: > > Pass it as an argument to the call that creates the DTML Document. > > How? > Currently my constructor method contains > the following (mk_dtml_document is my custom class which subclasses DTML > Document, Extra is the name of my custom propertysh

Re: [Zope] Best way to subclass DTML Document and some other ZClasses questions

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Marcin Kasperski wrote: > REQUEST)"> > > >How can I change original title? > > > > > On which object (which property sheet) should I call > manage_editProperties to change document title? I believe the title goes in the 'default' property sheet, but more than

Re: [Zope] modifying/changing DTML properties

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Paul Schreiber wrote: > > --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-annou

Re: [Zope] The mysteries of Product icons ?????

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Daniel Rusch wrote: > Then someone had the brilliant idea to change it. I can not figure out > how to get Zope to load the new icon. I have deleted the product from > Product Management at /Control_Panel / Products, rm the *.pyc files, > bounced Zope, but it still hangs on to

Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread R. David Murray
On Wed, 16 Aug 2000, Chris Withers wrote: > Shame no-one implemented this into the entity syntax :( > > &dtml-/some/folder/and/path/wotsit; would be so nice ;-) Ooo, that's seriously *ugly* looking syntax . --RDM ___ Zope maillist - [EMAIL PROTECT

Re: [Zope] DTML: fetch an object by its url?

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Scott Shepherd wrote: > In DTML is it possible to get an object using its url? Something like > > ... Something like. I asked this question a long time ago, and refound the answer by searching the zope.nipltd.com mailing list archives using the search terms 'resolve and

Re: [Zope] String Module ??? newbie question

2000-08-15 Thread R. David Murray
On Wed, 16 Aug 2000, Indra Gunawan wrote: > my installation is Zope 2.2.0 on W2K. > I try to use the find method as follow, why can't it runs? > > it said Attribute error: find _.string.find --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Kapil Thangavelu wrote: > #example call to above > # If your original form submits using the GET method, then QUERY_STRING will contain the already URL encoded parameters that the browser sent originally. DTML also has a url_encode format you can use to cause a string to be

Re: [Zope] Getting a document's contents

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Joshua Brauer wrote: > I have a folder (Parts) that contains dtml documents that are snippets of code. I >want to include some of them which I have listed in a variable (select). > > So I use code like this: > > > > > > Right idea, but not quite there. Your 'select'

Re: [Zope] Struggling with Permissions

2000-08-15 Thread R. David Murray
On Tue, 15 Aug 2000, Jean Jordaan wrote: > (this is from ccDocClass_add). When I arrive I *still* see: > > (I'm Anonymous User and I have Anonymous role(s).) > > Now I edit the URL manually and visit /docs/manage, which > works *without* prompting me for authentication. I edit the > URL back

Re: [Zope] problem running Zope

2000-08-14 Thread R. David Murray
On Fri, 11 Aug 2000 [EMAIL PROTECTED] wrote: > trying to run 'python z2.py" I get an error message saying the > executable is incompatible with the hardware (obviously!!). So I tried > to recompile the python source on the new machine and everything seemed Note that you will also have to recompil

RE: [Zope] Zope - long running process

2000-08-14 Thread R. David Murray
On Sat, 12 Aug 2000, bak @ kedai wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J. > > Atwood > > > > There is a switch in z2.py that allows you to point to a PID file. It will > > automatically restart your Zope installation once it goes d

Re: [Zope] Start-up log?

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, William BC Crandall wrote: > Simple question: Does Zope generate a log file > noting each transaction, including start-up > complaints? > > (I get error messages that scroll out of sight > when I run START.BAT.) If you define the enviroment variable STUPID_LOG_FILE to be t

Re: [Zope] Best way to subclass DTML Document and some other ZClassesquestions

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Marcin Kasperski wrote: > 1) How can I set standard DTML Document properties (title!) from my > constructor? I created constructor form and constructor method, I > succesfully prompt for and set all my properties but I do not know how > to set properties belonging to DTML Docu

Re: [Zope] dtml-in and tuples

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Jonothan Farr wrote: > Well in Python a list is mutable and a tuple is not. Right, but he's asking why dtml-in treats tuples in a special way, and exactly what that behavior is. --RDM > - Original Message - > From: Chris Withers <[EMAIL PROTECTED]> > > Why and how

RE: [Zope] substring search on zcatalog textindex

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Casey Duncan wrote: > Searching TextIndexes you can use "and", "or" or "andnot" as query criteria. > I also see support in the source code for near searches using "..." in the > query string. I have not been able to get this to work (although the first > three work great for m

Re: [Zope] Persistence.py does not define Persistent

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Skip Montanaro wrote: > I'm trying to publish my own module with ZServer (from Zope 2.2.0). I get > the following traceback: > > from Persistence import Persistent > ImportError: cannot import name Persistent > > When I look at lib/python/Persistence.py, all I see

Re: [Zope] zcatalog -- returning context of hits on fulltext

2000-08-14 Thread R. David Murray
On Mon, 14 Aug 2000, Jimmie Houchin wrote: > I may be clueless and out of my league here and I haven't read the > sources so I don't know... Well enough of a disclaimer. :) I *have* read the ZCatalog/SearchIndex sources, but I don't understand this part of it yet (or really that much of it at all

Re: [Zope] Requested Zope feature

2000-08-14 Thread R. David Murray
On Wed, 9 Aug 2000, Martijn Pieters wrote: > I am currently implementing Skinnable objects for Zope that'll allow you to > easily define an alternative version of the management interface, and switch > between these interfaces very easily. You could build your own version that > doesn't use JavaSc

Re: [Zope] substring search on zcatalog textindex

2000-08-14 Thread R. David Murray
On Thu, 10 Aug 2000, Chris Withers wrote: > Casey Duncan wrote: > > TextIndexes index individual words separately (using a vocabulary object to > > identify each word in the catalog). All non-alphanumeric characters (such as > > punctuation) are dropped so that excludes searching for "?" or "*" or

Re: [Zope] Precondition

2000-08-06 Thread R. David Murray
On Sun, 6 Aug 2000, Martijn Pieters wrote: > Precondition > > Allows you to specify a precondition for the File. A precondition is a > method or document which is executed before the File is viewed or > downloaded. If the precondition raises an exception then the File cannot >

Re: [Zope] Vocabulary??

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, Sven Hohage wrote: > think I've missed something. > What is the feature "Vocabulary"??Just a hint please! A Vocabulary allows you to associate an arbitrary method of parsing input text into words for the purposes of cataloging and searching in text indexes. The default Vocabu

Re: [Zope] Precondition

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, RC Compaan wrote: > What does the "Precondition" property of the file class refer to? As far as I can tell from a quick scan of the source, the precondition is an object that is called just before the file object is rendered. It can raise an exception, in which case the object

Re: [Zope] Zope with two platforms.

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, Francisco Assis Rosa wrote: > We would like to be able to have > new developments on products to be passed > from the development platform to the > staging platform and to have new > content to be passed from the staging > platform to the development platform. I wonder if you

Re: [Zope] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread R. David Murray
On Fri, 4 Aug 2000, tom smith wrote: > notice the startDateString=StartDateString...which I thought the would've handled, anywaythis seems to have fixed it > > can anyone tell me why? ZSQL methods do not pick variables up out of the name space because the possability of unintended collision

Re: [Zope] Zope Usage

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, Marc Dullien wrote: > Q1: With what tool inside Zope do I program the HTML Templates ? Read the DTML reference. > Q2: I want to fill those templates with database entries Read the ZSQL reference. > Q3: How can I do the linkage Isn't that the same as Q2? > If you could sen

Re: [Zope] dtml-calendar question (still not working)

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, tom smith wrote: > I'm still getting allsorts of errors. My code is like this... > > > > > > > > > > > > > > I'm having trouble passing StartDateString to get_days_events. If I look at > StartDateString using it looks OK. What kind of erro

Re: [Zope] dtml-calendar question.

2000-08-03 Thread R. David Murray
On Thu, 3 Aug 2000, Chris Withers wrote: > > In what way does it *not* follow Python (expression) syntax rules? > > _['something'] doesn't just return the value from the dictionary which > has the 'something' key, if it's callable, it'll try to call it and then > return that... not nice :( > > I

Re: [Zope] dtml-calendar question.

2000-08-02 Thread R. David Murray
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: > | Well, yeah. A restricted python environment. The point being, it follows > | python syntax rules . > > kind of... :-) In what way does it *not* follow Python (expression) syntax rules? --RDM ___

Re: [Zope] dtml-calendar question.

2000-08-02 Thread R. David Murray
On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: > | Untested: > | > | > | > | Inside the quotes you are in Python... > > kind of... Well, yeah. A restricted python environment. The point being, it follows python syntax rules . I see I made a typo: '%s/%s/%s'. --RDM

Re: [Zope] dtml-calendar question.

2000-08-02 Thread R. David Murray
On Sat, 12 Aug 2000, tom smith wrote: > / "date.dd()">/)> Untested: Inside the quotes you are in Python... --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] 2.2 Explicit/implicit problem.

2000-08-02 Thread R. David Murray
On Tue, 1 Aug 2000, Capesius, Alan wrote: > The button displayed under Ownership indicates that they can switch, but > does nothing when clicked. Perhaps this is a manifestation of the 'boolean properties can't be unset' bug reported here earlier? --RDM

Re: [Zope] Separate Instances of Zope

2000-08-02 Thread R. David Murray
On Tue, 1 Aug 2000, blueeye wrote: > If this server goes down, can I have a backup zope server that replicates the main >server? Depending the on the volatility of the data, you could just periodically copy the Data.fs file to the backup machine. --RDM

Re: [Zope] dtml-in question

2000-08-01 Thread R. David Murray
On Tue, 1 Aug 2000, Webmaster wrote: > I have a bunch of zClass instances and I want to display only the ones that > match all three criterion (approved=1, goLiveDate<=ZopeTime(), expired=0). One way to accomplish this is by using ZCatalog. Index those properties, and specify your selection crit

Re: [Zope] From a Folder to a Product

2000-08-01 Thread R. David Murray
On Tue, 1 Aug 2000, Cesar A. K. Grossmann wrote: > You mean, put all sql-queries, dtml-docs and dtml-methods spread in the > root folder of the zope? I'm trying to maintain the root uncluttered > ("every thing in it's place, every place with it's thing"), and I'm > thinking this will do the oposit

Re: [Zope] From a Folder to a Product

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Cesar A. K. Grossmann wrote: > If someone wants to point some general guidelines, the folder contains > only the dtml docs/methods and SQL connection/SQL Queries used to do the > report, and the only thing that changes from one to another customer is > the SQL connection (ever

Re: [Zope] Old Zope

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Luis Cortes wrote: > Does anybody know where I might still be able to download Zope 2.1.6? > > Thank ahead of time for any help, If you look at the URL you would access to download 2.2.0, and replace the version number with 2.1.6, I think you'll find you can still downloa

Re: [Zope] Zpatterns makefile problem

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Owen Smith wrote: > make[1]: *** No rule to make target > `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. > make[1]: Leaving directory > `/usr/local/dc/zope/lib/python/Products/ZPatterns' > make: *** [boot] Error 2 > > Where am I going wrong? > I know /usr

Re: [Zope] Zope and large files strategies?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marcin Kasperski wrote: > Are there any limitations for placing large (say 15 MB) files inside > zope databases? What people running zope services and having to serve > such a files usually do - place them in zope or serve them with apache > (placing links inside zope web)? N

Re: [Zope] ZCatalog updating

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Aaron Williamson wrote: > I am convinced this is a stupid question that has been answered a > hundred times already, but after scouring zope.org and the archives, I > still don't know the answer, so... > > How can I automatically update my ZCatalog when items have been > adde

Re: [Zope] getslice Error?

2000-07-31 Thread R. David Murray
On Mon, 31 Jul 2000, Marko MARKOVIC wrote: > > (ns_entrydate[8:],ns_entrydate[5:7],ns_entrydate[:4]))"> > size="10"> > > > ns_entrydate is a field of my query. What is the type of ns_entrydate by the time it is used in this method? > Error Type: AttributeError > Error Value: __getslice__ [.

Re: [Zope] search on www.zope.org

2000-07-29 Thread R. David Murray
On Fri, 28 Jul 2000, ethan mindlace fremen wrote: > Actually, - is treated as a continuation (ala hyphen) so searching for > dtmlin works fine. > > _ is a stop word, so searching for "mod pcgi" works. > > I'm going to note this on the search page. > > I'm looking into changing this, but Splitte

Re: [Zope] Displaying "Lines"? was: form to a email in a correctpresentation ?

2000-07-29 Thread R. David Murray
On Fri, 28 Jul 2000, Tim Cook wrote: > Other than iterating through the property is there a way to > display or present the lines property for edit without the > containing ['brackets', '&', 'ticks']? Not that I know of. But the iteration is a pretty simple dtml-in loop, so I guess nobody has h

Re: [Zope] Batchprocessing with multiple conditions?

2000-07-28 Thread R. David Murray
On Tue, 25 Jul 2000, Peter Arvidsson wrote: > I have objects of a certain meta-type. They have some properties and one > of the properties is a boolean. How do I make a dtml-in loop among those > objects with the boolean set to yes? I dont want it to traverse any > other value at all only those th

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-26 Thread R. David Murray
On Mon, 24 Jul 2000, Chris Withers wrote: > > I belive that it is returning: > > > > http://my.zope/site/file.html/index_html > > I wonder what index_html that is then? :S >From lib/python/OFS/Image.py (which also implements generic file object): def index_html(self, REQUEST, RESPONSE):

Re: [Zope] How to require an @ symbol in email form field??

2000-07-21 Thread R. David Murray
On Tue, 18 Jul 2000, Duncan Booth wrote: > Use javascript to check that all required fields are present before > the form is actually submitted. Here is some of the code I use: Note, however, that using Javascript to do the checking client side is only useful as a user convenience. If you have

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-21 Thread R. David Murray
On Mon, 17 Jul 2000, Chris Withers wrote: > If you go to: > http://my.zope/site/file.html/ > > It will just return the DTML document :-) > > I wonder if it is redirecting to http://my.zope/site/file.html? I belive that it is returning: http://my.zope/site/file.html/index_html --RDM

Re: [Zope] Urgent Problem -> CMG - script is not working

2000-07-17 Thread R. David Murray
On Tue, 18 Jul 2000, Sven Hohage wrote: > I know that's described in the CMG but the builder-script is not working. "Invalid >syntax". > The most import thing is to be able to clone an object and then to change the >propertys. > Please mail me a version that's working because tomorrow I have to

Re: [Zope] (no subject)

2000-07-17 Thread R. David Murray
On 14 Jul 2000, Karl Anderson wrote: > __bobo_traverse__ is another attribute that the object may have to > drive the publishing process, but I haven't needed to understand why > it's useful yet :) Isn't that where he'd hook in to do exactly what he wants? To have an (arbitrary) object "eat" sub

Re: [Zope] Class Refactoring Question

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, James W. Howe wrote: > I've developed a couple of simply Python classes which I'm using as base > classes for some ZClasses that I've developed. I now realize that both of > these Python classes could benefit from obtaining behavior from another > class. Will I complete h

Re: [Zope] uncatalog of absent id?

2000-07-14 Thread R. David Murray
On Thu, 13 Jul 2000, Nitesh Dhanjani wrote: > Im fairly new to the Zope world. Im trying to delete a PTK folder, and get > this error: > > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: ValueError > Error Value: Uncatalog of absent id '/icds/Members

Re: [Zope] Re: Re: [Zope] LocalFS Documentation

2000-07-13 Thread R. David Murray
On Thu, 13 Jul 2000, Kelvin Cheong wrote: > I'm puzzled...there isn't any upload at the bottom of the page...but there > has always been an upload at the top of the page in the Zope content > management interface (along with "Contents", "Edit", "View", > "Properties"...etc). Was the LocalFS uploa

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Peter Be wrote: > If you use .tag you can only control ALT, HEIGHT, WIDTH and BORDER > Look for these things in the Image module and see if you can add ALIGN. As far as I can see from the source, tag should handle arbitrary arguments. The comments certainly say that it does.

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: > Now if only I could get my dtml-if statement working. > > > I believe this should work (mostly tested): Note that this will be true if the id exists anywhere in the acquisition path. --RDM ___ Zope maill

Re: [Zope] Aligning Images With Text

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Terry Babbey wrote: > Here is my code: > > > > > What I would like to do is align the picture to the right of my web > page. If I was programming html I would do it like this: src=T043PIC align=right> Untested, but I copied most of it from a working method: --RDM __

Re: [Zope] .dtml files

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Daniel Rusch wrote: > I have found function calls such as: > manage_roleForm=HTMLFile('roleEdit', globals()) which I believe creates > an HTML document template from the named file. But, what is the > mechanism that calls/displays mange_roleForm? Actually, it creates a render

Re: [Zope] How to uninstall a product such as PTK or KnowledgeKit

2000-07-12 Thread R. David Murray
I'm not saying this will fix it, but did you try restarting Zope? --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/list

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: > we have actually narrowed the problem down a little more. If we use > Netscape--there are no problems. The problem seems to be with IE--have you > heard of a resolution? > > BTW - I can view the file on the network server. No, I hadn't heard about

[Zope] RE: [Zope-dev] Problem with Zope

2000-07-12 Thread R. David Murray
On Wed, 12 Jul 2000, Tina Goyne (TT) wrote: > click on the folder I created--it opens the folder, but it is as if the > folder is empty. If I view the file, it opens Adobe Reader--but the page is If the folder appears empty, how do you view the file? When viewing the file, the fact that it open

[Zope] Re: [Zope-dev] Problem with Zope

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Tina Goyne (TT) wrote: > I am a novice Zope user--my web master left my company and I have been > pegged with the responsibility of maintaining our internal website. I am > having a problem adding a new folder and then adding a file to the folder. > The file is located on ano

Re: [Zope] Stupid Question Time

2000-07-11 Thread R. David Murray
On Tue, 11 Jul 2000, Jerome ALET wrote: > ' and " are equivalent Not quite true. dtml only recognizes " for surrounding dtml expressions. But you are right that they are equivalent in python. > () are for functions or methods To call functions or methods: blah(somearg). But also used for grou

  1   2   >