Re: [Zope] Parameter from DTML-Document to SQL-Method

2001-01-31 Thread peter bengtson
Very strange that you don't get an error though. Your DTML is wrong. You're not sending the _value_ or 'value' you're sending a value that looks like this: "dtml-var value" Here's the correct way. dtml-let value="'Test'" dtml-in expr="sql_query(para=value)" Peter - Original Message -

[Zope] Rational Continous sourcecontrol with Zope??

2001-01-31 Thread peter bengtson
Community friends, I work as a web application developer for a software company, using Zope and occationally PHP. My company has recently bought and installed a software called Continous. It's sourcecontrol and issue/bug tracking. The kind of stuff that compiled-language-developers use. The

Re: [Zope] ZObjectManager

2001-01-29 Thread peter bengtson
Here we go... 'Hitrate' is the whole product. HitrateText_add() is a method you find _inside_ the ZClass called 'HitratePage' (notice the dtml-with statm.) NoRedir is a variable I send to that method to tell it not to redirect anywhere. dtml-with

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-25 Thread peter bengtson
Curtis, Doing Z SQL Methods (SELECT) is really easy with DTML. When you've got a working example of it in DTML, then we can perhaps help you to convert that into Python Method code. Cheers, Peter On Thursday 25 January 2001 16:50, Evan Simpson wrote: From: "Curtis Maloney" [EMAIL PROTECTED]

Re: [Zope] a little problem - $1 reward!

2001-01-25 Thread peter bengtson
Lee, Before you move on to your DTML stuff about email address and stuff, you should always make sure that you DON'T HAVE ANY WHITESPACE BEFORE THE MAIL HEADERS. (sorry for the shouting, but it's a classic misstake) Does it work "DTMLless". I.e. does it work with statically typed in email

[Zope] url_quote written differently

2001-01-25 Thread peter bengtson
1a) dtml-var id is one way of writing it. 2a) dtml-var "'text %s text'%id" is another way of writing it 1b) dtml-var id url_quote is a second way of writing it 2b) ? How do I do this one?? I have tried this, but that didn't work: dtml-var "'text %s text'%id.url_quote()" , but that didn't

[Zope] Selection property problem

2001-01-22 Thread peter bengtson
This is the form: select name="alignment_text" optionleft/option optioncenter/option optionright/option /select When I submit this form the dtml-var REQUEST says this (assuming I select 'center'): alignment_text: center With this I want to change a Selection property called 'alignment_text',

Re: [Zope] Arguments in URLs with bookmarks

2001-01-19 Thread peter bengtson
I've always done it this way (fine on IE and NS nix): http://www.mysite.com/x?arga=oneargb=two#gotohere Now, tell me why that wouldn't work, if you've already tried that. By the way, it is called "anchors" not "bookmarks". Bookmarks is in weblanguage URLs stored in the webbrowser :) Peter

[Zope] ZMySQLDA and Win32 Zope crash

2001-01-17 Thread peter bengtson
Phil and rest of the Zommunity I followed the instructions on http://www.zope.org/Members/philh/mysql which has helped me successfully twice (out of two before) on Windows NT and Windows 2000. This installation was seemless like others, and the product doesn't look broken from the

Re: [Zope] Flat-style

2001-01-17 Thread peter bengtson
Is CSS what you're looking for? This works fine in Internet Explorer and looks flat to me: input name="hej:string" style="border-style: none; background-color: white;" - Original Message - From: "Tom Deprez" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001

Re: [Zope] Session

2001-01-16 Thread peter bengtson
Sorry, no experience of using HappySession. Can't even remember why I decided to try FSSession initially. Cheers, Peter Im using the Happy Session, but I heardy bad things about this product, Which one do you think is better ? Thanks a lot Anderson [CC to [EMAIL PROTECTED] so that the

[Zope] EventFolder entries reached externally

2001-01-16 Thread peter bengtson
Jeff, We use an EventFolder on our intranet. Basically, how do I get a dtml-in of data in todays entries in the EventFolder? I want to publish in another list somewhere else with a title like this: "Today's Happing For Those Who Don't Care To Go To The Intranet And Click Our EvenFolder" Best

[Zope] Holiday Calendar anyone?

2001-01-10 Thread peter bengtson
I've been asked to put up a Holiday Calendar on our Intranet by my HR. We're currently using Squishdot and EventFolder for the Intranet frontpage. Does anybody have or know of anything that might save me some time? Doesn' ___ Zope maillist - [EMAIL

[Zope] Holiday Calendar anyone? (cont.)

2001-01-10 Thread peter bengtson
[ sorry for the broken up email. I accidently pushed Ctrl+Return] ... Doesn't have to be a Zope product. Not even Python for that matter. Just as long as it is possible to _integrate_ with a zope site. Thanks, Peter ___ Zope maillist - [EMAIL

Re: [Zope] IEMethod (was: Can Zope ... )

2001-01-09 Thread peter bengtson
Try searching for "Internet Explorer" in Software release search. - Original Message - From: "Dennis Nichols" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Zope Mailinglist" [EMAIL PROTECTED] Sent: Tuesday, January 09, 2001 2:09 PM Subject: [Zope] IEMethod (was: Can Zope ... ) At 1/9/01

[Zope] String problem with ZClassReverse

2001-01-08 Thread peter bengtson
I try to use zclassReverse 1.1.1, but when I am asked for details of the Zclass this error (below) occurs almost instantly. This happens with all ZClasses I have tried. Zope 2.2.2 on WinNT. Ideas? I have not been able to see any diagrams yet. Regards, Peter From the JPython (1.0.3) command line

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after

Re: [Zope] Newbie question: adding a tinyTables objec

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after

Re: [Zope] Start with Zope

2000-12-14 Thread peter bengtson
To start Zope you do that on the commandline or as a service. To start _working_ with it you use your webbrowser. If you installed Zope on port 8080 (most likely I think), go to 127.0.0.1:8080 to see you Zope. To work with it, you go to 127.0.0.1:8080/manage If you get into the management

[Zope] Strange Win2000 Service behaviour

2000-12-13 Thread peter bengtson
I restarted the Zope server from the Control Panel inside Zope and it took a long time untill it was back up again. About 20 seconds. During these 20 seconds, I started to suspect that the service wasn't working, so I manually pressed the "Start" on the Zope Server inside the Control panel in

Re: [Zope] default values in forms

2000-12-13 Thread peter bengtson
snip i found out that spaces may be replaced by "+" in the link, but how do i get the "+" into the dtml-var ... statement? dtml-var something url_quote_plus Can't honestly remember where the word "plus" is supposed to be, but search the DTML Reference documentation. thanks for help olaf

[Zope] ZEXP filesize

2000-12-08 Thread peter bengtson
How (and if) is it possible to deduce the total size of a website from the filesize of Exported ZEXP files in Zope? If it's not possible to find a formula for the ratio of zopestuff and htmlstuff, is there any other way of getting a good estimate of "how big a site is"? Cheers, Peter

Re: [Zope] HELP! - DTML Variables

2000-12-08 Thread peter bengtson
You can't have DTML inside DTML. The dtml- stuff is to tell Zope that this is not HTML. The correct answer is: dtml-in expr="find_employee(employee_id=AUTHETICATED_USER.getUserName())" size=50 start=query_start cheers, peter - Original Message - From: Mohan Baro To: [EMAIL PROTECTED]

Re: [Zope] Why I Love Zope: Success Stories (BEWARE: sappy stuff inside) (you're not alone)

2000-12-08 Thread peter bengtson
Well done J. I've almost been struggling to convince my tech. dir. about Zope. By now I've almost given up, and I just say. "Zope is better. That's it. Take it or leave it." I was asked to build a intranet site for my company. I installed a Squishdot and changed the logo in the top lefthand

Re: [Zope] [ot] python book

2000-12-05 Thread peter bengtson
Learning Python is good and has good "english". But Python The Quick Book (ugly cover) has brilliant english writing, and is probably more pedagogic than others. Hi, I'm going through the tutorials available on Python.org but can anyone recommend a good book? I've always been impressed

[Zope] Zope crash on NT! Replace tab patch

2000-11-17 Thread peter bengtson
I downloaded and installed: Replace tab patch (http://www.zope.org/Members/cguardia/replace) This crashed my Zope when I restarted it on NT Zope 2.2.2 Here is the Traceback for start.bat Traceback (innermost last): File "C:\Program Files\Zopesite\z2.py", line 554, in ? exec "import

[Zope] CMS isn't word, is it? ($12M round of investment)

2000-11-14 Thread peter bengtson
"content management", says Paul Is that word different from "content management system"? Known also as CMS? My mother tongue is not english, but this feels like a techie (or perhaps e-business) question of english. I feel that if I were to deliver a management interface for a client I would

Re: [Zope] why DTML confusing

2000-11-10 Thread peter bengtson
It's a give-and-take I think. I had the same confusion as you have right now, but after a while you learn this syntax pretty well. This is the same as with all syntax, and as soon as you have learned the basics the rest is easy and from then on a matter of learning how to use extensive functions

[Zope] Yihaw product Catalog error

2000-11-09 Thread peter bengtson
I have installed the Yihaw product, because I am going to use the Contact class. The changes I have made to the ZClass are minor. I have only changed the Property Sheet of Contact and the appropriate changes to index_html and Contact_addForm. I can add a contact, but after having done that and I

[Zope] Re: Yihaw product Catalog error [Errata]

2000-11-09 Thread peter bengtson
I was a fool not to see that. Tired I guess. The link to the README was though somewhat hidden under "Release Information". Sorry for the spamming Zopistas. - Original Message - From: "Søren Roug" [EMAIL PROTECTED] To: "'peter bengtson'" [EMAIL PROTECTE

Re: [Zope] Python Methods Vote

2000-11-08 Thread peter bengtson
I have the opposite problem. Having voted once - early yesterday - I now can't vote again. The reason I want to vote again is that I have changed my mind! Now I want to _poll down_ "Python Method" and add a new alternative "ZPython Method" or add some points to "Python Script" or "ZPY". The