[Zope] How to pass parameters to dtml methods in making

2000-12-15 Thread Dirksen
Hi, The case is like this: Works fine. The system complains the para being unknown. How come? cheers Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ __

[Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Chris Beaumont
Hi, I just realized I need to split a potentially pretty long textfield input from a web form into 2000 character chunks, for input into a database. I see a lot of string functions in DTML, but none that looks like it will do this.. I'm hoping to use this as a workaround for the seeming lack

Re: [Zope] Zope.org RSS file

2000-12-15 Thread Oleg Broytmann
On Thu, 14 Dec 2000, Andy McKay wrote: > The Zope news RSS file has a '&' which rdf doesnt like > http://www.zope.org/SiteIndex/news.rss Once I've fixed this (for rss from appwatch.com) in the RSS Channel, and sent my fix to RSS Channel's author. I remember there was 1-line patch... Oleg.

Re: [Zope] IE5 / Medusa bug?

2000-12-15 Thread Chris Withers
Jerome Alet wrote: > > On Thu, 14 Dec 2000, Evan Simpson wrote: > > > From: seb bacon <[EMAIL PROTECTED]> > > > I imagine the fact that I can make it work by adding index_html is the > > > most telling point, but it's not telling me anything ;) > > > > Leaving off index_html causes Zope to add a

Re: [Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Chris Withers
Chris Beaumont wrote: > > Hi, > > I just realized I need to split a potentially pretty long textfield > input from a web form into 2000 character chunks, for input into a > database. I see a lot of string functions in DTML, but none that > looks like it will do this.. Use a Python Script: you

Re: [Zope] IE5 / Medusa bug?

2000-12-15 Thread Martijn Pieters
On Fri, Dec 15, 2000 at 08:48:18AM +0100, Jerome Alet wrote: > On Thu, 14 Dec 2000, Evan Simpson wrote: > > > From: seb bacon <[EMAIL PROTECTED]> > > > I imagine the fact that I can make it work by adding index_html is the > > > most telling point, but it's not telling me anything ;) > > > > Lea

[Zope] error by adding Poll

2000-12-15 Thread Kaeidinejad, Shahram
Hi i install Poll-0.7.1 and try to add it. but i get an erro like this: Cannot locate object at: http://192.168.190.238:23456/Test_Folder/manage_addProduct/Poll/manage_addSa mplePollItem Traceback (innermost last): File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublisher/Publish.py, line 2

Re: [Zope] multiple selects are not allowed

2000-12-15 Thread Diny van Gool
Hi, Thank you for your answer. At 15:19 13-12-00 +0100, Dario Lopez-Kästen wrote: >- Original Message - >From: "Jose Soares" <[EMAIL PROTECTED]> >Subject: Re: [Zope] multiple selects are not allowed >> from ZSQL Methods User's Guide, last row on pag. 22: >> "Note that no more than one SQ

Re: [Zope] multiple selects are not allowed

2000-12-15 Thread Ivan Cornell
> > >Diny, why do you need to execute multiple selects in one SQL-Method? > > > Belief me, you don't want to know ;) > > I'm building a database application for the drugstore department. > Veterinarians can find medicines by searching on animal, ingredients, > diseases etc. When they've found one

[Zope] Re: [Zope-dev] IE5 / Medusa bug?

2000-12-15 Thread Toby Dickenson
On Thu, 14 Dec 2000 22:10:20 +, seb bacon <[EMAIL PROTECTED]> wrote: >I'll continue my research by eliminating elements until I've nailed down >exactly the bit that's messing it up. Right now, though, I have to go >to bed. Meanwhile, any comments? Something very strange is going on. I am

[Zope] INTERBASE- gvib error

2000-12-15 Thread Francois-regis Chalaoux
If I test the query with INTERBASE there is no problem but with gvib I get the following error : Error, Products.gvibDA.gvib.gvibExceptions.Error: - Dynamic SQL Error -- SQL error code = -204 -- Table unknown -- SLID_PROB SQL used: select ZEB_REPORT.REP_CODE, ZEB_PROBE.PROB_TARGNAME from

[Zope] LoginManager and SSL client authentication

2000-12-15 Thread Mayers, Philip J
All, LoginManager is now working well... We've got a bespoke application for storing our (very large) user account database here. One field a user can have is a crypted unix password (which I'm currently using to authenticate users). The other thing that can exist is the Subject or SubjectAltNam

[Zope] Dreamweaver, webdav and Zope

2000-12-15 Thread Max Møller Rasmussen
I have just upgraded to DreamWeaver 4.0. Lo and behold, it has webDav support. I can open the site in DreamWeaver and it looks just great. It would be a really, I mean REALLY, nice management interface for Zope. Two problems though: 1) I cannot open my dtml methods in Dreamweaver as they ha

Re: [Zope] ZWiki hierarchy seems to be broken

2000-12-15 Thread Frank McGeough
nope, my problem is different. (at least I don't think so). Symptoms are : 1) Entire wiki contents link shows only singletons 2) (which I have in the standard_wiki_header) does nothing. The output is   3) The contents in the standard_wiki_header works fine. That is, I can see all the descendent

Re: [Zope] Dreamweaver and WebDav

2000-12-15 Thread Martijn Pieters
On Wed, Dec 13, 2000 at 01:25:15PM -0500, Todd Coram wrote: > > Is anybody using the combination Dreamweaver 4 WebDAV Zope already? > > A connection was easy to make. At the moment i want to put or get > > something "access to > > the desired resource is denied by the server". I checked my > > pas

[Zope] ZCatalog raises index out of range exception error

2000-12-15 Thread Martin Winkler
Hi listies, On a client's server I created a ZCatalog, but when using "Find Items to ZCatalog" and clicking on "Find" in the form, Zope raises the "list index out of range" error shown in detail at the end of this e-mail. Then I took the whole Data.fs, put it on one of our servers, where every

[Zope] zcatalog reindex_object

2000-12-15 Thread Jonathan Cheyne
Hi - got a site based entirely on zcatalog keyword doodahs - v good, works like a dream etc - but just noticed something odd. I decide to brush up some of the keywords because it is case sensitive and people were serching on Surname Lastname (not suername lastname as I had entered the keywords a l

Re: [Zope] Zope (after) install problems

2000-12-15 Thread Toby Dickenson
On Mon, 11 Dec 2000 10:16:31 +0100, "Kai Hofmann" <[EMAIL PROTECTED]> wrote: >I installed Zope 2.2.2 with Python 1.6 (incl. threads) under Solaris 2.6 Is there a reason you cant use Python 1.5.2 or 2.0? (python 1.6 has many known bugs) Toby Dickenson [EMAIL PROTECTED] ___

[Zope] oops - crash bang sent unfinished zcatalog and reindex

2000-12-15 Thread Jonathan Cheyne
Sorry about that - the message re zcatalog and reindexing just sent itself - unfinished! then crashed and failed to save in sent. v strange, but to complete ... If I edit an instannce of my zclass and change a keyword from say europe to Europe then the search works correctly but the following cod

Re: [Zope] charset from forms input

2000-12-15 Thread Toby Dickenson
On Thu, 14 Dec 2000 09:45:53 +1300, Matt <[EMAIL PROTECTED]> wrote: >Hi, I seem to have come across the depressing fact that most browsers >will not return a charset parameter in the http header when a form is >submitted. For example, the following from Netscape ... (it happens >with both IE and

[Zope] CoreSessionTracking Release 0.2

2000-12-15 Thread Chris McDonough
I had some reports yesterday of the Core Session Tracking development code not working against recent Zope 2.2 releases, so I removed dependencies in the code on the Interface module which were causing the incompatibilities. CoreSessionTracking 0.1 will work against Zope 2.3a1, but not against Zop

RE: [Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Steve Drees
> I just realized I need to split a potentially pretty long textfield > input from a web form into 2000 character chunks, for input into a > database. I see a lot of string functions in DTML, but none that > looks like it will do this.. string slices. somestring[:1999] is the first 2000 char

RE: [Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Jerome Alet
On Fri, 15 Dec 2000, Steve Drees wrote: > somestring[:1999] is the first 2000 characters of somestring. Not to be a poseur but: somestring[:1999] is the first 1999 characters of somestring, because in Python indices begin at 0, e.g.: a="0123" print a[:3] gives "012" which are the first 3 chara

Re: [Zope] IE5 / Medusa bug?

2000-12-15 Thread seb bacon
Firstly, apologies for cross-posting - this should probably move over to zope-dev henceforth. Secondly, thanks for the replies. In my small sample, it appears that 3 out of 7 IE browsers got the bug - no other flavours had a problem at all. They were mostly versions 5 and 5.5. If there was any

Re: [Zope] error by adding Poll

2000-12-15 Thread Bill Welch
Manage_addSamplePollItem is a 'legacy' mapped to addItem (see Poll/__init__.py) and Hotfix_2000-12-8 shuts down the legacy mechanism. I went into itemAdd.dtml changed it to use addItem directly. Bill. On Fri, 15 Dec 2000, Kaeidinejad, Shahram wrote: > Hi > i install Poll-0.7.1 and try to add i

[Zope] Anothe Zwiki bug

2000-12-15 Thread Michael Bernstein
I've found that if you name a structured Zwiki folder with an id that has a space in it, that the link on child pages that is supposed to go to the root page of the folder (ie. FrontPage) replaces the space with '%2520' instead of '%20', which breaks the link. HTH, Michael Bernstein. __

Re: [Zope] SiteAccess and Roles

2000-12-15 Thread Michael Bernstein
The Doctor What wrote: > > * Michael Bernstein ([EMAIL PROTECTED]) [001214 01:06]: > > I read your access rule, and it seems like you've got it set > > up to ignore the gTLD, so that www.gerf.org and www.gerf.com > > etc. get routed to the same object automatically. Is that > > correct? > > Yes.

Re: [Zope] How to pass parameters to dtml methods in making

2000-12-15 Thread Daniel Rusch
I tried your code and it works fine both ways for me, are you sure that para exists in the second scenario. DR Dirksen wrote: > > Hi, > > The case is like this: > > > Works fine. > > > The system complains the para being unknown. How come? > > cheers > Dirksen > > _

[Zope] Perl Scripting in Zope

2000-12-15 Thread Mike Kelland
I'm running Zope on a Windoze 2k machine (no, I'm not happy about the situation ;P ) and I'm a Perl programmer by training.  Has Perl Scripting support been ported to Win yet and if so could someone possibly run me through the procedure of installing it (I'm a bit of a newb to installing por

Re: [Zope] LoginManager and SSL client authentication

2000-12-15 Thread Ng Pheng Siong
On Fri, Dec 15, 2000 at 11:42:23AM -, Mayers, Philip J wrote: > How would I go about making LoginManager authenticate them on the basis of > the certificate subject? > > Apache will validate the certificate for me (by passing a valid CA cert to > it's configuration) and I'm running over PCGI,

Re: [Zope] Perl Scripting in Zope

2000-12-15 Thread Mike Kelland
I've got about 3/4 of my application built in Zope (entirely in dtml I'm afraid to say) but I'm reaching a point where it's difficult to continue with only DTML (things like complicated database structures and validation of input fields) and since I don't quite know python yet (currently tea

Re: [Zope] Dreamweaver, webdav and Zope

2000-12-15 Thread Martijn Pieters
On Fri, Dec 15, 2000 at 12:47:26PM +0100, Max M?ller Rasmussen wrote: > I have just upgraded to DreamWeaver 4.0. Lo and behold, it has webDav > support. > > I can open the site in DreamWeaver and it looks just great. It would be a > really, I mean REALLY, nice management interface for Zope. > >

RE: [Zope] Dreamweaver and WebDav

2000-12-15 Thread Brian Lloyd
FYI - I spent a good part of yesterday fixing a lot of DAV support issues in Zope. > Dreamweaver 4 WebDAV has the following issues (confirmed with their > Technical Support): > > - Dreamweaver searches for a WWW-Authenticate header case-sensitively (not > compliant with HTTP RFC), and therefor

Re: [Zope] Perl Scripting in Zope

2000-12-15 Thread Michel Pelletier
On Fri, 15 Dec 2000, Mike Kelland wrote: > I've got about 3/4 of my application built in Zope (entirely in dtml > I'm afraid to say) but I'm reaching a point where it's difficult to > continue with only DTML (things like complicated database structures > and validation of input fields) and sinc

[Zope] PoPy module finally compiled but there is another prob

2000-12-15 Thread Paolo Quaglia
Hi to all Finally I compiled the Popy module (the 1.4) and I obtained the PoPymodule.so file I copied the module in the [ZopDir]/lib/python directory I installed the ZPoPyDA.0.7 but When I start Zop this error occour: Traceback (innermost last): File "/usr/local/Zope-2.2.4-linux2-x86/lib/pytho

Re: [Zope] Dreamweaver and WebDav

2000-12-15 Thread Martijn Pieters
On Fri, Dec 15, 2000 at 12:31:49PM -0500, Brian Lloyd wrote: > FYI - I spent a good part of yesterday fixing a lot of > DAV support issues in Zope. Yes, I have been updating my server and testing out the clients. > > Dreamweaver 4 WebDAV has the following issues (confirmed with their > > Technic

[Zope] I SOLVED!!

2000-12-15 Thread Paolo Quaglia
THANKS TO ALL for your help But I solved the Probs with the PoPy DA. Ciao Paolo ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/

[Zope] ANNOUNCE: Zope security alert and hotfix release

2000-12-15 Thread Brian Lloyd
Hi all - A security issue has recently come to our attention (thanks to Erik Enge for identifying this) that affects Zope versions up to and including Zope 2.2.4. The issue involves the computation of local roles. In some situations the computation was not climbing the correct hierarc

[Zope] Question about cgi-bin scripts

2000-12-15 Thread Eva Alam
Hello, I am a new zope user. I have just uploaded an existing web site into my zope database. However, I have been using cgi scripts which run perl programs on my site to search for data & this aspect of the web site does not seem to be working properly. I wonder if zope can handle this? best r

RE: [Zope] I SOLVED!!

2000-12-15 Thread Eric Walstad
Hi Paolo, you should post your solution to the mailing list so that if others run into your same problem they can find your solution by searching ht emailing list archives. Just a thought. Eric. // -Original Message- // From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paol

[Zope] Upload file size

2000-12-15 Thread diego
ppl, There's a way to get the size of a file uploaded in a form before write it? Thanks... --- Webmail by Magic Web Design http://www.magicwebdesign.com.br ___ Zope maillist - [EMAIL PROTECTED] http:/

[Zope] ANNOUNCE: updated 12/15 hotfix

2000-12-15 Thread Brian Lloyd
The version of the Hotfix uploaded initially was flawed :( I have made new one (Hotfix_2000-12-15a) and put redirects at the old location in case people get the original announcement and not this email. If you were quick on the trigger and downloaded the hotfix within an hour or so of the anno

[Zope] ZWiki rocks our world

2000-12-15 Thread Timothy Grant
I want to take a moment to express my sincere gratitude to those who created ZWiki. We are embarking on a significantly large development project. Communications are always problematic in those situations. However, the ZWiki tools have improved communications and the global knowledge store by sev

Re: [Zope] How to pass parameters to dtml methods in making

2000-12-15 Thread Dieter Maurer
Dirksen writes: > We do this often (Zope 2.1.6) and it works as expected. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/m

Re: [Zope] default values in forms

2000-12-15 Thread Dieter Maurer
Curtis Maloney writes: > fmt=url_quote>c Be careful: In general, the part after "?" must be quoted differently from the part before. After "?", a blank must be coded as '+', before "?", is must be unchanged. Quoting with '+' conversion is done by "url_quote_plus". Dieter ___

[Zope] Re: [Zope-dev] IE5 / Medusa bug?

2000-12-15 Thread Dieter Maurer
seb bacon writes: > IE does not get last 11 bytes > - it's always the last 11 bytes that are missing, however large the > page is > > - I've sent exact copies of the HTTP headers to the server, using > telnet, and there's no problem there I made the experience that IE is very

Re: [Zope] IE5 / Medusa bug?

2000-12-15 Thread Dieter Maurer
seb bacon writes: > > the Content-length is consistently reported as 14 bytes too > short. This is regardless of the actual length of the document. > > Why this should have a knockon effect on a small subset of MS > browsers, I don't know. Especially confusingly random is the > requ

[Zope] Pesky DateTime problem

2000-12-15 Thread Timothy Wilson
Hi everyone, I would *really* appreciate some advice about a problem with a ZClass I created. This product is a Job Board that our H.R. department can use to post openings and the public can view. I began by looking at the very nice "Build a Searchable Job Board" How-To at http://www.zope.org/Mem

Re: [Zope] Pesky DateTime problem

2000-12-15 Thread seb bacon
> The problem lies in adding an instance of the job board ZClass at which > point Zope reports an "Invalid Date-Time String". You might have considered this already, but you're not supplying a default date in the DateTime field of the form. This can cause problems, because there's a bug in zop

Re: [Zope] Pesky DateTime problem

2000-12-15 Thread Timothy Wilson
On Fri, 15 Dec 2000, seb bacon wrote: > > The problem lies in adding an instance of the job board ZClass at which > > point Zope reports an "Invalid Date-Time String". > > You might have considered this already, but you're not supplying a > default date in the DateTime field of the form. This

[Zope] Stupid File Upload Question

2000-12-15 Thread jpenny
This is for Jos: I ran into the same problem today. I had previously used this method, and it works better than LocalFS for my purposes. Anyway, be absolutly sure that your form says: ... Then you should be able to access REQUEST.form['attachment'].filename and REQUEST.form['attachment'].re

RE: [Zope] Question about cgi-bin scripts

2000-12-15 Thread sean . upton
If you have CGI programs written as perl scripts, how closely you can integrate with Zope depends entirely on what you are trying to do; as an application server designed around the object database, you can run DTML, python, and (soon) perl scripts to work with objects in the database; however the

[Zope] Generating HTML and SQL from results of Describe Table queries.

2000-12-15 Thread Lloyd Kvam
I would like to generate the necessary DTML Documents and Z SQL Methods to provide list, add, update, and delete capabilities for each table in a MySQL database. I know (in principle) how to parse the results of describe table queires and create reasonable default files with the proper sql and ht

Re: [Zope] Stupid File Upload Question

2000-12-15 Thread Jonothan Farr
What sort of problems were you seeing with LocalFS? Maybe I can fix them. Thanks, --jfarr - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 15, 2000 4:22 PM Subject: [Zope] Stupid File Upload Question > This is for Jos: > > I ran into the s

Re: [Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Bill Anderson
Jerome Alet wrote: > > On Fri, 15 Dec 2000, Steve Drees wrote: > > > somestring[:1999] is the first 2000 characters of somestring. > > Not to be a poseur but: me either ;^)= > somestring[:1999] is the first 1999 characters of somestring, because > in Python indices begin at 0, e.g.: Actual

Re: [Zope] Best Zope way to split a textfield on 2000 char increments

2000-12-15 Thread Bill Anderson
Bill Anderson wrote: > > Jerome Alet wrote: > > > > On Fri, 15 Dec 2000, Steve Drees wrote: > > > > > somestring[:1999] is the first 2000 characters of somestring. > > > > Not to be a poseur but: > > me either ;^)= > > > > somestring[:1999] is the first 1999 characters of somestring, because >

[Zope] One-To-One, Story Server, Teamsite, ... Zope?

2000-12-15 Thread Ausum
The three first are the most recognized brands for content management software, at least among industry journalists. For anyone previously involved with content management of a large scale site, Interwoven's, Broadvision's and Vignette's high-end suites, respectively, are probably the default