[Zope-dev] ZPatterns and ZCLasses

2000-11-21 Thread Joachim Schmitz
I have an existing ZClass/Data Structure like this RecruitingPlatform Company Recruiting Candidates Student Profiles Address Highschool IT Jobprefs ... I want to store the data in the ZClass instances, must each ZClass have the Base class

[Zope-dev] FSDump + 'diff -r' - Wow!

2000-11-21 Thread Tres Seaver
I was just able to scratch a *really* big itch: I used my FSDump product, plus 'diff -r -u', to generate a diff between the versions of DemoPortal (the "through-the-web" portion of the PTK) shipped with PTK 0.9.0 and 0.9.2:

Re: [Zope-dev] ZPatterns and ZCLasses

2000-11-21 Thread Phillip J. Eby
At 11:08 AM 11/21/00 +0100, Joachim Schmitz wrote: I have an existing ZClass/Data Structure like this RecruitingPlatform Company Recruiting Candidates Student Profiles Address Highschool IT Jobprefs ... I want to store the data in the ZClass

Re: [Zope-dev] Callable baseclass for ZClasses

2000-11-21 Thread Stefan H. Holek
Sorry, a DTML Method throws 'KeyError' not 'Unauthorized' But I have already seen posts on why *that* is the case (Hotfix IIRC) Stefan ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or

[Zope-dev] Last Call: Comments on Official Docs Process

2000-11-21 Thread Amos Latteier
We're getting close to finalizing the procedures for the development and maintenance of official Zope documentation. Have your say now, before we come to closure: http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess The plan is to fine tune a little more and then weave the

[Zope-dev] ZPatterns Project Help!

2000-11-21 Thread bentzion
Another question... I want to have a GAP that will add some other Object to an attribute of my DataSkin. This is what I have tried with no success. fromexpr: accounts.getItem(self.account_id) attrsexprs: account_object=RESULT This way in my UI Methods in my DataSkin I can access (and change)

Re: [Zope] Javascript dtml tags

2000-11-21 Thread Bill Anderson
Kini Natekar wrote: Hi, Is there a way to include dtml tags with a javascript ? If there is please let me know. Are you sure you don't mean include javascript using dtml? DTML is parsed by the server, javascript by the client. I use dtml to build javascript (and in some cases, use

Re: [Zope] jcNTUserFolder on 2.2.x

2000-11-21 Thread Toby Dickenson
On Mon, 20 Nov 2000 14:20:41 -0800, "Andy McKay" [EMAIL PROTECTED] wrote: Is there an updated version or product similar to jcNTUserFolder (allowing NT authenitcation in Zope) that works in Zope 2.2.x? Or am I going to have to upgrade jcNTUserFolder? Both jcNTUserFolder and NTUserFolder (Which

RE: [Zope] ZMailIn - alternatives?

2000-11-21 Thread Andy Dawkins
Vince I installed it right away - and I think it should work. When first trying to mail to the system it said it had some problem with the x-envelope-to header. The ZMailIn system doesn't use the x-envelope-to header it uses the envelope-to header. If your mail server provides x-envelope-to

[Zope] RE: Problems using M18 (and others too!)

2000-11-21 Thread Harris Peter
Andreas Tille wrote: I just gived Mozilla M18 a try and noticed that Back Button of the browser doesn't work in zopüe management screen. Netscape 4.75 (and Konqueror doesn't seem to work well with zope either - I sometimes get repeated password prompts, and the management screens don't

[Zope] Zope and Websphere

2000-11-21 Thread Francois-regis Chalaoux
Hi, I have to convince my new boss to use Zope rather than webspere !! Did somebody compare the two products ?? FRC ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Javascript dtml tags

2000-11-21 Thread seb bacon
* Kini Natekar [EMAIL PROTECTED] [001121 07:36]: Is there a way to include dtml tags with a javascript ? If there is please let me know. if you mean, you want to insert a dtml tag into a document using javascript, then no. zope's a server-side technology; javascript is client-side. seb

[Zope] External Method

2000-11-21 Thread Kini Natekar
Hi, How can I pass parameters to an External Method? I know of one way to do this, is to use dtml-var tag. Is there any other way? Thanks, Kini. __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products.

RE: [Zope] ZMailIn - alternatives?

2000-11-21 Thread Andy Dawkins
Chris If that will solve peoples problems. But I haven't had much feedback on the product so its hard to make any improvements. -Andy -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: 21 November 2000 10:14 To: Andy Dawkins Subject: Re: [Zope] ZMailIn -

[Zope] SAP Database Adapter available

2000-11-21 Thread olpa
Hi folks, since the SAP Database has been release on Linux as GPLed Engine (http://www.sapdb.org), is there a compatible adapter for Zope ? --- The only "intuitive" interface is the nipple. After that, it's all learned. (Bruce Ediger, [EMAIL PROTECTED], in comp.os.linux.misc, on X interfaces.)

[Zope] URL-problem

2000-11-21 Thread Jan Van de Vyle
The problem is I've got a website which should have an admin-interface.This interface should only be visible if you call i.e. admin.website.com. If you call web.website.com you reach the normal browse view. The website shoudn't be doubled, but the links on the browse-view normally call the

Re: [Zope] URL-problem

2000-11-21 Thread Martin Winkler
At 12:19 21.11.2000, Jan Van de Vyle wrote: The problem is I've got a website which should have an admin-interface.This interface should only be visible if you call i.e. admin.website.com. If you call web.website.com you reach the normal browse view. If you have Apache in front of Zope (good

Re: [Zope] PythonMethods

2000-11-21 Thread Alastair Burt
Tom Deprez [EMAIL PROTECTED] writes: Can somebody provide me the URL to the last version of Python Methods? I only find version 0.1.7 which was created 199/12/13. If you want to use Python Methods as they are described in the Zope Book, you have to check the code out of CVS. Info on CVS

Re: [Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...

2000-11-21 Thread Wolfgang Strobl
On 20 Nov 2000, 15:07 Brian Lloyd wrote: Zope 2.2.4 beta 1 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.4b1/ I'm not quite sure wether it's me, my system or this beta, but a fresh installation of 2.2.4 beta 1 says: Zope Error

[Zope] DTMLTemplate + PythonMethod == separate code from HTML?

2000-11-21 Thread Thiebaut CHAMPENIER
In fact, I find it too hard to code something using DTML, that's why I'd like to use good old python and to keep only variable substitution in my HTML (dtml-var, or maybe just dtml-my_variable; which is an easier to use form of it, or maybe replace it with @my_var@ or smth like that, which I

RE: [Zope] Search and replace

2000-11-21 Thread Lee Hunter
Kapil wrote: that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both. But to create a cross-platform solution really needs... Mozilla. Sadly, the ZopeMoz projects appears to be dead, hopefully

RE: [Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...

2000-11-21 Thread Brian Lloyd
I'm not quite sure wether it's me, my system or this beta, but a fresh installation of 2.2.4 beta 1 says: exceptions.AttributeError ... line 140, in index_html (Object: zope_button.jpg) AttributeError: _p_mtime Actually, none of the images in p_ is accessible Thanks

[Zope] Pseudo E-Mail Address validation

2000-11-21 Thread Martin Winkler
Hi all, For a subscription tool of a mailing list I'd like to quick-check the e-mail address our users type. Is there a little product/method etc. available that does this? I know that you can only be sure whether an e-mail address exists or not, when you actually send a mail to the user,

Re: [Zope] XML-RPC

2000-11-21 Thread Steve Spicklemire
A number of folks have asked me about ming-0.0.4 and Zwiff. I have just uploaded a new Zwiff that uses ming-0.0.4+ (there is actually a full ming distribution this time with all the patches needed to work with Zwiff.) Let me know how it goes! http://www.zope.org/Members/sspickle/Zwiff -steve

[Zope] Date

2000-11-21 Thread Tom Deprez
Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an easy formula for this? Or do I've to check myself for a new year, leap year Tom. ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Search and replace

2000-11-21 Thread Mario Olimpio de Menezes
On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to

Re: [Zope] External Method

2000-11-21 Thread Andy McKay
If you are talking about dtml you can pass them in the dtml-call tag dtml-call "my_external_method(_.None, _, param_1=1, param_2=2)" -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kini Natekar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 21,

Re: [Zope] Pseudo E-Mail Address validation

2000-11-21 Thread Dennis Nichols
At 11/21/00 04:27 PM, Martin Winkler wrote: For a subscription tool of a mailing list I'd like to quick-check the e-mail address our users type. As a check on whether an email address *looks* OK, I use the following External Method. If ICANN really approves TLDs that are other than 2 or 3

Re: [Zope] jcNTUserFolder on 2.2.x

2000-11-21 Thread Andy McKay
API changes in 2.2 (and future developments, like PTK) make custom user folders less attractive than they used to be. If you intend committing some time to this then I recommend something based on http://www.zope.org/Members/tsarna/LoginManager The simplest change would be to transplant the

[Zope] You are currently working in version No

2000-11-21 Thread Wolfgang Strobl
I'm just figthing with a somewhat strange and annoying error on one of my production sites. After saving and leaving a version named "neu", I'm now confronted with a system which says "You are currently working in version No " right after I enter a management screen, and before I really

RE: [Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...

2000-11-21 Thread Chris Gray
There's a bit of odd behavior, at least in the Windows binary release. Going to any /manage URL brings up a blank page in the workspace ("manage_main") frame. The workspace only appears when you click on something in the navigator ("manage_menu") frame.

[Zope] Re: You are currently working in version No

2000-11-21 Thread Wolfgang Strobl
On 21 Nov 2000, 18:41 [EMAIL PROTECTED] wrote: I'm just figthing with a somewhat strange and annoying error on one of my production sites. After saving and leaving a version named "neu", I'm now confronted with a system which says "You are currently working in version No " right after I

Re: [Zope] You are currently working in version No

2000-11-21 Thread Andy McKay
Zope figures out what version you are in by saving a cookie. Close your browser and or delete all cookies and go back to Zope, you should then be out of any version. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Wolfgang Strobl" [EMAIL PROTECTED] To: [EMAIL

Re: [Zope] You are currently working in version No

2000-11-21 Thread Wolfgang Strobl
On 21 Nov 2000, 9:57 Andy McKay wrote: Zope figures out what version you are in by saving a cookie. Close your browser and or delete all cookies and go back to Zope, you should then be out of any version. Sorry, I forgot to mention that I tried this before asking the list. That's why I

[Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...

2000-11-21 Thread jimbo
I'm using win98. I applied the 2.2x-2.4 upgrade over my existing zope installation and I'm not having a problem with /manage. Can you give a few more details? -Jimbo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...

2000-11-21 Thread Chris Gray
I'm using win98 too. I didn't apply 2.2.4 over my existing installation but did a fresh install and I'm running 2.2.4 at port 9673 instead of 8080. I can access both instances, except for the problem that I noted. The problem does go away if only the 2.2.4 instance is running, but in the past

Re: [Zope] expiring dtml documents

2000-11-21 Thread wade naveja
this is great! i'll give this - or something similar - a try in the near future. in know that zope has a reputation for less than cohesive documentation, but can someone point me in the direction of some zope api documentation? On Sun, 19 Nov 2000, Cees de Groot wrote: [EMAIL PROTECTED]

Re: [Zope] Zope and Websphere

2000-11-21 Thread Didier Rano
Français ??? How do you convince your boss to get Zope rather than websphere ? I try to convince my client to do it. Didier Rano Arakné - Original Message - From: "Francois-regis Chalaoux" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 21, 2000 10:04 AM Subject: [Zope]

Re: [Zope] You are currently working in version No

2000-11-21 Thread Shane Hathaway
Wolfgang Strobl wrote: On 21 Nov 2000, 9:57 Andy McKay wrote: Zope figures out what version you are in by saving a cookie. Close your browser and or delete all cookies and go back to Zope, you should then be out of any version. Sorry, I forgot to mention that I tried this before

[Zope] Re: Zope / DCOracle / ZOracleDA / Oracle 7.3.3 crash/respawn problem

2000-11-21 Thread Chris Beaumont
Ayhan, **Thank you** Actually, my drivers were compiled against 8.1.6.1 (on Linux) too, and I'm communicating with an Oracle 7.3.3 database (on a separate Solaris box). Could that be part of the problem? I don't think there was an Oracle 7 for Linux. Are there some settings I could change to

[Zope] Support for PHP?

2000-11-21 Thread Ben Ocean
Hi; I'm reading *the book* and it appears that Zope supports Perl and Python but *not* PHP :(( Well, I'm learning Python and I have a limited but working knowledge of PHP: I really *don't* want to have to learn Perl because, although there's lots of stuff out there written in Perl, PHP (IMHO)

[Zope] random object with properties

2000-11-21 Thread Kevin Worth
I'm trying to find/write a method that will choose a random image from a folder (easy, using the random how-to) But I also want to display the caption for the image, which is a property of that image. This method: dtml-var expr="_.whrandom.choice(objectValues('Photo'))" dtml-if

Re: [Zope] You are currently working in version No

2000-11-21 Thread Martin Winkler
At 18:41 21.11.2000, Wolfgang Strobl wrote: After saving and leaving a version named "neu", I'm now confronted with a system which says "You are currently working in version No " right after I enter a management screen, and before I really enter anything. It seems to me that the cookie set for

Re: [Zope] Support for PHP?

2000-11-21 Thread Chalu Kim
There is a post about using PHP with Zope. http://www.zope.org/Members/Mamey/PHP But what is the point? Ben Ocean wrote: Hi; I'm reading *the book* and it appears that Zope supports Perl and Python but *not* PHP :(( Well, I'm learning Python and I have a limited but working knowledge

Re: [Zope] random object with properties

2000-11-21 Thread Andy McKay
You have to actually get the image to display its caption (untested) dtml-with expr="_.whrandom.choice(objectValues('Photo'))" dtml-var sequence-item dtml-if captiondtml-var caption/dtml-if /dtml-var -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kevin Worth"

Re: [Zope] random object with properties

2000-11-21 Thread Morten W. Petersen
[Kevin Worth] | dtml-var expr="_.whrandom.choice(objectValues('Photo'))" | dtml-if captiondtml-var caption/dtml-if [,..] | What am I missing here? Maybe this will work: dtml-let random_image="_.whrandom.choice(objectValues('Photo'))" dtml-var random_image

Re: [Zope] Support for PHP?

2000-11-21 Thread ghaley
This was discussed about a month ago. check the archive. conclusion was that you can do anything with dtml that php does, though with perhaps a little bit more indirection. ciao! greg. Gregory Haley Venaca.com Hi; I'm reading *the book* and

Re: [Zope] random object with properties

2000-11-21 Thread Andy McKay
Duh what am I saying sequence-item... yep you need a let as per Morten. Too many dtml-in's... -- Andy McKay, Developer. ActiveState. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Kevin Worth" [EMAIL PROTECTED] Sent: Tuesday, November 21, 2000 12:14

[Zope] zope 2.24b1 upgrade on win98 crashing. errno 9?

2000-11-21 Thread jimbo
I'm not sure what I've done to my system. The upgrade went fine at first so I think it might be something I've done since this morning. I just deleted some product folders I had been working on. Searching thru records seems mysql adapter might be the problem. I deleted the mysql folders and

Re: [Zope] SAP Database Adapter available?

2000-11-21 Thread Daniel Dittmar
since the SAP Database has been release on Linux as GPLed Engine (http://www.sapdb.org), is there a compatible adapter for Zope ? Nope, but I'm working on it. You'll hear it here first. Daniel ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] random object with properties

2000-11-21 Thread Steve Spicklemire
Hmm.. How about something like: dtml-let random_image="_.whrandom.choice(objectValues('Photo'))" dtml-var random_image dtml-if "_.hasattr(random_image,'caption')"dtml-var "random_image.caption"/dtml-if /dtml-let -steve ___ Zope maillist -

[Zope] Re: tag for knowing how many have logged under the same URL (present time)

2000-11-21 Thread Dieter Maurer
jacintha menezes writes: Kindly let me know how can we find out how many have logged (present time)into zope under the same URl.If there is an dtml-tag for this kindly give me that. Obviously, you do not know yet how logging in works: HTTP is a stateless protocol. There is not

[Zope] Re: Version Lock/save/discard Problem

2000-11-21 Thread Júlio Dinis Silva
We have had the same problem with "saving" Versions on zope 2.2.2 + ZEO. Our ZSS servers are on linux and our Zope Clients are on NT (don't ask). I have all ZSS and ZCS on NT but I isolated the possible zeo's related problem running my Data.fs on a standalone zope and the problems persisted.

Re: [Zope] security problems .. should be fairly easy...

2000-11-21 Thread Dieter Maurer
Bowyer, Alex writes: I can't find any examples in any of the Zope documentation about how to manage permissions for class methods. Does anyone know where I could find such documentation or examples if there are any? Did you look at the upcoming Zope book? Dieter

Re: [Zope] ZClass/DTML Document transparency

2000-11-21 Thread Dieter Maurer
Randall Kern writes: In the case of DTML Documents, the following works fine: dtml-var sequence-item In the case of ZClasses, I have to use something like this: dtml-with sequence-item dtml-var index_html /dtml-with But this is rather ugly, and it's the sort

Re: [Zope] External Method

2000-11-21 Thread Dieter Maurer
Kini Natekar writes: How can I pass parameters to an External Method? I know of one way to do this, is to use dtml-var tag. Is there any other way? Anywhere, you can use 'expr=""'. This means almost all DTML tags: call, var, in, with, let (without 'expr='!) ... Example:

Re: [Zope] random object with properties

2000-11-21 Thread Dieter Maurer
Kevin Worth writes: I'm trying to find/write a method that will choose a random image from a folder (easy, using the random how-to) But I also want to display the caption for the image, which is a property of that image. This method: dtml-var

Re: [Zope] Date

2000-11-21 Thread Dieter Maurer
Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an easy formula for this? Or do I've to check myself for a new year, leap year When I would need it (and did not find a better method), I would use

Re: [Zope] expiring dtml documents

2000-11-21 Thread Dieter Maurer
wade naveja writes: this is great! i'll give this - or something similar - a try in the near future. in know that zope has a reputation for less than cohesive documentation, but can someone point me in the direction of some zope api documentation? The ZQR (Zope Quick Reference; search

Re: [Zope] RE: Problems using M18 (and others too!)

2000-11-21 Thread Curtis Maloney
On Tuesday 21 November 2000 20:04, Harris Peter wrote: Andreas Tille wrote: I just gived Mozilla M18 a try and noticed that Back Button of the browser doesn't work in zopüe management screen. Netscape 4.75 (and Konqueror doesn't seem to work well with zope either - I sometimes get

[Zope] Having troubles starting Zope.

2000-11-21 Thread Dany Rioux
smime.p7m

Re: [Zope] Having troubles starting Zope.

2000-11-21 Thread Chris McDonough
It sounds like the .deb of Zope (or the hotfix) you have is misconfigured in some way... I think the Debian Zope maintainer is Gregor Hoffleit... I'd imagine he'd be interested in a bug report. But in the meantime, I'd suggest using the Zope source distribution to install... it's actually not

Re: [Zope] Zope / DCOracle / ZOracleDA / Oracle 7.3.3 crash/respawn problem

2000-11-21 Thread Chris Beaumont
Dieter, thank you. Unfortunately, if what you meant was to remove the -DDCOracle8 flag from the end of my Setup file and recompile, that didn't do it. Zope is still crashing and restarting on perhaps one out of every 100 requests. It seems to be more common when it hasn't been accessed in

[Zope] External Methods

2000-11-21 Thread Kini Natekar
Hi, I have got a html form which accepts an input from the user. This input has to be passed to a Python script, as a parameter, which is added as an external method in zope. Is there any way to do this ? Regards, Kini. __ Do You Yahoo!?

[Zope] is it possible to see whether any user is using a perticular zope object

2000-11-21 Thread subrahmanyan kalathur
hello , I am subrahmanyan. I am using zope for my project. Now I would like to know is it possible to know if any body is using the zope object. I mean , if one user is running one DTML method , Iwant to know that one user is using that object. Is there any DTML tag for that. thanks.

Re: [Zope] Search and replace

2000-11-21 Thread Ender
Daniel Rusch wrote: I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but