RE: [Zope] submit buttons

2000-10-19 Thread Brad Moulton
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Twiddy Sent: Friday, October 20, 2000 3:41 PM To: [EMAIL PROTECTED] Subject: [Zope] submit buttons Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthi

[Zope] submit buttons

2000-10-19 Thread Mark Twiddy
Hi all I can remember reading but can't remember where or how ,another way to submit forms . somthing like some action here does anyone have an example thanks again Mark ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/li

Re: [Zope] dtml-sqlvar quote

2000-10-19 Thread Curtis Maloney
On Fri, 20 Oct 2000, Mark Twiddy wrote: > Hi all > > How can i pass a string to a sql method that won't be quoted. > > i.e so i can do somthing like this > > . > ggroup by foo,blah > order by > don't use sqlvar... just put: order by works for me. (o8 > > thanks mark > Have a better one

[Zope] dtml-sqlvar quote

2000-10-19 Thread Mark Twiddy
Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this . group by foo,blah order by thanks mark ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cr

[Zope] How do I format date/time in dtml from a ISO-8601 SQL timestampfield?field?

2000-10-19 Thread J Kinsley
I am probably missing something simple here, however I can not get this to work properly Given mtime = -MM-DD HH:MM:SS-ZZ as returned from PostgreSQL, how do I get the following to work without errors? This returns: Errot Type: ValueError Error Value: unsupported form

Re: [Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu
On Fri, 20 Oct 2000 11:30:46 +1100 Curtis Maloney <[EMAIL PROTECTED]> wrote: > > Why don't you try > > > > instead? Thanks. I tried this last night, and it didn't work for me, and now it does :-( I was following the howto at http://www.zope.org/Members/cguardia/changeTinyTable which doe

Re: [Zope] Why doesn't this method work?

2000-10-19 Thread Curtis Maloney
On Fri, 20 Oct 2000, Graham Chiu wrote: > I'm still struggling with Tiny Tables. > > Why does this flag an error?? > > Here's your problem. You're setting table to be a string containing the name of your tiny table. Why don't you try instead? > + '\n')"> > > > Error Type: AttributeErr

[Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu
I'm still struggling with Tiny Tables. Why does this flag an error?? Error Type: AttributeError Error Value: 'string' object has no attribute 'manage_editData' -- Graham Chiu ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/

Re: [Zope] Bypass ZODB and use File System

2000-10-19 Thread Jonothan Farr
As long as you're only storing text, whether it be html or dtml or what, then LocalFS might be a good solution for you. You still get through-the-web content management, and lots of neat Zope-isms like acquisition. What you can't do is attach persistent properties to the files you store locally, n

RE: [Zope] dtml-if problem

2000-10-19 Thread Eric Walstad
Hi Terry - Disclaimer: I'm a Zope Newbie... Here's what I'd try: Length of the value of Area is: Length of the 'strip'ped value of Area is: If you see somethinkg like: Length of the value of Area is: 4 (or more) Length of the 'strip'ped value of Area is: 3 when you view the DTML method, you ha

Re: [Zope] dtml-if problem

2000-10-19 Thread Andy McKay
Could be that you are not evaluting the string of Area try: - Original Message - From: "Terry Babbey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 19, 2000 1:37 PM Subject: [Zope] dtml-if problem > The following will not evaluate true and I am stumped again. >

[Zope] dtml-if problem

2000-10-19 Thread Terry Babbey
The following will not evaluate true and I am stumped again. Area is a variable I am passing to my method and I want to check to see if the variable is set to BIS, but it never returns true even though a displays BIS. Confused as always, Terry -- _

[Zope] Roxen & Zope, not working

2000-10-19 Thread Adrian Madrid
I'm having problems running Zope on top of Roxen on a Win2k machine. They both run just fine separate but I can't make it work together. I followed the instructions from http://www.zope.org/Members/magnus/Roxen but I never got it to see the first page. Here are the tracebacks I get: * This is what

[Zope] pcgi authentication

2000-10-19 Thread meden
We've got Zope running behind IIS as a pcgi process. Currently we are using the jcntuserfolder product to do authentication, but we are having some trouble. The problem is that we want to allow anonymous connections to our site. So we have the permissions to the zope.pcgi resource set to "a

Re: [Zope] Want to access ZClass Instance from external program

2000-10-19 Thread Jon Prettyman
This works like a charm. Thanks much for the help. -jon Ender <[EMAIL PROTECTED]> writes: > Sorry Jon, i've lead you down a slippery slope... > > unlike ttw dtml-methods and the rest of zope which relies on the > security context soley, for a filesys python method to be exposed > through the

[Zope] Solaris,iPlanet,Oracle and Zope

2000-10-19 Thread Turhan Arun
Hi everyone, I am probably the newest zopista! I am desperately seeking help. I think I am the only guy who works with Zope in TURKEY!!! Now my problem is as follows I have to use Zope Application Server on SUN iPlanet Web Server Oracle 8.1.6 Database server Would you help me about configuring the

[Zope] Problems with mysql and sql methode

2000-10-19 Thread Jens Grewen
Hi,   I have a problem with an SQL Methode with the this sql statement   select PAYMENT.PYNAME, PAYMENT.PYPRICEfrom MERCHANTPAYMENT, PAYMENTwhere MERCHANTPAYMENT.MEID = 418 and MERCHANTPAYMENT.PYID = PAYMENT.PYID   on the following tables:     MERCHANTPAYMENT

RE: [Zope] Question!

2000-10-19 Thread Farrell, Troy
Is the database connected as a System DSN? You can check under "Data Sources (ODBC)" in the Control Panel. You will need to add one if it is not there. Choose the "Add..." Button. Select SQL server. Next you will need to enter the Name you want to give the source, a description, and a server

[Zope] Python/Perl methods?

2000-10-19 Thread Spicklemire, Jerry
Oliver asked: > I've been looking at that new book's draft on the Zope website and I'm > wondering what chapter 7 is talking about. Where in Zope can I find a > "restricted Python method" or a "restricted Perl method"? I've never > seen those. Does anyone know, please? Keep in mind that the Zope

Re: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2

2000-10-19 Thread Jeff Forsyth
I wish I were in a position to run Mac OS X Beta. But this client has Mac OS X Server. This is Darwin version .3. Running Rhapsody and all the other little problems. I have also discovered that cpu utilization shoots as soon as zope is executed. This is a box that is in current production.

Re: [Zope] Bypass ZODB and use File System

2000-10-19 Thread Michael Bernstein
Noah wrote: > > What we really want to do is to provide a second view to > /var/www/htdocs for Apache. I understand that Apache won't > serve up our dynamic content, but that's not important. > Zope is just viewed as a better solution for managing our > static documents. The problem we have in my

Re: [Zope] Determining permissions in a Product

2000-10-19 Thread Michael Bernstein
Chris Withers wrote: > > When the dialog box pops up, hit cancel and see what authorization > failed on. > That should give you some clues as to what needs fixing. > > Incidnetally, I think this is a bit of a security hole. You shouldn't > get told what you're not allowed to see, especially if i

Re: [Zope] OT: documentation systems.

2000-10-19 Thread Fred Yankowski
Just be aware that Userland may convert the RadioUserland software into a commercial product, much as they did with Frontier a while back, in which case you either shell out the $$ or abandon all your investment in learning their software. Note that the beta license (http://radio.userland.com/lic

Re: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2

2000-10-19 Thread Steve Spicklemire
Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve > "Jeff" == Jeff Forsyth <[EMAIL PROTECTED]> writes: Jeff> I currently have Zope and Python installed from the source Jeff> code from the Jeff> excellent instructions

[Zope] Help needed with news articles

2000-10-19 Thread Taco Scargo
Basically I want to create a page listing the last 4 articles from a Zope folder. The articles need a publish from/to field, title and (dtml) text. I somehow need to be able to find and display the article from another dtml document. I read many FAQs and tried working with zcatalogs, but somehow I

[Zope] ZDiscussions for Zope 2.2.2

2000-10-19 Thread Cary O'Brien
Sorry about being such a winer yesterday. I needed a confera bulletin board for work (internal) with attachments, so I hacked ZDiscussions to work with Zope2.2.2. I needed to: 1) Get FileObject.py from Confera 2) add __allow_access_to_unprotected_subobjects__ in a

Re: [Zope] OT: documentation systems.

2000-10-19 Thread Aaron Straup Cope
I've been using the RadioUserland (nee Frontier) outliner to document the Zope system I am building. It saves the outline files as XML documents so I get to have a full-featured outliner to organzie my thoughts and a (sort of) universal file format to share with people. http://radio.userland.com

[Zope] ZopeTime Questions

2000-10-19 Thread Marcus Mendes
Hello, - I'm using the following code. - I've this problem: At 22:00 hs, this code give me the following results: Quinta This is Wednesday, 19/10/2000 , 22:13 ->>> The first give me the next Day always ->>> I'm starting my Zope with option -L pt_BR. Any comments

[Zope] Python/Perl methods?

2000-10-19 Thread Oliver Sturm
Hi, I've been looking at that new book's draft on the Zope website and I'm wondering what chapter 7 is talking about. Where in Zope can I find a "restricted Python method" or a "restricted Perl method"? I've never seen those. Does anyone know, please? Best regards, Oliver

Re: [Zope] Z2.log question

2000-10-19 Thread Bill Welch
The classic unix trick for emptying a open file is cp /dev/null Z2.log On Thu, 19 Oct 2000, George Osvald wrote: > Can I safely delete Z2.log file and replace it with an empty one? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma

Re: [Zope] Z2.log question

2000-10-19 Thread J. Atwood
Sure. Stop Zope. Erase Z2.log (or tar, move it) and restart Zope. It should start a new one. If not you might have to touch it. J At 8:18 PM +1000 10/19/2000, George Osvald wrote: >Can I safely delete Z2.log file and replace it with an empty one? It is >getting quite big and it seems to me like

Re: [Zope] Tiny tables

2000-10-19 Thread Graham Chiu
On Fri, 13 Oct 2000 19:40:08 -0400 [EMAIL PROTECTED] wrote: > The problem with the TinyTable and TinyTablePlus products > is that they use > the tokenize.py module which treats any field value as a > possible Python expression. > Since ":" is a special token in Python, it gets > interpreted as s

[Zope] Z2.log question

2000-10-19 Thread George Osvald
Can I safely delete Z2.log file and replace it with an empty one? It is getting quite big and it seems to me like a waste of space. I downloaded the existing version for reference. Regards, George ___ Zope maillist - [EMAIL PROTECTED] http://lists

[Zope] debugging zope?

2000-10-19 Thread Riku Voipio
Hi, I'm running zope 2.1.6 on Linux with DCoracle on "production", and about once in week zope runs out of control, like it would be in a infinite loop. Stops responding to zserver requests. Any hints on how to find out what's going on? -- Riku Voipio [EMAIL PROTECTED] 09-862 60764 __