Re: [Zope-dev] CalendarTag, year mode image

2000-09-07 Thread Ibañez Palomar Juan David
Please, look at "http://estce.act.uji.es/calendar.html", there are several proposed images. The only problem I see is when the year mode is selected, since there's more white than black it's not clear which mode is selected. opinions? votes? more suggestions? The calendar mode icons on

Re: [Zope-dev] CalendarTag, year mode image

2000-09-07 Thread Ibañez Palomar Juan David
I've updated the page (http://estce.act.uji.es/calendar.html) following your suggestions, if nobody disagrees I'll release the CalendarTag 0.9.21 with that new look. [EMAIL PROTECTED] (Ibañez Palomar Juan David) writes: Please, look at "http://estce.act.uji.es/calendar.html", there

RE: [Zope-dev] REPOST: Cut down on the Available Objects list.

2000-09-07 Thread Brian Lloyd
Hi, all - someone suggested to me that I should try the zope-dev list instead of the zope list, here goes. When I create ZClasses I can make the Available Objects shrink to just a couple of available objects via subclasses and so forth. How would I do this with a Python Class in a Python

Re: [Zope-dev] REPOST: Cut down on the Available Objects list.

2000-09-07 Thread Jim Fulton
Erik Enge wrote: Hi, all - someone suggested to me that I should try the zope-dev list instead of the zope list, here goes. When I create ZClasses I can make the Available Objects shrink to just a couple of available objects via subclasses and so forth. How would I do this with a Python

Re: [Zope-dev] DCOracleStorage: problems running Full.sql

2000-09-07 Thread Matthew T. Kromer
Roman Milner wrote: I'm trying to get DCOracleStorage up and running, but I'm getting errors trying to run Full.sql. I know didly about plsql, so I apalogize if this is obvious. When I run Full.sql I get the following errros. Does this mean my oracle installation is missing something?

Re: [Zope-dev] date formatting / extracting substrings

2000-09-07 Thread Paul Erickson
If you've already done some validation and can guarantee that there are 6 characters in the string, you can slice the month out of the string like this: dtml-call "REQUEST.set('MonthValue', MonthID[4:6])" or, if you just want to display the month, use this: dtml-var expr="MonthID[4:6]" -Paul

Re: [Zope-dev] Acquisition in a DTML Tag

2000-09-07 Thread Shane Hathaway
Brett Carter wrote: "Brett" == Brett Carter [EMAIL PROTECTED] writes: Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo) Brett and I am trying to look up an object depending on the Brett arguments passed to my tag. The python class that defines Brett the tag

[Zope-dev] unsubscribe

2000-09-07 Thread Roy Vaccaro
[EMAIL PROTECTED] wrote: Send Zope-Dev maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope-dev or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can

[Zope-dev] unsubscribe

2000-09-07 Thread Troy Coburn
Troy Coburn Programmer Analyst [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 506.460.1280 (tel) 506.460.1289 (fax) www.qtrain.net http://www.qtrain.net Leaders in XML Architecture -Original Message- From: Roy Vaccaro [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07,

[Zope-dev] ZPatterns again? Propertysheet not available

2000-09-07 Thread James Johnson
Here is my code and the error is nips name not found. Any suggestions dtml-let ni="['_.newItem(id)']" Print this:dtml-var ni nips ="['_.get('GBookProps')']" dtml-call "nips.propertysheets.manage_addProperty('guest_name', guest_name, 'string')" dtml-call

[Zope-dev] Z SQL Method Patch

2000-09-07 Thread Casey Duncan
In debugging some Z SQL methods I found it quite hard to diagnose certain errors returned by the database backend because Zope doesn't return the SQL sent to the server, instead it returns "Could not render the query template!" which is not really true for this case. In looking at the source

[Zope-dev] ZPatterns Dataskin base class?

2000-09-07 Thread James Johnson
My ZClass only had Dataskin as a base class. I'm not sure what other class should be added to the Dataskin. I"m trying to work off the simple example that PJE mentioned on the IRC chat. Jimbo Get your Free E-mail at http://tacoma.zzn.com

[Zope-dev] SkinScript, and family

2000-09-07 Thread Bill Anderson
OK, I have some potentially complicated calculations to build on a Ticket Tracking system I've built here. I can do it in python mehtods, but am wondering if skinscript will get me what i want as well. If anyone has done dome stuff in skinscript they can share I would be ecstatic. I don't

Re: [Zope-dev] Folderish objects and multiple inheritance

2000-09-07 Thread Andy McKay
Well if anybody is interested I did solve this but instead of trying to inherit A, Folder and then fix the folderish methods broken I did Folder, A and then overrode class A methods I wanted. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Re: [Zope] Whitespace in lines property

2000-09-07 Thread Evan Gibson
On Thu, Sep 07, 2000 at 07:46:57AM +0200, Tino Wildenhain wrote: here marks your whitespaces. try: textarea name="alt_names:lines" rows="10" cols="50" dtml-in alt_namesdtml-let cur_item=sequence-itemdtml-var "_.string.strip(cur_item)" /dtml-let/dtml-in/textarea

Re: [Zope] Whitespace in lines property

2000-09-07 Thread Tino Wildenhain
Hi Tim, Tim Cook wrote: Tino Wildenhain wrote: Hi Tim, Tim Cook wrote: Can anyone tell me why when I edit a lines property I get leading whitespace inserted? The first line gets seven each one after that gets 10 spaces. I tried stripping it out but this didn't seem

[Zope] RE: [Zope-dev] date formatting / extracting substrings

2000-09-07 Thread Chris McDonough
Hi Jeff, (I've moved this to the Zope list out of Zope-Dev) dtml-let month_value="MonthID[4:]" ... do something with the result ... /dtml-let Have a look at the Python documentation as it relates to "slicing". -Original Message- From: Jeff Nielsen / Ugo Fast [mailto:[EMAIL

[Zope] Using Chinese Characters

2000-09-07 Thread Kelvin Cheong
i was wondering how i can use chinese characters with Zpe on Linux. does anyone know how? According to my "mild" research so far, i found out that Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to be the de-facto for traditional chinese characters. There're also Unicode

[Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Michele Ravani
Hi I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris 8, built it ok, but when I try run ./start it it dumps core with a segmentation fault. Is this problem known? Anything I can do? I am completely new to both Python and Zope ... Thanks Michele

[Zope] Python, persistent objects and caching

2000-09-07 Thread Soren Roug
Hi, I'm developing a Python-based product that uses persistent objects in ZODB to store its configuration. No surprises there, but my product is also using volatile attributes to do a bit of caching of its own. The thing is, when ZODB takes a sweep every 60 seconds to flush it's own cache it

[Zope] ZODB How To please HELP

2000-09-07 Thread Norman Khine
I am trying to follow the How to on ZODB How To, but I get stuck at the point of when testing the sqlInsertProduct When I submit the query I get the following error Error, exceptions.SyntaxError: unexpected token sequence.near :: '_weight)\012VALUES'*'\012widget,\012Histor'

[Zope] generate static html to webserver?

2000-09-07 Thread Torsten Eymann
Hello, I want generate a static site from zope-folder and his subfolders to put that on an really-internet-server. Can I do that? How? thanks torsten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] Portal Toolkit and NTUserFolder

2000-09-07 Thread neeloy_saha
Hi all, Can anybody tell me how to integrate the NTUserFolder and the portal toolkit -neeloy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] ZClass base classes

2000-09-07 Thread Nick Trout
I've looked all throught docs but I cant find anywhere an explanation of what properties the ZClass base classes give you. Also which order to inherit them, as the Developers Guide claims the order is important. Can anyone please enlighten me? Regards, Nick.

RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Brian Lloyd
I'm developing a Python-based product that uses persistent objects in ZODB to store its configuration. No surprises there, but my product is also using volatile attributes to do a bit of caching of its own. The thing is, when ZODB takes a sweep every 60 seconds to flush it's own cache it

RE: [Zope] ZODB How To please HELP

2000-09-07 Thread Farrell, Troy
Could you send the SQL you used? Also, what platform and Database are you using? -Original Message- From: Norman Khine [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 07, 2000 7:05 AM To: [EMAIL PROTECTED] Subject: [Zope] ZODB How To please HELP I am trying to

[Zope] [New User]: Investigating Zope...some preliminary questions

2000-09-07 Thread Vaibhav Goel
Hi all: I am currently investigating Zope as a possible "tool" to use for building the back end "engine" for several projects for our company. Some of the sites we are currently doing involve E-commerce, news, etc. It is definitely a very powerful system and I think I have not even scratched

Re: [Zope] ZClass base classes

2000-09-07 Thread Nick Trout
(please don't post HTML mail to the list). sorry I *think* the "Include standard Zope persistent object base classes" check box gives your ZClass the "ZObject" interface which is similar to the SimpleItem interface (see the Zope API docs in the help system - I think it's under Help-Zope

[Zope] wrapped object

2000-09-07 Thread Sven Hohage
Hallo, while adding ZClass instances by form I get the following traceback: I don't know what's a wrapped object?? And where the problem is. Thanks -- Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Invalid property value:

Re: [Zope] ANN: Serving PHP/Perl from Zope update

2000-09-07 Thread Bill Welch
Last bug. Promise. # user might not have signed in yet try: username, password = req._authUserPW() except: username = password = None ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

[Zope] Editing of ZClasses using FTP: Access denied

2000-09-07 Thread Harald Koschinski
Hallo, 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?? Help is really appreciate Thanks Harald

RE: [Zope] ZClass base classes

2000-09-07 Thread Chris McDonough
Hi Nick (please don't post HTML mail to the list). I *think* the "Include standard Zope persistent object base classes" check box gives your ZClass the "ZObject" interface which is similar to the SimpleItem interface (see the Zope API docs in the help system - I think it's under Help-Zope

[Zope] Folderish Properties

2000-09-07 Thread Tim Cook
I have a folderish ZClass with a set of properties. When I create an instance via DTML my code doesn't update the properties from REQUEST. I use exactly (names changed of course) the same code to instantiate a document like ZClass and it works fine. So what's the difference between Folderish

[Zope] Zclass not reindexing (it is CatalogAware)

2000-09-07 Thread Tim Hicks
I have created a Zclass, the the _ZClass_for_CatalogAware base class as the first added base class (second in the list of base classes). My zcatalog (named Catalog) is set to 'Find objects of type: "myClass_metatype"' and therefore, when I add a new instance of my class, it is automatically added

Re: [Zope] re module through the web security

2000-09-07 Thread Dan L. Pierson
Evan Simpson writes: Fear not. In the brand new shiny PythonMethods Product coming soon (really!) to a Zope near you, you will have the ability to say: ModuleSecurityInfo('re').protect('compile', 'Use the "re" module') ...and suddenly anyone to whom you grant 'Use the "re" module'

Re: [Zope] Java applet with inner classes causing probs in Zope

2000-09-07 Thread Eric L. Walstad
Just a follow-up: Morten Said: // Adding files to Zope through FTP doesn't seem to have the same restrictions. Actually, it did for me. FTP was able to upload all the class files except those with the $ in them (the classes with inner-classes). That's how I found out about the problem. Holger

Re: [Zope] re module through the web security

2000-09-07 Thread Evan Simpson
From: Dan L. Pierson [EMAIL PROTECTED] http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/GuardedImport I looked there. Ah, but I was sneaky and went and updated it just before posting ;-) You do have to follow a link or two, but it isn't hard to find (any more). Cheers, Evan @

Re: [Zope] Using Chinese Characters

2000-09-07 Thread Tino Wildenhain
Hi Kelvin, Kelvin Cheong wrote: i was wondering how i can use chinese characters with Zpe on Linux. does anyone know how? According to my "mild" research so far, i found out that Big5is a 2-byte code and is a part of ISO-10646/Unicode. It also seems to be the de-facto for traditional

[Zope] Newbie question: Unhandled requests.

2000-09-07 Thread Hannes
We currently started to run our site using Zope behind Apache using ProxyPass, when testing from the outside it seems that there many (about one-third) of the requests that are not handled by Zope, the browser seems to recieve nothing, (means the browser times out), this behaviour does not

[Zope] Call for Python Method opinions

2000-09-07 Thread Evan Simpson
If you want any say in how official Zope Python Methods work, I recommend heading over to: http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/StandardPythonMetho dModule ...soonest. If you have feedback on any part of the project, please contribute, but the link above is the squishiest

[Zope] DTML Question on lines

2000-09-07 Thread Coleman, Bryan
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. dtml-in valid_codes option value="dtml-var valid_codes"dtml-var

Re: [Zope] DTML Question on lines

2000-09-07 Thread Rik Hoekstra
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. dtml-in valid_codes option value="dtml-var valid_codes"dtml-var

Re: [Zope] Lock and Transaction in Zope.

2000-09-07 Thread Dieter Maurer
Aitor Grajal writes: --=_9682482706334=_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable I hate "multipart" or encoded messages to this list (because the digest removes MIME headers (what a stupidity!) and does not give my mail reader a chance

Re: [Zope] Proxy roles don't propagate? - bizzare permissions from ZDChart too

2000-09-07 Thread Dieter Maurer
Brad Clements writes: ... Proxy role does not propagate ... This has been changed starting with Zope 2.2. The callee no longer inherits the proxy role from its caller but must get its own proxy role. Dieter ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header)

2000-09-07 Thread Dieter Maurer
Tim Hicks writes: I presume that this will only work for all *new* instances of this class however! I don't suppose you know of a way of remaking all 44 instances of this Zclass I have using this adjusted constructor? I have tried (see below), but I think I come up against the same

Re: [Zope] The Ascetic Superuser

2000-09-07 Thread Dieter Maurer
ethan mindlace fremen writes: Now every object excecutes according to the permision of the owner, *not* the viewer. It can also run as a proxy role. The super-bootstrap-user lives outside of "normal" zope authentication has permission to do anything save that which NotEvenGodShouldDo.

RE: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Brian Lloyd
I've downloaded the src of Zope 2.2.1 on my UltraSparc running Solaris 8, built it ok, but when I try run ./start it it dumps core with a segmentation fault. Is this problem known? Anything I can do? I am completely new to both Python and Zope ... I don't know of any problems inherent to

Re: [Zope] wrapped object

2000-09-07 Thread Bill Anderson
Sven Hohage wrote: Hallo, while adding ZClass instances by form I get the following traceback: I don't know what's a wrapped object?? And where the problem is. Thanks -- Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error

[Zope] PTK - member can reconfigure portal

2000-09-07 Thread Anders Eriksson
Hello, I am a beginner on Zope so maybe I'm doing something wrong but... I have installed the Portal ToolKit 0.8.2 complete, and most things seem to work except: I have joined the Portal and when I log in as this member and select 'My Stuff', I get a new menu item: 'Re-configure portal'! Which

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

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 to

Re: [Zope] DTML Question on lines

2000-09-07 Thread Tim Cook
"Coleman, Bryan" wrote: I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. dtml-in valid_codes option value="dtml-var

[Zope] Need help with ZJetDA, Winnt4 and Zope 2.2.1

2000-09-07 Thread Farrell, Troy
As you have no doubt heard my cries for help, I figure that very few are running NT4. I am having a permissions difficultie with ZJetDA trying to modify data in an Access97 database. On my server, the DA is able to SELECT * FROM tablename with no problem, but when it comes to INSERT INTO

RE: [Zope] Python, persistent objects and caching

2000-09-07 Thread Dieter Maurer
Brian Lloyd writes: Soren Rough writes ... application level cache ... ... application objects flushed (including cache) One approach would be to cache your data in the module's namespace. For ex: mycache={} class MyClassThatKeepsGoingAway: ... def get_data(self,

[Zope] Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header)

2000-09-07 Thread Tim Hicks
- Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 7:00 PM Subject: Re: ZClass Bug (was: Re: [Zope] How to access id and title of document calling standard_html_header) Hi Tim NameError: theatre_class

[Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
Hi everyone, I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include the PDF files as regular file objects or I could create a ZClass specifically for PDF files. I suspect

Re: [Zope] Zope 2.2.1 Solaris 8 dumps core

2000-09-07 Thread Fredrik Aronsson
Hello! I've had a similar problem, with Zope coredumping, but since I recompiled python using the same compiler that I compiled Zope with, Zope works correct. /Fredrik Aronsson (I've included the smallest script I could find that dumped core. If it dumps core for you too, perhaps you have

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

2000-09-07 Thread Tim Hicks
- Original Message - From: "R. David Murray" [EMAIL PROTECTED] To: "Tim Hicks" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 07, 2000 10:12 PM Subject: Re: [Zope] Zclass not reindexing (it is CatalogAware) On Thu, 7 Sep 2000, Tim Hicks wrote: The question is, do

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Tim Cook
Timothy Wilson wrote: Hi everyone, I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include the PDF files as regular file objects or I could create a ZClass

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, dtml-call "reindex_object()" is executed? If you take a close

Re: [Zope] OSError along with FSSession...

2000-09-07 Thread Dieter Maurer
Chien-Pin Wang writes: Zope complains an error type "OSError" and throws the error value saying [Errno 21] Is a directory: '/usr/local/zope/var/FSSession/' occasionally since a recent upgrade of FSSession product to 0.4.2. Following that error will be a series of TransactionErrors

Re: [Zope] Using Chinese Characters

2000-09-07 Thread David Trudgett
At 2000-09-07 21:18 +0200, Tino Wildenhain [EMAIL PROTECTED] wrote: Hi Kelvin, Kelvin Cheong wrote: i was wondering how i can use chinese characters with Zpe on Linux. does anyone know how? According to my "mild" research so far, i found out that Big5is a 2-byte code and is a part of

[Zope] SiteRoot (SiteAccess) problem

2000-09-07 Thread Joshua Brauer
I'm running a new server with 2.2.1 and Siteaccess 2.0.0 b3 and I don't get a "SiteRoot" item in the available items list. I can copy site roots and move them, but I cannot create new site roots... After reinstalling SiteAccess ( restarting) I still have problems. Any ideas? General Info:

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Timothy Wilson
On Thu, 7 Sep 2000, Tim Cook wrote: Timothy Wilson wrote: I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include the PDF files as regular file objects or I

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Tim Cook
Timothy Wilson wrote: It doesn't appear that the ZpdfDocuments is what I'm looking for. ZpdfDocument seems to render PDF on the fly from structured text or HTML. I was interested in simply storing an existing PDF file in the ZODB and making it available for download. Is there a reason to

[Zope] Help: PATH_INFO==object

2000-09-07 Thread Li Dongfeng
I am writing a service for other pages to use as form action. How can I reference the caller object in DTML/python? I can only think of this: First use PARENTS[-1] to get to the root object of the site. Then split the PATH_INFO containing the caller's path, and go down from the root to every

Re: [Zope] ZClass for PDFs

2000-09-07 Thread Loren Stafford
From: "Timothy Wilson" [EMAIL PROTECTED] On Thu, 7 Sep 2000, Tim Cook wrote: Timothy Wilson wrote: I'd like to make a large number of PDF files available for download from my site. HTML versions of the files will also be available for online viewing. I could certainly include

[Zope] [PATCH] dtml-comment doesn't? Please fix... ;-)

2000-09-07 Thread Kip Rugger
Andrew Kenneth Milton [EMAIL PROTECTED] wrote: +---[ Kip Rugger ]-- | | [snip] | | dtml-if "0" | crap | more crap | dtml-if "0" | Lots of crap | /dtml-if | /dtml-if | | by analogy with the common practice of #if 0 in C Won't work, the container will still be parsed for

[Zope] Squishdot

2000-09-07 Thread Roch'e Compaan
I've upgraded our Zope Server to 2.2.1 and upgraded squishdot to 7.1. Whenever I post an article on my squishdot sites I get an attribute error: _catalog. It seems like squishdot has trouble putting the article in the catalog. I did modify all references to thread[0] to getThread(0): Traceback