[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 ,  I want to know that one user is using that object.   Is there any DTML tag for that.   t

[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!?

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 awhil

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 too

[Zope] Having troubles starting Zope.

2000-11-21 Thread Dany Rioux
smime.p7m

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 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 > g

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; se

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 u

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: > > > > > presents me with a random

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] ZClass/DTML Document transparency

2000-11-21 Thread Dieter Maurer
Randall Kern writes: > > In the case of DTML Documents, the following works fine: > > > > In the case of ZClasses, I have to use something like this: > > > > > > But this is rather ugly, and it's the sort of thing one shouldn't have = > to do in an oo system. I unde

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

2000-11-21 Thread Dieter Maurer
Chris Beaumont writes: > I am using the most recent versions of (Linux) DCOracle and ZOracleDA to > connect my Zope (2.1.6) installation to a copy of Oracle 7.3.3 running > on another (Solaris) machine > > Basically, Zope is occasionally crashing when an SQL query is made. > > Com

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] How to create a run-time zclass instance?

2000-11-21 Thread Dieter Maurer
Dirksen writes: > How to create a run-time zclass instance, which stays in the memory, not in the zodb? You uncheck the "standard Zope object" (or so) checkbox, when you define the ZClass. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.

RE: [Zope] Date

2000-11-21 Thread Eric Walstad
Here you go Tom. I think this is what you are looking for. There's probably a more streamlined way to implement it, but this seems to work nicely. Sorry for the VB-style variable names (grin) Hope you find it useful. -Eric. Here's the (ONLY) DTML used to test the functions: -8<-8<

[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.

[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 s

Re: [Zope] random object with properties

2000-11-21 Thread Steve Spicklemire
Hmm.. How about something like: -steve ___ 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:

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] http://lis

[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 s

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

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 Morten W. Petersen
[Kevin Worth] | | [,..] | What am I missing here? Maybe this will work: HTH. -Morten ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] random object with properties

2000-11-21 Thread Andy McKay
You have to actually get the image to display its caption (untested) -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kevin Worth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 11:57 AM Subject: [Zope] random object with propertie

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 knowled

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 fo

[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: presents me with a random photo, but no caption. At one point, I had it pu

[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] 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

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

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: [Zo

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] s

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 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] 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 c

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 PRO

[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 aft

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] 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 enter

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 transplan

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 ch

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 -- Andy McKay, Developer. ActiveState. - Original Message - From: "Kini Natekar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 2:12 AM Subject: [Zope] External Method > > Hi, > >

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

[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] http://lists

[Zope] Python Method name candidate

2000-11-21 Thread Hamish Lawson
I propose Python ZMethod. Rationale: The term 'Python ZMethod' identifies that this entity has methodish properties (acquisition, etc) from Zope's point of view, but distinguishes it from methods in the Python language. Furthermore the term 'ZMethod' could be used generally for any entity that Zo

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

2000-11-21 Thread Júlio Dinis Silva
>I created a version in my zope root in which I've been working >for some days. I created some objects on my root folder when >working on my version which caused root to became locked. > >Now I want to save/commit my version. I go to the save/discard form >and the save form post looks to work okay

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] 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, but

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

Re: [Zope] URL-problem

2000-11-21 Thread Oliver Bleutgen
> Thanks for your reply, but the main problem is the navigation. > The admin part is the normal browse-version + an admin interface at the > bottom of every side. > So when you are in root/main/press and you click on the new button a > script > adds a new object. > But how do I solve the navigati

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, > hopef

[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 woul

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] URL-problem

2000-11-21 Thread Jan Van de Vyle
Thanks for your reply, but the main problem is the navigation. The admin part is the normal browse-version + an admin interface at the bottom of every side. So when you are in root/main/press and you click on the new button a script adds a new object. But how do I solve the navigation problem. Th

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 ac

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 (go

[Zope] PythonMethods

2000-11-21 Thread Tom Deprez
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. Thanks, Tom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML e

[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 b

[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.)

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] 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. http://shopping.yah

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. se

Re: [Zope] Uploading files / forms / aditional info / to localfilesystem ..

2000-11-21 Thread Mario Olimpio de Menezes
> Jorgen Skogstad - Sun Norway - System Support Engineer writes: > > What I need is for a user to > > fill out > > a form with various information .. and click upload on a file .. and I need > > to > > create the following two files locall; > > > > Example: > > * image.jpg > > * image.i

[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

[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 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 c

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-t

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 (Wh

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,

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, us