[Zope] Simple Question?

2000-10-24 Thread Noah
This seems like a simple question. How do I include a Method in a different folder? I have two folders and two methods: /editor/ edit /mojo/art/ add_art_html In my file "add_art_html" I want to add this code: But when I try to view it I get a KeyError. I also tried:

RE: [Zope] Updating auto incrementing counter in a propertysheet

2000-10-24 Thread Max Moller Rasmussen
From: Aleksander Salwa [mailto:[EMAIL PROTECTED]] >> >> >In the above line --- do you want to set up new value for ZClass property, >isn't it ? >If so, you have to use manage_changeProperties method of property sheet. Yes I am afraid that this is the problem. That seems like such a messy solu

RE: [Zope] Updating auto incrementing counter in a propertysheet

2000-10-24 Thread Max Møller Rasmussen
From: Bill Anderson [mailto:[EMAIL PROTECTED]] >Is it more important that they be in an order, or that they be in a >specific sequential list? Actually what is important is that they are integers and in a specific order. So the datestamp method isn't that feasible for me. (I'm trying to make a

[Zope] Apache in front of ZServer

2000-10-24 Thread Jørn Helge B. Dahl
Hi all! I am aware of http://www.zope.org/Members/anser/apache_zserver>, but I am looking for at way to make Apache serve Zope from the root URL. It is possible to make the apache front end be served by zope backend , but what real

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Phil Harris
Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two way

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Jørn Helge B. Dahl
* "Phil Harris" <[EMAIL PROTECTED]> | Jorn, | | It's perfectly possible, you just need to do a little work ;) That's OK, that way it'll be more fun :-) | Your proxy pass will be something like this: | | ProxyPass / http://myserver.com:8080/ | ProxyPassReverse http://myserver.com:8080/ / I ha

Re: [Zope] Sendmail examples

2000-10-24 Thread Tony McDonald
At 10:01 pm +1000 22/1/01, steve smith wrote: >Anyone have any good, real-world examples using DTML-Sendmail tags? Would >especially appreciate examples integrating SQL queries. > >Ta! > >Steve > What, you mean including ones that send mail into the future? :) (couldn't resist). Assuming you've

RE: [Zope] Sendmail examples

2000-10-24 Thread steve smith
Hi Tony, Thanks for taking the time to answer. The "MailHost" object seems to be the key. I tried going around it (using the SMTPHost attribute, from memory), without much luck. Also learnt that one needs at least modest knowledge of SMTP syntax when forming the option lines! Thanks again, Stev

[Zope] Trying to follow tutorial

2000-10-24 Thread Schut, Koos (Koos)
Hi all, I am trying to follow the quick tutorial and immediately run into things I do not understand. I am trying to create a folder as explained in the docs. I get the error: Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser This is the example in which "Stan" nee

Re: [Zope] Trying to follow tutorial

2000-10-24 Thread Rik Hoekstra
> > Hi all, I am trying to follow the quick tutorial and immediately run into > things I do not understand. I am trying to create a folder as explained in > the docs. > I get the error: > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser > > This is the exam

[Zope] serving java applet fails

2000-10-24 Thread Umesh Soni
hi all, I'm having problems serving up the EIRC java chat-client from within zope. I have uploaded two java archives EIRC-gfx.jar and EIRC.jar as file objects via the management screen. Zope has recognised these as 'application/java-archive' content types. I am using the following dtml (whic

[Zope] How do you guys/gals test Zope products from Python?

2000-10-24 Thread Max Møller Rasmussen
I am using Zope and Python 1.5.2 on Win2000. I guess that it is a fairly simple setup. My Zope site is in a folder called c:\mxmZope, and my vanilla Python is in C:\Program Files\Python. usually when I write Python I just use PythonWin to edit and run my scripts. I then write test in the buttom

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Jørn Helge B. Dahl
* [EMAIL PROTECTED] (JXrn Helge B. Dahl) | | for the other part of serving static content, it really depends what you | | want but here are two ways to do it. | | | | 1.use the LocalFileSystem product, | | http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg | | z |

Re: [Zope] Trying to follow tutorial

2000-10-24 Thread Marc Breitenreicher
I suppose you've just installed Zope and you're logged in as "Superuser" And that's the problem. The superuser cannot own folder, files etc. Add a "User Folder" and add a new User in that folder. Then you have to restart Zope and log in as the new user. Now the new user can add as much folder as

[Zope] AW: [Zope] Trying to follow tutorial

2000-10-24 Thread Patrick Koetter
Hi J.J., this problem is a result of the restrictions applied by zope. Nothing is wrong with that. It is just that it's not explained thouroughly or most people new to zope tend to overread that in the manual ;-) Here's what You do: 1. Login as the Superuser (the primary account provided after i

[Zope] Mass Mailing (newbie)

2000-10-24 Thread Yvonne Totty
Hi!   I need to send out mass mailings from time to time (newsletters, announcements and the such).   Is there an easy way to get this done? I already have the email addy's in the database.   TIA, Yvonne ~~~ Yvonne Totty Database Engineer -

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Phil Harris
Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil [EMAIL PROTECTED] - Original Message -

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread A.J. Rossini
> "JHBD" == JXrn Helge B Dahl <[EMAIL PROTECTED]> writes: JHBD> On a second thought: What I _really_ want (I think, unless JHBD> someone tells me differently :-) ) is a conditional JHBD> ProxyPass, to tell apache to redirect everything _unless_ JHBD> the URI is /static (or som

[Zope] redirect

2000-10-24 Thread Joaldo Junior
how to for that function REDIRECT understand a variable. ex. http://zope.org/index.htm?cod=')"> ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lis

Re: [Zope] redirect

2000-10-24 Thread Rik Hoekstra
> > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> You can't nest dmtl tags try : http://zope.org/index.htm?cod=' + test)"> Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zo

Re: [Zope] Looking for short term Zope contractor

2000-10-24 Thread Daniel Rusch
If you don't find the person(s) you are looking for, let me know. I am an experienced Zope/Python/SQL/HTML/JavaScript/Unix/Windows developer. Additionally, I have an excellent working relationship with two other developers with similar skills. Unfortunately, we are located in Wisconsin. Dan Ro

Re: [Zope] redirect

2000-10-24 Thread Daniel Rusch
http://zope.org/index.htm?cod='+_.str(test))"> You can't (and don't need to) put dtml tags inside dtml tags. Joaldo Junior wrote: > > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> > > ___

Re: [Zope] redirect

2000-10-24 Thread Phil Harris
http://zope.org/index.htm?cod=' + test)"> - Original Message - From: "Joaldo Junior" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 3:38 PM Subject: [Zope] redirect > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/ind

[Zope] M2Crypto problem

2000-10-24 Thread Erik Myllymaki
I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki [EMAIL PROTECTED]

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Oliver Bleutgen
> * [EMAIL PROTECTED] (JXrn Helge B. Dahl) > On a second thought: What I _really_ want (I think, unless someone > tells me differently :-) ) is a conditional ProxyPass, to tell apache > to redirect everything _unless_ the URI is /static (or something). > But this is probably something for apach

Re: [Zope] AW: [Zope] Trying to follow tutorial

2000-10-24 Thread Oliver Bleutgen
> 2. logout as superuser (e.g. close all browsers...) Ha, I always wanted to bring in a IMNSHO better way to "logout" - it works at least in IE. try http://log:[EMAIL PROTECTED] So the cached login/password are overwritten by log/meout and zope (or every other server) brings up the login dialo

[Zope] MailHost: bcc broken ?

2000-10-24 Thread Holger Lehmann
Hi all, I wanted to use bcc in a mail generated though a ... (Included in MailHost) tag. But it did not work. All I got was a junk line like this: subject: foo barbcc: user1, user2, user3 mark the missing carriage return and/or line feed between the subject and the bcc line. Anyone got any i

Re: [Zope] Mass Mailing (newbie)

2000-10-24 Thread Gregory Haley
hi yvonne, you can use the zope send mail method to pull data from a database. the problem is with pulling in the text. sendmail appears to send only literal text, i.e., it does not parse html markup. we are using a mysql database to pull text and a second to pull names and emails, etc. to pr

Re: [Zope] newbie question

2000-10-24 Thread Chris Withers
Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the pro

[Zope]

2000-10-24 Thread kosh
What would be the correct dtml-if contrstruct for this behavior? I want to check and see if zope can resolve a url to a valid object. Ie does http://foo.com/bar/foo get you to a valid page or is it not found. I need something like http://foo.com/bar/foo> that way I can know when to rewrite the

Re: [Zope] Simple Question?

2000-10-24 Thread Chris Withers
Noah wrote: > In my file "add_art_html" I want to add this code: > > But when I try to view it I get a KeyError. > I also tried: > If Steve A's patch ever makes it into the core, you could do: &dtml-/mojo/editor/edit; ...and it'd be great if the Traversal Interface could also

[Zope] SuperUser cannot own ;-)

2000-10-24 Thread Chris Withers
Marc Breitenreicher wrote: > > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) *stir* *stir* Chris ___ Zope mailli

Re: [Zope] Refreshing :-)

2000-10-24 Thread Chris Withers
Max Møller Rasmussen wrote: > This works nicely, but when writing Zope products I get really frustrated. I > cannot easily automate my tests. > > I put my products into C:\mxmZope\lib\python\Products\name and edit them > from there, but trying to edit just a simple syntax error means a restart of

Re: [Zope] redirect

2000-10-24 Thread Christian Scholz
Hi! > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> use http://zope.org/index.htm?cod='+test)"> with "" you will enter the python scope and thus no dtml syntax is allowed anymore. Instead you have to use python syntax (test shou

Re: [Zope] MailHost: bcc broken ?

2000-10-24 Thread Paul Zwarts
Hi, Im using this: To: <> From: <> Subject: Hi, blah blah Im supposing that the double brackets is due to the fact that the email address itself is encapsulated with brackets as well as the variable being passsed. Cheers, -- Paz Oratrix Development BV http://www.oratrix.com GRiNS SMIL

[Zope] dtml-in returning null

2000-10-24 Thread Diego Rodrigo Neufert
Hi... I want to do something like this... "> But, if InMethod return nothing it display this tag one time There's a way to do that?? Thanks -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email) ([EMAIL PROTECTED]

RE: [Zope] SuperUser cannot own ;-)

2000-10-24 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Withers > I suppose you've just installed Zope and you're logged in as "Superuser" > And that's the problem. > The superuser cannot own folder, files etc. ...and I'd still like to know why ;-) Well I for one have accidently re

RE: [Zope] dtml-in returning null

2000-10-24 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Diego Rodrigo Neufert > > "> > > But, if InMethod return nothing it display this tag one time >There's a way to do that?? "> will probably suffice Max M. W. Rasmussen,Denmark. New Media Director

Re: [Zope] MailHost: bcc broken ?

2000-10-24 Thread Holger Lehmann
Hi Paul, Thanks for that response, but . I can send single email with one recipient without problems. I need to use a bcc: for about 4000 users. No way doing that halfway performant with a ... statement. I am thinking of the bcc: user1, user2, user3 user4000 header. It ought to get

[Zope] ZWiki on Zope.org Site

2000-10-24 Thread Praveen Katiyar
Hi, I am a zope NewBie and am learning how to use Zwiki. Can any one Please mail me the Customised version of Zwiki which is in existence On Zope.org. I want to develop some thing same with some extra features. Existing Zwiki requires me to tweak some DTML code with which I am not much familiar.

[Zope] normal result with acquisition?

2000-10-24 Thread Tom Deprez
Assume following : Folder1 sql show_abc method_showdata Folder2 show_abc method_showdata has among it the following code : 1) When you call this function from Folder1 : show_abc of folder1 is used 2) When you call this function from Folder2 : show_abc of

Re: [Zope] Don't think so

2000-10-24 Thread mindlace
Chris Withers wrote: > > Paul Winkler wrote: > > > > Hi, > > > > Has anyone run up against a limitation on the number of > > users that can be in > > one acl_users folder? Either a hard limit or a practical > > limit? > > IIRC, zope.org's acl_users has about 11,000 people in it without too > man

[Zope] Cookie problem with IE5, 5.5, ...

2000-10-24 Thread Menard . Jean-Francois
> I developped a toggle button to let the users hide/show the menus. > > I use a cookie to store the current value. The code I use is: > > > > > > > > > > in a dtml method. It works great in netscape, but not in IE 4, 5 or 5.5. > Why??? > > I know I could use a session product,

[Zope] newbie inquiry about zope

2000-10-24 Thread Aharon
I have just started looking at zope for the site I am developing. I was wondering if anyone could tell me whether it sounds like an appropriate tool to use.   The basic idea of my site is to be a sort of multi-user-dimension for text. Meaning, we'll have various books available in a database

[Zope] Calling objects by name

2000-10-24 Thread Danny William Adair
How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny ___ Zope mai

Re: [Zope] newbie inquiry about zope

2000-10-24 Thread Andy McKay
[..] My questions are: 1) Could Zope help me keep track of who is reading what and match people up for discussion? [..] 4) Could Zope handle right to left text and non-Latin character sets? Think of it this way: Zope can do anything you can program in python. Anything you cant program, have a loo

[Zope] Modifiable local variables

2000-10-24 Thread Sean McGrath
Hello all, I am trying to use the DTML engine outside of Zope, and would like to be able to create local variables in my DTML documents. Because I have no access to Zope, I can't do REQUEST.set, nor can I use the method shown on http://www.zope.org/Members/Duncan/LocalVars. So, the questions i

[Zope] problem(100) ZServer Computing local hostname on windows install

2000-10-24 Thread Richard Lanham
when I try to start zope on windows machine i get:problem(100) ZServer Computing local hostname   then it says:ZServer Medusa (V1.16.4.3) started at... timestamp... hostname: dsl1254-096...isp.net Port:8080   then the FTP server starts:authorizer:nonehostname: rlhomeport:8021   the PCGI serv

Re: [Zope] redirect

2000-10-24 Thread Aleksander Salwa
On Tue, 24 Oct 2000, Joaldo Junior wrote: > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/index.htm?cod= test>')"> DTML tags can't be nested. Try: http://zope.org/index.htm?cod='+test)"> [EMAIL PROTECTED] /--\ | `lon

Re: [Zope] dtml-in returning null

2000-10-24 Thread Phil Harris
Diego, Do you mean that you want at least one input tag appearing at all times? If so, try this: "> "> hth Phil - Original Message - From: "Diego Rodrigo Neufert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 4:24 PM Subject: [Zope] dtml-in retu

Re: [Zope] Calling objects by name

2000-10-24 Thread Phil Harris
Danny, Try something like or hth Phil - Original Message - From: "Danny William Adair" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 6:50 PM Subject: [Zope] Calling objects by name | How can I render an object in DTML if I have its id as a string?

[Zope] AW: [Zope] newbie inquiry about zope

2000-10-24 Thread Patrick Koetter
Phew Aharon, many questions... Did you take a closer look at zope.org? I think many questions are answered within the site. But let's get going... >1) Could Zope help me keep track of who is reading what and match people up for discussion? You could track down people with cookies :-( or session

Re: [Zope] Modifiable local variables

2000-10-24 Thread Ender
Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Dunca

Re: [Zope] SuperUser cannot own ;-)

2000-10-24 Thread Bill Anderson
Max M wrote: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris > Withers > > > I suppose you've just installed Zope and you're logged in as "Superuser" > > And that's the problem. > > The superuser cannot own folder, files etc. > > ...and I'd still like to know why ;-) >

Re: [Zope]

2000-10-24 Thread Jens Grewen
Hi, I am not quite sure if this is what you want but may this helps do something This is not resolving the URL. If you found a solution let me know. Jens Grewen - Original Message - From: "kosh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000

[Zope] dtml-var owner? author? editor?

2000-10-24 Thread Patrick Koetter
Hi Zopistas, I want to include the owner (from acl_users) of a page in my HTML-output. Unfortunately I'm not able to produce what I want. Any hints? Thanks, p@rick ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope]

2000-10-24 Thread Phil Harris
How about (sort of tested): ignore the error or otherwise report it hth Phil - Original Message - From: "Jens Grewen" <[EMAIL PROTECTED]> To: "kosh" <[EMAIL PROTECTED]> Cc: "Zope Maillist" <[EMAIL PROTECTED]> Sent: Wednesday, October 25, 2000 2:14 AM Subject: Re: [Zope] | Hi

Re: [Zope] dtml-var owner? author? editor?

2000-10-24 Thread Bak @ kedai
On Wednesday 25 October 2000 09:58, Patrick Koetter wrote: > Hi Zopistas, > > I want to include the owner (from acl_users) of a page in my HTML-output. > > Unfortunately I'm not able to produce what I want. > > Any hints? > > Thanks, > > p@rick > i would think that is what you want > _

[Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-24 Thread Jason Byron
Does anyone have any LoginManager 0.8.8b1 example code? It almost looks like you can extend the system using plugins, but I don't know how that's done. Anyone else have luck doing this? If so then do you have any examples/suggestions? All I want is a simple ZODB/cookie based system, but I can'

[Zope] using a dictionary returned from an external method

2000-10-24 Thread Matthew Wilbert
I have some DTML that needs to call an external method that returns a dictionary. I don't have any problem referencing the resulting dictionary by doing something like . . . However, I need to do this for several keys, and I don't want to call externalMethod several times. Is there a way

[Zope] limiting tree

2000-10-24 Thread Bak @ kedai
hi all quickie: if dtml-in, i can use size to limit the results rendered, what do i use in dtml-tree? if there's no such attribute, any workaround? i've searched the mailing list and found similar question with no response. thanks -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine

[Zope] Help,I have a question.:(

2000-10-24 Thread Dylan Chi
I have a question about Squishdot. Error: Traceback (innermost last):  File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module  File /wwwnodes/zope/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish  File /wwwnodes/zope/Zope-2.1.6-

Re: [Zope] LoginManager 0.8.8b1 examples/suggestions?

2000-10-24 Thread Morten W. Petersen
[Jason Byron] | Does anyone have any LoginManager 0.8.8b1 example | code? It almost looks like you can extend the system | using plugins, but I don't know how that's done. | Anyone else have luck doing this? If so then do you | have any examples/suggestions? Yes. After adding your LoginManag

Re: [Zope] using a dictionary returned from an external method

2000-10-24 Thread Ender
Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I >don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call ext

[Zope] ZGDChart product...

2000-10-24 Thread zope
Hi. This is really a great product. Unfortunately, I'm not able to create a chart with multiple columns using a ZSQL Data Method. Multiple columns with a DTML-Method works fine. Do I miss something. Any ideas? Thanks for any help. Regards, Marc Ludwig ([EMAIL PROTECTED]) ___

Re: [Zope] The Great Python (and Perl) Method Renaming Poll

2000-10-24 Thread Michael Bernstein
Michel Pelletier wrote: > > We will be conducting a community poll to decide what to call Python > (Perl, insert your language here) Methods. > [snip] > So, before the poll, we are calling for nominiations from the > community. Please send me an email containing one or more candidate > names. T