Re: [Zope-dev] mounting obj to more than one zodb location

2001-01-18 Thread Chris Withers
Shane Hathaway wrote: It depends on the product you use for mounting, but generally you'll get a shared database with independent connections. So it will work, but if you make conflicting changes, the transaction should fail. Oooo... was this thread about mounted databases? Sorry, I got

[Zope-dev] Implementing a URL path resolver

2001-01-18 Thread morten
Hi guys, I've been tinkling with a function that does what REQUEST.resolve_url does, except without it relying on having a REQUEST instance available. That is, just resolving the path itself, something like this: path ÿstring.split(relative_url, '/') path ÿfilter(None, path) new_path ÿ'%s' %

Re: [Zope-dev] Implementing a URL path resolver

2001-01-18 Thread Steve Alexander
[EMAIL PROTECTED] wrote: Hi guys, I've been tinkling with a function that does what REQUEST.resolve_url does, except without it relying on having a REQUEST instance available. Have you seen the methods restrictedTraverse and unrestrictedTraverse in lib/python/OFS/Traversable.py ? These

Re: [Zope-dev] Implementing a URL path resolver

2001-01-18 Thread Morten W. Petersen
[[EMAIL PROTECTED]] (Bug in the encoding of the message, MHA) | path = string.split(relative_url, '/') | path = filter(None, path) | new_path = '%s' % path[0] | path = path[1:] | | for element in path: | | new_path = new_path + "['%s']" % element | | return eval("self%s" % new_path)

Re: [Zope-dev] Implementing a URL path resolver

2001-01-18 Thread Morten W. Petersen
[Steve Alexander] | Have you seen the methods restrictedTraverse and unrestrictedTraverse in | lib/python/OFS/Traversable.py ? Exactly what I needed. Thank you. -Morten ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] MountedFileStorage

2001-01-18 Thread Steve Alexander
I've just been trying out the MountedFileStorage product (by Anthony Baxter) with Zope 2.3. I've got it mostly working, by patching a couple of typos, and making the SubApplication class derive from Traversable before Application. I've *almost* got ZClasses defined in the root storage working

[Zope-dev] skinscript and URL traversal question

2001-01-18 Thread Aaron Payne
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 example, Cid is the id of the coupon dataskin.

[Zope-dev] Calling HTMLFiles

2001-01-18 Thread Morten W. Petersen
Hi, I'm having difficulties calling an HTML file from python.. Here's the code: [...] from events import conflicting_events calendar_event_add_redirect = HTMLFile('calendar_event_add_redirect', globals()) manage_add_calendar_event_form =

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Shane Hathaway
Steve Alexander wrote: I've just been trying out the MountedFileStorage product (by Anthony Baxter) with Zope 2.3. I've got it mostly working, by patching a couple of typos, and making the SubApplication class derive from Traversable before Application. I've *almost* got ZClasses

[Zope-dev] Fw: PythonMethods and ZClass generation problem

2001-01-18 Thread Alexander Limi
Sorry if I'm overstepping any bounds here, but I tried posting this to the main list, but the answers I get do not help me. I figured maybe somebody on the PTK- or the Dev-list might be able to help. This is a bit of a crisis, since our site has been down for a week due to this problem. I also

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Johan Carlsson
http://www.zope.org/Members/hathawsh/ExternalMount Sound interesting. Is it possible to mount a read-only database from several different Zope-clients? Regards, Johan ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Shane Hathaway
Johan Carlsson wrote: http://www.zope.org/Members/hathawsh/ExternalMount Sound interesting. Is it possible to mount a read-only database from several different Zope-clients? Yes. The database should be inside a ZEO storage server. ExternalMount can mount ZEO ClientStorages (that's

[Zope-dev] Q: how to retrieve transactions from a Data.fs fragment?

2001-01-18 Thread Shawn Murphy
Yes We experienced a nasty confluence of suprises: - CanOfRaid is imperfect, - reiserfsck is imperfect, - our backups were imperfect [We already knew we were imperfect.] The result is that all we have left of about 6 weeks of several peoples development effort is two Data.fs scraps

[Zope-dev] Re: [Zope-PTK] Fw: PythonMethods and ZClass generation problem

2001-01-18 Thread Alexander Limi
From: "Shane Hathaway" [EMAIL PROTECTED] You were *SO* close. :-) I think you want this: return self.artists.manage_addProduct['Artist'].Artist_add(_.None,_) to be like this: return self.artists.manage_addProduct['Artist'].Artist_add(_.None,_,REQUEST) Tried both of those already. When

[Zope-dev] Re: [Zope-PTK] Fw: PythonMethods and ZClass generation problem

2001-01-18 Thread Shane Hathaway
Alexander Limi wrote: From: "Shane Hathaway" [EMAIL PROTECTED] You were *SO* close. :-) I think you want this: return self.artists.manage_addProduct['Artist'].Artist_add(_.None,_) to be like this: return

Re: [Zope] SQL delimiter?

2001-01-18 Thread Jose Soares
You need to insert the following line between two SQL statements. dtml-var sql_delimiter Remember you can't use it with more than one SELECT. sql_delimiter is usefull only to separate more than one INSERT, UPDATE, DELETE. Jos Andy McKay wrote: Ive looked through the docs and Im sure I saw

Re: [Zope] sendmail / python list parameter - DTML method

2001-01-18 Thread Lee
Thanks again Dieter! Everything's working just about perfect but can I ask you one quick question? When a form is submitted the current REQUEST object's form data is cleared and repopulated using the new form input parameters, yeah? Is it possible to *not* clear it? Why do I want to do this?

Re: [Zope] Python 2.0 ??????

2001-01-18 Thread Stephane Bortzmeyer
On Thursday 18 January 2001, at 16 h 33, the keyboard of "OK Studio" [EMAIL PROTECTED] wrote: ISP just upgraded to python 2.0 without my knowledge. (BTW, I run Zope 2.2.2 with Python 2.0c1 for several months without any problem.) cc -fPIC -O -pipe -D_THREAD_SAFE

Re: [Zope] exporting zope

2001-01-18 Thread Stephane Bortzmeyer
On Wednesday 17 January 2001, at 13 h 15, the keyboard of ethan mindlace fremen [EMAIL PROTECTED] wrote: http://www.zope.org/Members/rossl/ZMirror Claims to do what you want. Warning: you cannot use it freely (see the licence), unlike Zope itself. Again, it is much faster and simpler to

Re: [Zope] Missing attribute with ZSQL methods?

2001-01-18 Thread Stephane Bortzmeyer
On Wednesday 17 January 2001, at 11 h 30, the keyboard of "Ron Bickers" [EMAIL PROTECTED] wrote: "missing" is only effective if the variable telephone cannot be found. Even if it has a null or None value, it's not considered missing. Try dtml-var telephone null="(No phone)" instead. This

Re: [Zope] case insensitive searches

2001-01-18 Thread Maggie Shapland
you didnt read the rest of the message or my example. Its all very well using the sql lower function, but if you cant force the user to type the input in lower case you are wasting your time. However, I have now cracked it, as a later message to the group shows, but only in the report dtml,

Re: [Zope] ZTopic error

2001-01-18 Thread Chris Withers
Priya Ramkumar wrote: Error Type: AttributeError Error Value: Vocabulary Is there any bug fix for this? Try adding a Vocabulary object into your ZCatalog... ...and don't post this list in HTML ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] namespace clash with 'URL', any others?

2001-01-18 Thread Chris Withers
Here for the HTML impaired: ;-) "iap_y2fun.com" wrote: Hi, I can't set the ID of a instance to be "URL". Once I create one, the folder which contains that object will not work again under management view. If you want to try by yourself, try in a non-critical folder (a new one just for

[Zope] Hellp with getting started with Login Manager

2001-01-18 Thread Steffen Bergmann
Hi ! I installed the Login Manager to my Zope, but I dont know how to use it. I want to authenticate my users with an SQL database. Is there anywhere good documentation about Login Manager. And how does the Login Manager solve the N*M problem with managing the users. Regards Steffen

Re: [Zope] Tools used for programming Zope

2001-01-18 Thread Chris Withers
Gerald Gutierrez wrote: So how do people go about programming Zope? What sorts of tools do people use, and how do you go about getting your code to and from Zope? Can you use CVS? Look at the CVSMixing thign for this, nto sure how it works but it provides what you want... Apart from that,

Re: [Zope] Stopping a dtml-in

2001-01-18 Thread Chris Withers
Tres Seaver wrote: The sentiment against "DTML-as-scripting-language" also makes introducing more control structures difficult to sell; I don't buy that, myself, but have to listen to folks who do. Well, DTML doesn't strike me as being designed to script in, so using it as such is going to

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-18 Thread Chris Withers
Jens Vagelpohl wrote: i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become... dtml-call "RESPONSE.setHeader('Content-Type','text/css')" Yup, that

Re: [Zope] OT: Browsers

2001-01-18 Thread Chris Withers
Shane Hathaway wrote: But I hope this will soon become a moot point. Go Mozilla! Hmmm :-( Mozilla has been even more buggy in my experience... Anyone know how Netscape 6 (Mozilla in Netscape clothing ;-) does on stability and reliability? cheers, Chris

Re: [Zope] High Performance Zope

2001-01-18 Thread Chris Withers
"Jason C. Leach" wrote: hi, I think ABC News New York also does Zope. Maybe www.cbsnewyork.com? ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] Help with getting started with Login Manager

2001-01-18 Thread Steffen Bergmann
Hi ! I installed the Login Manager to my Zope, but I dont know how to use it. I want to authenticate my users with an SQL database. Is there anywhere good documentation about Login Manager. And how does the Login Manager solve the N*M problem with managing the users. Regards Steffen

Re: [Zope] ZTopic error

2001-01-18 Thread Chris Withers
Keep CC'ing to the list, that way other peopel can help too :P Priya Ramkumar wrote: But there is a Vocabulary object already existing for the ZCatalog. ..then I have no idea, sorry. Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] ZClasses

2001-01-18 Thread Priya Ramkumar
Hi When trying to create a ZClass within another ZClass, the contained class is not listed in the sub objects of the container class. Could anyone suggest how to get over this problem? Thanks Priya

Re: [Zope] ZTopic error

2001-01-18 Thread Priya Ramkumar
Hi But there is a Vocabulary object already existing for the ZCatalog. Thanks Priya --- I am trying to use ZTopic for categorizing obejcts in a Zcatalog. After specifying the criteria, when I try to view the list of topics, it gives me the traceback error:

Re: [Zope] OT: Browsers

2001-01-18 Thread Phil Harris
Chris, It's worse, Mozilla 0.7 also has some issues, Mozilla 0.6 is probably the best so far. I use it as my main browser. You might also want to check out the Beonex Communicator (based on Mozilla, but with bug/security fixes) http://www.beonex.com. hth Phil - Original Message -

Re: [Zope] Picture of the day product

2001-01-18 Thread Tres Seaver
On Wed, 17 Jan 2001, Timothy Wilson wrote: On Wed, 17 Jan 2001, Tres Seaver wrote: What I'm not sure about is how to have Zope automatically display the photo for a day, then archive it. Would a boolean property of the ZClass work? Is it possible to have Zope set the property of a

[Zope] No product management

2001-01-18 Thread Veen, J.S. van der
Hello, I've got a problem with Zope. When I click on the 'Product Management' link in the Control Panel it shows me the 'Welcome to Zope' page again. I'm using Zope 2.2.5 on FreeBSD 4.2. Can anyone help? Jan Sipke ___ Zope maillist - [EMAIL

Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez
Hi all, Thanks for this file! Yesterday I thought I'd lost it, altough I heard more rumours of 'slowdown' I couldn't find a solution for my problem since I gave that demo and zope was so slow... you should have seen my face at that moment (completely red!). I tried everything, reinstallation of

Re: [Zope] zope, xemacs and efs

2001-01-18 Thread Steve Spicklemire
Hmmm.. I use emacs/ange-ftp all the time with zope... many versions.. with no trouble. Have you tried that? Since my client is not 'X' (yet) I don't use xemacs... -steve "glw" == Geoffrey L Wright [EMAIL PROTECTED] writes: glw I'd LOVE to be able to use efs with Zope. Right now I end

Re: [Zope] Variable sort and multiple sort in dtml-in

2001-01-18 Thread Steve Spicklemire
Hi Loren, There is also Zieve: http://www.zope.org/Members/sspickle/Zieve Not quite as easy as a 'fixed' dtml-in ... but it does work (today). -steve "Loren" == Loren Stafford [EMAIL PROTECTED] writes: Loren On 02 July 2000, Adam Karpierz, posted a patch that would Loren

Re: [Zope] No product management

2001-01-18 Thread Oleg Broytmann
On Thu, 18 Jan 2001, Veen, J.S. van der wrote: I've got a problem with Zope. When I click on the 'Product Management' link in the Control Panel it shows me the 'Welcome to Zope' page again. I'm using Zope 2.2.5 on FreeBSD 4.2. Can anyone help? I've got this problem with a browser that does

Re: [Zope] Unexplained Slowdown

2001-01-18 Thread Tom Deprez
Forgive my enthousiastic comment in my previous message! Some more news: The overall response is better than before, but sometimes Zope (or ZServer) is very slow. This slowdown is at my Linux Server and at my Win Clients (NT 4 sp5) It takes 1-2 minutes before I even get the log-on screen (on my

Re: [Zope] Tools used for programming Zope

2001-01-18 Thread Ragnar Beer
Can Dreamweaver also use the https protocol for WebDAVing? Ragnar Apart from that, look at using an FTP or WebDAV enabled editor like DreamWeaver. It works now, but support is supposed to be getting better in Zope 2.3 cheers, Chris ___ Zope

[Zope] Data type coercion and records

2001-01-18 Thread Mayers, Philip J
*Now* I remember why I like Zope so much... I'm using the ":records" to marshall a complex hierarchical form, and I'm a little worried by this comment: http://www.zope.org/Members/Zen/howto/FormVariableTypes Note: Before creating a second record and adding an attribute, Zope gets the last

RE: [Zope] Help with getting started with Login Manager

2001-01-18 Thread Mayers, Philip J
Try this: http://www.zope.org/Members/jok/SQL_based_LoginManager Some extra pointers: Step 7: Customize the LoginManger instance to call the SQL methods You'll have this /root /folder /acl_users (LoginManager) /UserSource SQL_check_user SQL_get_password

[Zope] Solved (was RE: Data type coercion and records)

2001-01-18 Thread Mayers, Philip J
Doh - my fault... RTFM I think... I think I misread the linked page. When unmarshalling the records, Zope will only create a new record in the list if the current record already has the given attribute. So, provided you always put the textboxes before the checkboxes, it will always work. Unless

Re: [Zope] Can't import anything decent on old machine.

2001-01-18 Thread Tres Seaver
"Darrin" [EMAIL PROTECTED] wrote: Whenever I try to import a product I usualy get the following errors. BTW. I have been using Linux for years. I am trying this on a Debian 2.2 system. Sure, I can recompile this box with woody instead of potato if necessary. It's runing on an old P166. It

Re: [Zope] ZTopic error

2001-01-18 Thread Tres Seaver
"Priya Ramkumar" [EMAIL PROTECTED] wrote: I am trying to use ZTopic for categorizing obejcts in a Zcatalog. After specifying the criteria, when I try to view the list of topics, it gives me the traceback error: Error Type: AttributeError Error Value: Vocabulary Is there any bug fix for

[Zope] How to backup Zope data base?

2001-01-18 Thread Etienne Labuschagne
Hi all What is the best way to backup Zope's database whithout stopping Zope? When I use backup, it just says that the file is in use and cannot be backed up. What I have done so far is to copy the file in explorer and back that up - but it feels kludgey and I'm not sure if I get the database

Re: [Zope] Help with getting started with Login Manager

2001-01-18 Thread Jochen Knuth
Hi Phil, Mayers, Philip J wrote: Try this: http://www.zope.org/Members/jok/SQL_based_LoginManager Some extra pointers: is it o.k. that i include them in an updated version of the How-To? Steffen: There is also http://www.zope.org/Members/dlpierson/sqlLogin , a solution which is

Re: [Zope] BASE tags

2001-01-18 Thread Chris Withers
Oleg Broytmann wrote: I've got this problem with a browser that does not support "base" tag (ChrisW, wanna say something? :) Yes, btu I won't ;-) *grinz* Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Chris Withers
Etienne Labuschagne wrote: What is the best way to backup Zope's database whithout stopping Zope? When I use backup, it just says that the file is in use and cannot be backed up. MS Backup, yeah? Oh well, never mind ;-) What I have done so far is to copy the file in explorer and back that

Re: [Zope] zope, xemacs and efs

2001-01-18 Thread A.J. Rossini
"SS" == Steve Spicklemire [EMAIL PROTECTED] writes: SS Hmmm.. I use emacs/ange-ftp all the time with zope... many SS versions.. with no trouble. Have you tried that? Since my SS client is not 'X' (yet) I don't use xemacs... Note that XEmacs is not fixated with X11 (anymore). There

Re: [Zope] Zope 2.3.0 beta 1 - thanks :-)

2001-01-18 Thread Martijn Pieters
On Wed, Jan 17, 2001 at 11:06:25PM -, Chris Withers wrote: This suddenly rings a bell; I remember now that NS4 seems to have a 'grid' system for laying out frames. It snaps to certain sizes, and adding a few pixels plus or minus won't get you a visible change. Sizing of frames can

RE: [Zope] How to backup Zope data base?

2001-01-18 Thread Mayers, Philip J
This certainly isn't *efficient*, but it works: wget -http-user=usename -http-pass=password http://your.site.com/Zope/path/to/wherever/manage_exportObject?download%3Ain t=1 Will get you a .zexp of "/path/to/wherever", whereas: wget blah

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Oleg Broytmann
On Thu, 18 Jan 2001, Etienne Labuschagne wrote: What is the best way to backup Zope's database whithout stopping Zope? When Pack + backup Data.fs.old. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just

Re: [Zope] zope, xemacs and efs

2001-01-18 Thread Marcin Kasperski
I'd LOVE to be able to use efs with Zope. Right now I end up cutting and pasting code in and out of browser windows -- which just feels kind of unwieldy... What about 'File Upload'? When I got to know about FTP access mode I liked it but it does not handle versions so it is unusable for

Re: [Zope] hiperdom

2001-01-18 Thread Lalo Martins
On Thu, Jan 18, 2001 at 12:38:29PM +0800, Bak@kedai wrote: hello all scuse my ignorance. i have this[1] in a hiperdom instance (partial text from hiperdom howto). but i got this[2] error when i clicked change. i know it's me not understanding XML well enough. There's no HiperDom HOWTO,

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Marty Stitt
What is the best way to backup Zope's database whithout stopping Zope? When Pack + backup Data.fs.old. Interesting approach! While this topic of backup has come up, I'm wondering about restore. Looking at Data.* files in the var directory, I see: Data.fs Data.fs.index

RE: [Zope] Python 2.0 ??????

2001-01-18 Thread Brian Lloyd
The impression I get from the Zope dev site is that 2.3.0b1 (and possibly before the beta) will compile and run under Python 2.0, but I haven't tried it myself. Anything 2.2.x needs patches, which I couldn't get working right after a couple hours of tinkering with it. Python 2.0 support

[Zope] python-to-python in zope?

2001-01-18 Thread tom smith
hi all, I've written a bot in python 2.0 and it's running on the same machine as zope 2.2. I'd like somehow to be able to send messages from zope (like...start and stop or go trawl this site etc) to the OTHER version of python running my bot I've tried using external methods but because

RE: [Zope] Zope 2.3.0 beta 1 comments

2001-01-18 Thread Brian Lloyd
These are actually browser preferences, not user preferences. can we have enable/disable table view toggle? some of us work with slow dial up, and waiting for a table to be rendered, especially when there's a lot of objects, will take some time. at least, without table, we can have

RE: [Zope] User Preferences as opposed to Browser Preferences

2001-01-18 Thread Brian Lloyd
like textarea size preferences. We are specifically *not* trying to do 'user' preferences. Ah, now that's what I thought :-) Why not? I'd like to see user properties happen, in fact its part of my BetterUserManagement proposal:

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Marty Stitt
This is the real database file. Data.fs.index Its index. Remove before replacing Data.fs. Data.fs.old This is backup after Pack. Data.fs.in This is initial Data.fs - installation process copy this into Data.fs before starting Zope for the first time.

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Oleg Broytmann
On Thu, 18 Jan 2001, Marty Stitt wrote: Data.fs This is the real database file. Data.fs.index Its index. Remove before replacing Data.fs. Data.fs.old This is backup after Pack. Data.fs.in This is initial Data.fs - installation process copy this into Data.fs before

Re: [Zope] Trouble installing ZMySQLTDA

2001-01-18 Thread Vincent Stoessel
Yeah, the entire contents are; from Products.ZMySQLDA.db import * from Shared.DC.ZRDB.TM import TM class DB(DB, TM): _p_oid=_p_changed=_registered=None def _begin(self, *ignored): self.db.query("BEGIN") def _finish(self, *ignored): self.db.query("COMMIT")

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Martijn Pieters
On Thu, Jan 18, 2001 at 09:02:06AM -0600, Marty Stitt wrote: While this topic of backup has come up, I'm wondering about restore. Looking at Data.* files in the var directory, I see: Data.fs Data.fs.index Data.fs.old Data.fs.in Data.fs.lock Data.fs.tmp

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Martijn Pieters
On Thu, Jan 18, 2001 at 10:01:24AM -0600, Marty Stitt wrote: FYI: I once had a situation where Zope wouldn't start due to corrupted data. But, when I copied the Data.fs file to another installation, everything worked fine. When I tried putting a Data.fs from a fresh installation in place of

Re: [Zope] python-to-python in zope?

2001-01-18 Thread Olivier Deckmyn
Use XML-RPC... it's easy, portable, etc ... Good luck - Original Message - From: "tom smith" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 4:36 PM Subject: [Zope] python-to-python in zope? hi all, I've written a bot in python 2.0 and it's running on the

[Zope] manage_exportObject checks Referer header (RE: [Zope] How to backup Zope data base?)up Zope data base?)

2001-01-18 Thread Mayers, Philip J
My earlier suggestion: wget --http-user=username --http-pass=password \ http://server.name/Zope/path/to/folder/manage_exportObject?download%3Aint=1 Does not work (on Zope 2.2.5 at least) but this: wget --http-user=username --http-pass=password \ --header="Referer:

RE: [Zope] zope2.3.0b1 and userfolders

2001-01-18 Thread Brian Lloyd
it seems that most 3rd party userfolders that's available won't work with zope-2.3.0b1. i've tried UserDB and LoginManager. i guess LoginManager will be updated, since it is currently maintained. i don't know enough python to look at UserDB. any kind hearts out there willing to give

RE: [Zope] Using images as submit buttons

2001-01-18 Thread Loren Stafford
You might look into a javascript onClick this.submit. I haven't actually done this yet, so I don't have the exact syntax at hand, but I'm sure you could find it on one of the javascript sites. -- Loren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

[Zope] dtml-sqlgroup dtml-sqltest

2001-01-18 Thread Martin Fekete
are expressions supported in dtml-sqltest ? documentation say yes. but it don't work (2.3.0b1 2.2.5 too) second questions can be dtml-or and dtml-and tags inside dtml-if how to write it ? i tryed this arguments: op:boolean dtml-if op dtml-or dtml-else dtml-and /dtml-if it says

[Zope] FW: Variable sort and multiple sort in dtml-in

2001-01-18 Thread Loren Stafford
-Original Message- From: Adam Karpierz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 02:08 To: Loren Stafford Subject: Re: Variable sort and multiple sort in dtml-in - Original Message - From: "Loren Stafford" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL

[Zope] Zope digest, Vol 1 #1150 - 54 msgs

2001-01-18 Thread ian . sealy
8 ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] Tools used for programming Zope

2001-01-18 Thread Gerald Gutierrez
Hello all. Thanks to those who gave me feedback in terms of what tools they use to do Zope work. What I've gathered is that, while it is possible to do "remote editing" of certain objects like DTML and SQL methods, many Zope objects cannot be edited this way and must be done over

[Zope] Zope digest, Vol 1 #1151 - 61 msgs

2001-01-18 Thread ian . sealy
8 ___ 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-announce http://lists.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] zope, xemacs and efs

2001-01-18 Thread Geoffrey L. Wright
Steve Spicklemire [EMAIL PROTECTED] writes: Hmmm.. I use emacs/ange-ftp all the time with zope... many versions.. with no trouble. Have you tried that? Since my client is not 'X' (yet) I don't use xemacs... Nope. But explicitly telling efs to use passive mode doesn't work, I'll try that as

RE: [Zope] Upgrade woes and product import problems

2001-01-18 Thread Brian Lloyd
That got both 2.2.5 and 2.3b1 to start up with my data. Only problem is that all instances of the ZClass I had created in my product (which I named ArticleProduct, btw) are broken in 2.3b1. The product itself appears in the Product Management menu, but even instances of ZClasses within the

Re: [Zope] Picture of the day product

2001-01-18 Thread Timothy Wilson
On Thu, 18 Jan 2001, Tres Seaver wrote: Subclassing Image might be useful, but you could certainly get by without if, if all you need is to add a property or two: Images have a propertysheet to which you could add them. But if I use the standard Image meta type, wouldn't I have to create a

Re: [Zope] Picture of the day product

2001-01-18 Thread Timothy Wilson
On Thu, 18 Jan 2001, Tres Seaver wrote: This kind of thing is a "query-on-metadata" application; I would put all these images into a single folder (maybe chunked into subfolders by month?), mark them each with an 'effective' property (of type 'Date'), and then select the

Re: [Zope] Tools used for programming Zope

2001-01-18 Thread Ayhan Ergul
I need to have source code readable on the filesystem independent of a Zope server, so that I can do things like CVS them, use any editor on them, grep them, etc. It seems that my only choice is to write products in Python itself, instead of using the web interface of Zope, which is one of

Re: [Zope] Upgrade woes and product import problems

2001-01-18 Thread Aaron Louie
It worked like a charm! Thanks for the tip! As you suggested, perhaps this sort of ZGlobals corruption checking should be built into the core... I'd also like to see some automatic garbage collection in the default stop script -- like removing the temporary data and pid files. I've modified mine

[Zope] sendmail query (confirmation)

2001-01-18 Thread Lee
Hi, Is there anyway to confirm that a message has been sent using sendmail other than including your own email address in the cc list? I've got some text at the bottom of my sendmail/sendmail just saying "Mail sent". If it reaches this then is it *guaranteed* that the message has been sent? Is

[Zope] Burning pages

2001-01-18 Thread Vincent Stoessel
Hello, can Zope pages be exported as html pages. I want to burn some pages out that do not change often and thus do not need to be dynamic. Thanks. -- Vincent Stoessel [EMAIL PROTECTED] Internet Applications Engineer IDEV http://www.idev.com V: 301 495 7345 x129

Re: [Zope] Burning pages

2001-01-18 Thread Shane Hathaway
Vincent Stoessel wrote: can Zope pages be exported as html pages. I want to burn some pages out that do not change often and thus do not need to be dynamic. May I suggest that you set up long-term caching instead? That way you get to retain the manageability of Zope while not consuming

Re: [Zope] sendmail / python list parameter - DTML method

2001-01-18 Thread Dieter Maurer
Lee writes: When a form is submitted the current REQUEST object's form data is cleared and repopulated using the new form input parameters, yeah? Is it possible to *not* clear it? No. As the name suggests "REQUEST" describes the current request. A new request creates a new "REQUEST"

Re: [Zope] [OT] Is it time for mandatory subject keys?

2001-01-18 Thread Dieter Maurer
Ausum writes: Maybe it's time for mandatory subject keys. Something like NEW: for newbies questions; OT: for off-topic (like this); DB: for database related stuff... you DC people name it. What does "mandatory" mean? Rejected by Ken, if it is missing? Hope not ... Many posts here are from

Re: [Zope] Can't import anything decent on old machine.

2001-01-18 Thread Dieter Maurer
Darrin writes: Whenever I try to import a product I usualy get the following errors. Are your sure, you import products only in "Control Panel - Product Management"? Your hardware should not be a problem. Dieter ___ Zope maillist - [EMAIL

[Zope] Adding to an XMLDocument through web forms

2001-01-18 Thread Ian Campbell
Hi, I`m looking for a way to give a user the ability to add new data to an XMLDocument through web forms, does anyone have experience of this or would be able to point me in the direction of an example or howto? I have a file similar to: channel event ... /event announcement ...

RE: [Zope] Upgrade woes and product import problems

2001-01-18 Thread Brian Lloyd
As you suggested, perhaps this sort of ZGlobals corruption checking should be built into the core... FYI - as of beta 2, Zope will inspect the global registry for problems and rebuild it if necessary on application startup. This should remove the need to have to get the ZGlobalsRepair

Re: [Zope] [OT] Is it time for mandatory subject keys?

2001-01-18 Thread Ausum
Dieter Maurer wrote: (...) What does "mandatory" mean? Rejected by Ken, if it is missing? Hope not ... Not at all. Mandatory keys are a commom practice in some very busy lists I've been at before. The spirit is "if you are unsure about what key to choose, use GEN: for generic stuff (or

[Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-18 Thread andres
Hello, I'm designing a large e-commerce site with Zope. In the process I have also designed an object API for the site. My problem is that I can't bridge my conception of ZODB as a database for Zope objects and my conception of ZODB as a container for Python objects. For the latter case I'm

Re: [Zope] Stopping a dtml-in

2001-01-18 Thread Jonothan Farr
Now just don't get me started on "_['index-whatever']" :-) Funny. I patched that too, and I know I'm not the only one. It also "fell through the cracks". *sigh* --jfarr ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Setting the sort var in dtml-in ...sort=sortVar

2001-01-18 Thread Max M
From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Max M writes: Does anybody know if it is possible to programatically set the sort parameter in something like: dtml-in getAllComments sort=fwd_thread There is a product on zope.org that enhances sorting capabilities drastically. Unfortunately,

Re: [Zope] Stopping a dtml-in

2001-01-18 Thread Curtis Maloney
On Thursday 18 January 2001 17:37, Dennis Nichols wrote: At 1/17/01 10:24 PM, Tres Seaver wrote: Some 8 months ago, I thought "break" was missing from dtml-in and wrote to this list. Within hours, clever solutions were suggested, the most impressive of which was Jonothan's patch mentioned

Re: [Zope] How to backup Zope data base?

2001-01-18 Thread Marty Stitt
I've just noticed another thing on this 'how to backup Data.fs' issue. Preparing to backup my work, I did a pack, and was then going to archive the resulting Data.fs.old. Because I'd added and deleted a bunch of files earlier today, the Data.fs.old file was 22M in size, and the freshly packed

Re: [Zope] OT: Browsers

2001-01-18 Thread Curtis Maloney
On Thursday 18 January 2001 21:23, Phil Harris wrote: Chris, It's worse, Mozilla 0.7 also has some issues, Mozilla 0.6 is probably the best so far. I use it as my main browser. You might also want to check out the Beonex Communicator (based on Mozilla, but with bug/security fixes)

[Zope] Arguments in URLs with bookmarks

2001-01-18 Thread Michael W. Homyack
Hi, I've just run across something sort of odd... Let's say I have a DTML Document 'x' in my site, and I am going to link to it with the following URL: http://www.mysite.com/x?arga=oneargb=two When Zope processes the URL, the query arguments arga and argb are stored in the REQUEST

[Zope] Tools used for programming Zope

2001-01-18 Thread Spicklemire, Jerry
Gerald said: I need to have source code readable on the filesystem independent of a Zope server, so that I can do things like CVS them, use any editor on them, grep them, etc. It seems that my only choice is to write products in Python itself, instead of using the web interface of Zope,

[Zope] ZSQL, Python methods and XMLRPC

2001-01-18 Thread Mayers, Philip J
I've three questions (but I'm making progress!): 1) In 2.2.5, how can I call a ZSQL method from a Python Method - I'm passing the method in as a parameter, and the furthest I get says "__call__ not defined". Do PythonScripts obivate the need for this? I assume I can just do this: for record in

  1   2   >