[Zope-dev] zpatterns-0.4: creating an item in virtual mode

2000-07-05 Thread Jephte CLAIN
Hello, I use virtual attribute access to provide access to my SQL database. However, I want to use the Rack.newItem facility to create new records in the database. But it fails because in virtual mode, an item always exists. This patch solves the problem, at least for me --- Rack.py.orig

[Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Itamar Shtull-Trauring
(URL: http://www.zope.org/Members/michel/Projects/Interfaces/RestrictedCreation) Restricted Creation of Objects The problem - certain types of objects should not be added except in certain places or with certain restrictions. For example, we may want to make sure Laundry objects are only added

[Zope-dev] ZClass inheriting from ObjectManager and DataSkin?

2000-07-05 Thread Itamar Shtull-Trauring
Are there (or better yet, what are) any potential problems here? My gut feeling was that it wouldn't work, but you can at the very least add objects in instances of the ZClass - deleting and renaming don't work though. -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534

[Zope-dev] How to use document templates

2000-07-05 Thread Jarkko Veijalainen
Hi! Where can i find S_I_M_P_L_E example of using document templates with zope/python. I have this external method, wich return several variables from object class. I want to embed to results in DTML page. The method is called from Zope by HTML form with 3 input attributes. Right now i have

Re: [Zope-dev] How to use document templates

2000-07-05 Thread Steve Alexander
Jarkko Veijalainen wrote: Hi! Where can i find S_I_M_P_L_E example of using document templates with zope/python. I have this external method, wich return several variables from object class. I want to embed to results in DTML page. The method is called from Zope by HTML form with 3

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Shane Hathaway
Itamar Shtull-Trauring wrote: I propose a Restricted Creation Interface - when an ObjectManager constructs it's Add list in manage_main, it first checks with each addable class if it's instances can be added in this specific ObjectManager. The place where this is needed most (IMHO) is for

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Itamar Shtull-Trauring
Shane Hathaway wrote: The place where this is needed most (IMHO) is for ZClass factories. So there needs to be a way to create meta type filters through the Web. Yes, but in Python products too, where you have Items that should only go in specific ItemHolders. This is very common. On the

[Zope-dev] Searching in a MySQL-Database

2000-07-05 Thread Andre Schubert
Hi, i have a very important question. Is there a way to search in a mysql-database with the ZCatalog. Could i create a temporary file from a table and search it with the ZCatalog. If there are any Ideas please tell me. Thanks, as ___ Zope-Dev

[Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-05 Thread Joachim Schmitz
Hi, I wrote an external method from which I call a ZSQL-method, this runs fine and returns the correct results, but when I look at the ZODB transactions, I see that for each call of the method a transaction is recorded. Even worse, when I make an error in my method, the folder from which I

Re: [Zope-dev] ZPatterns: DropZone example

2000-07-05 Thread Phillip J. Eby
At 03:12 PM 7/5/00 -0500, Jimmie Houchin wrote: "Phillip J. Eby" wrote: [snip] Peter Coad's design approach (which ZPatterns is heavily based on/biased towards) emphasizes four major layers of classes in an application: 1) User Interface (GUI, forms, etc.) 2) Problem Domain (the actual

[Zope-dev] ExtensionClass and __radd__()?

2000-07-05 Thread Greg Ward
Hi all -- looks like ExtensionClass doesn't recognize/implement the '__radd__()' protocol. Speculation below; first, a demonstration. Normal case: a regular class Number that knows how to add itself to other number-like things: class Number: def __init__ (self, n): self.n =

[Zope-dev] Yesterdays CVS: I can add broken products! :/

2000-07-05 Thread Bill Anderson
OK, I am working on a CVS dump from yesterday of Zope2. I am upgrading from 2.1.6. I did so by making new folder, copying products that I actually used over, and building Zope, then bringing over the Data.fs. Oh, and ZEO is there too (Damn that thing is cool!). And now I have a very weird

[Zope-dev] Looking for Zope webmaster or web developer job

2000-07-05 Thread Loren Stafford
I'm looking for a new job where I can continue to use Zope for website management and applications development. Contract or full-time. Silicon Valley California or telecommute. If you know of any openings, please let me know. -- Thanks -- Loren Stafford [EMAIL PROTECTED]

Re: [Zope-dev] Proposed interface: Restricted creation

2000-07-05 Thread Phillip J. Eby
At 12:01 PM 7/5/00 -0400, Shane Hathaway wrote: Itamar Shtull-Trauring wrote: I propose a Restricted Creation Interface - when an ObjectManager constructs it's Add list in manage_main, it first checks with each addable class if it's instances can be added in this specific ObjectManager. The

Re: [Zope-dev] ZClass inheriting from ObjectManager and DataSkin?

2000-07-05 Thread Phillip J. Eby
At 01:58 PM 7/5/00 +0300, Itamar Shtull-Trauring wrote: Are there (or better yet, what are) any potential problems here? My gut feeling was that it wouldn't work, but you can at the very least add objects in instances of the ZClass - deleting and renaming don't work though. When you say

Re: [Zope-dev] zpatterns-0.4: creating an item in virtual mode

2000-07-05 Thread Phillip J. Eby
At 11:14 AM 7/5/00 +0400, Jephte CLAIN wrote: Hello, I use virtual attribute access to provide access to my SQL database. However, I want to use the Rack.newItem facility to create new records in the database. But it fails because in virtual mode, an item always exists. This patch solves the

[Zope-dev] ZEO and Mountable Fses?

2000-07-05 Thread Bill Anderson
Subject carries the question. Anyone tried this yet, or have any insights about it? I am considering giving a go this week, thought I'd see if there are any heads-up notices I should be aware of. :) Back-to-the-migrations-to-ZEO-ly y'rs Bill -- "Linux: the operating system with a CLUE...

Re: [Zope-dev] ZEO and Mountable Fses?

2000-07-05 Thread Anthony Baxter
It's on my list, but I'm not going to get to it for a week or so. Anthony, building a MountRegistry... Bill Anderson wrote Subject carries the question. Anyone tried this yet, or have any insights about it? I am considering giving a go this week, thought I'd see if there are any

Re: [Zope-dev] More comments on ZPatterns

2000-07-05 Thread Scott Parish
Thus spake Phillip J. Eby ([EMAIL PROTECTED]): and when I ask one of my TableInfo instances for their footnote it comes right out of MySQL! Cool. Now.. I can't seem to figure out how to *change* the data in the database when the user 'edits' the Here's some more top-secret documentation...

Re: [Zope] dtml-var null

2000-07-05 Thread Brenton Bills
On 5 Jul 2000, Clinton Roy wrote: dtml-var notes null="nbsp;" just doesn't seem to be working. Hi Clinton, null is only used in conjunction with fmt, so you would want to use, dtml-var notes fmt="%s" null="nbsp;" If this does not work mail me back. Thanks,

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-05 Thread Rajil Saraswat
On Tue, 4 Jul 2000, Rik Hoekstra wrote: i tried out this but this isnt working out for me. can you point out the error. my index_html file is dtml-var standard_html_header FORM method=post action=http://localhost:8080/3inet/print Enter name: INPUT type=text name=valnameBR INPUT

Re: [Zope] Re: Every user should have the Anonymous role everywhere(was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-05 Thread Stuart Bishop
On Sun, 2 Jul 2000, Dieter Maurer wrote: Chris Withers writes: Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... The Content Manager Guide (Security,

Re: [Zope] Re: Traversal of ZODB

2000-07-05 Thread Steve Alexander
Hi David, David Trudgett wrote: Some questions I have in my mind: 1. I used "raw" and you used "PrincipiaSearchSource()" . The reason I used raw was because I wanted to be sure that what I got wasn't munged in any way, and that what I put back reflects what was actually there before.

[Zope] Problems and ponderings

2000-07-05 Thread Gerhard Hoogterp
Hi, In my site I have folder with subfolders and I would like to generate a menu to go to those subfolders. What I have now is: dtml-in "objectValues()" dtml-var sequence-key /dtml-in which gives emptynes.. I've tried all kinds of combinations, tricks from the tips and howto's, but

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Andrew Kenneth Milton
+[ Anders Holmbech Nielsen ]- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ? I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to

Re: [Zope] Problems and ponderings

2000-07-05 Thread Rik Hoekstra
In my site I have folder with subfolders and I would like to generate a menu to go to those subfolders. What I have now is: dtml-in "objectValues()" dtml-var sequence-key /dtml-in which gives emptynes.. I've tried all kinds of combinations, tricks from the tips and howto's, but nothing.

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Anders Holmbech Nielsen
+[ Anders Holmbech Nielsen ]- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ? I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Andrew Kenneth Milton
+[ Anders Holmbech Nielsen ]- | +[ Anders Holmbech Nielsen ]- | | Hi, | | | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | | error. What could be the problem ? | | I can't

Re: [Zope] Re: Every user should have the Anonymous role everywhere(was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-05 Thread Chris Withers
Stuart Bishop wrote: or in BasicUserFolder. Either way it should go in the collector. Issue 1391, or in a slightly different phrasing, Issue 467 cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Problems and ponderings

2000-07-05 Thread Rik Hoekstra
Woops, pressed send too soon In my site I have folder with subfolders and I would like to generate a menu to go to those subfolders. What I have now is: dtml-in "objectValues()" dtml-var sequence-key /dtml-in which gives emptynes.. I've tried all kinds of combinations, tricks from the

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Bak @ kedai
On Wed, 05 Jul 2000, Anders Holmbech Nielsen wrote: Hi, when trying to import an object made in 2.1.6 into 2.2b3 i get this error. What could be the problem ? brian put out an updated file Lexicon.py which fix the error. file is attached. make a backup first. copy it to

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Anders Holmbech Nielsen
+[ Anders Holmbech Nielsen ]- | +[ Anders Holmbech Nielsen ]- | | Hi, | | | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | | error. What could be the problem ? | | I can't

[Zope] CorruptTransactionError (Bad news for production site!)

2000-07-05 Thread Richard Taylor
Today I had to role back two days of transactions from my production site because when I packed the database I was informed of a CorruptTransactionError. We are using Zope for an internal knowledge management application where anyone in the organization can add objects. So I have no way of

[Zope] oracle8 and cursors

2000-07-05 Thread Andy Pahne
hi, there, i've been using oracle8 with zope succesfully for a while. now my database programmer came up with a solution for a certain problem, which "we cannot solve with an easy select statement". he told me, that we are gonna have to use db-cursors instead. i must admit that i have heard

[Zope] How to undo the last transaction from a DTML Method ?

2000-07-05 Thread Frederic Quin
Hi all, I would like to know how to undo the last transaction from a DTML Method and I have no idea of how I can do that. Help ! Thanks Frederic ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Comparing two dates WITH time?

2000-07-05 Thread Nils Jeppe
Hello Gregor, Thanks for the reply. If I read this bug correctly, though, it means the time is off by one hour. I checked and all my date/time objects get stored as gmt+1 (which of course is indeed wrong), however, shouldn't the comparison of the two variables succeed anyway? Best wishes,

Re: [Zope] oracle8 and cursors

2000-07-05 Thread Francisco José Esteban Risueño
I can't imagine a problem that can be solved by cursors and not by a query. We have been used PL/SQL (the extension of SQL by Oracle) inside zsql methods like this: DECLARE C_AUX NUMBER; BEGIN INSERT INTO IT_GRUPO_INVESTIGACION ( C_GRUPO, D_GRUPO, S_GRUPO, F_INI_VIG, F_FIN_VIG,

Re: [Zope] Arrg! dtml-in can't handle lists of pairs!

2000-07-05 Thread Cary O'Brien
"Cary O'Brien" [EMAIL PROTECTED] writes: It seems as if dtml-in handles lists of pairs specially. It does, and it is documented. Where? I even looked through the code in DT_In.py and couldn't figure out where it handled this special case. This seems to me like a pretty big gotcha. I did

[Zope] Database Adaptors and security and query()

2000-07-05 Thread Cary O'Brien
Couple of things came up trying to use the current PostgreSQL da and zope 2.2b3. I am working on a ZClass that lets you define and create tables in a database, so I needed to execute some generated sql [1]. 1) I couldn't access the query() method of the connection unless I added our

[Zope] the dtml-calendar

2000-07-05 Thread Frank Cuzzocrea
I'm downloaded the dtml-calendar with the tar.qz. My unzip asks me what to change the qz to before it will unzip, and i dont know what to change it to. i tried .doc, .zexp, and left it blank. if u know what it is, tell me. Frank from Miami

Re: [Zope] the dtml-calendar

2000-07-05 Thread Chris Withers
I'm downloaded the dtml-calendar with the tar.qz. My unzip asks me what to change the qz to before it will unzip, and i dont know what to change it to. i tried .doc, .zexp, and left it blank. if u know what it is, tell me. Try .tar.gz That should make WinZip happy ;-) Chris

[Zope] How do I call a parameter from inside of the same form?

2000-07-05 Thread Sean G Richards
Hello, I am trying to build an SQL statement in a form, and then pass the statement onto a Z SQL method, for execution. something like form action="search_results" method="get" input type="text" name="select_statement" value="SELECT name, phone_number, address FROM black_book WHERE"

Re: [Zope] The story with 900 files/Zope hanging..

2000-07-05 Thread R. David Murray
On Mon, 3 Jul 2000, Jonathan Desp wrote: then a problem appear, I mean zope stop, I cannot browse inside zope and I can't browse inside www.atomasoft.com/etc.. No one here know a patch for that problem ? no one here is smart enough in zope(because I'm not) for solving that problem ? Here

[Zope] File referencing and LocalFS

2000-07-05 Thread Spicklemire, Jerry
Hi Rogerio 1)Folders names are directly related to string fields in a MySQL database which use spaces between words (eg New York), but folders names don't use spaces (eg NewYork). How can I skip spaces from database fields to make them refer to these folders (eg New York -- NewYork)? I

[Zope] DCOracle question again

2000-07-05 Thread David A Lipsky
About a week ago, I asked a question about dcoracle (Included below). I got one response suggesting that I not use a cursor. However, I need a cursor to return several (lots) of rows from the database in one stored procedure call. I can't do this by adding extra non-cursor parameters. If

Re: [Zope] problem with ZopeFind and objectValues

2000-07-05 Thread R. David Murray
On Tue, 4 Jul 2000, Jerome Alet wrote: In fact if I give this method a proxy role of Manager then it works fine if I access directly to this method from my browser. However if I call this method from inside another dtml method then it seems that the method loose its proxy role of manager.

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-05 Thread Nils Kassube
[EMAIL PROTECTED] (Rajil Saraswat) wrote: No isee the rendered page in the browser but i donot see the dtml-var valname value. it just gives a blank. is something wrong here. Weird. Are you absolutely, positively sure that you use the DTML source you published here? I mean are you sure that

Re: [Zope] CorruptTransactionError (Bad news for production site!)

2000-07-05 Thread Jim Fulton
Richard Taylor wrote: Today I had to role back two days of transactions from my production site because when I packed the database I was informed of a CorruptTransactionError. Did anything else happen previous to this? Did you run out of space or anything like that? You should have been

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-05 Thread Jim Fulton
Chris Withers wrote: Bill Anderson wrote: Why not put a space in there, after the comma? As in: (_.None, _, foo) I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah in which case, the '_'s shouldn't

[Zope] Reportlab and Zope

2000-07-05 Thread Jorge Magalhaes
Hi: I try to use Reportlab lib's with my zope. In my DTML method i call the python file (External Method) with: dtml-call "makereport" All run OK, but i don't find the *pdf file. Where is my pdf file? ##3 # makereport.py

[Zope] Zope and Security

2000-07-05 Thread Tom Scheidt
Im interested in setting up a Zope site for an accountant. I'd like to have his clients be able to review and submit information online, but Im concerned about security issues, such as entering social security #s etc. I have Zope running with Apache v1.3.x Does anyone know of any links covering

[Zope] International characters / search / objects / viewing ..

2000-07-05 Thread Jrgen Skogstad
Kindest! Have anyone seen problems with international characters in ZClasses / searches? The problem only arise after the object is inserted into the object database.. and when viewed after the search.. when it is inserted into the object database all seems ok and looks just fine on the screen.

[Zope] two stupid, non-technical questions.

2000-07-05 Thread Jon Franz
Please excuse these questions, they are not my average question fodder... A) Are there Zope t-shirts available, or downloadable artwork to make your own Zope t-shirts? - this question was actually posed by a co-worker who seems to get his entire wardrobe from copyleft and software companies

Re: [Zope] Zope and Security

2000-07-05 Thread R. David Murray
On Wed, 5 Jul 2000, Tom Scheidt wrote: information online, but Im concerned about security issues, such as entering social security #s etc. I have Zope running with Apache v1.3.x Zope has pretty strong internal security and delegation ability. If you couple that with SSL support either

[Zope] LocalFS Product - where is it?

2000-07-05 Thread Joe Hewitt
I was looking at the zope site to this mysterious Product that will let me use my current pages in a zope server, but it seems to have been taken away. Will it come back or reappear in an update? Thanks. -- Joe Hewitt email: [EMAIL PROTECTED] Linux Coordinator Washburn

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-05 Thread Dieter Maurer
Rajil Saraswat writes: i tried out this but this isnt working out for me. can you point out the error. my index_html file is dtml-var standard_html_header FORM method=post action=http://localhost:8080/3inet/print Enter name: INPUT type=text name=valnameBR INPUT type=submit

Re: [Zope] Arrg! dtml-in can't handle lists of pairs!

2000-07-05 Thread Dieter Maurer
Cary O'Brien writes: "Cary O'Brien" [EMAIL PROTECTED] writes: It seems as if dtml-in handles lists of pairs specially. It does, and it is documented. Where? I even looked through the code in DT_In.py and couldn't figure out where it handled this special case. This seems to

Re: [Zope] oracle8 and cursors

2000-07-05 Thread Dieter Maurer
Andy Pahne writes: i've been using oracle8 with zope succesfully for a while. now my database programmer came up with a solution for a certain problem, which "we cannot solve with an easy select statement". he told me, that we are gonna have to use db-cursors instead. my question is

Re: [Zope] [newbie] cgi-tasks howto? stupid question

2000-07-05 Thread Dieter Maurer
Rajil Saraswat writes: if i donot run the httpd but run only the Zserver then http://localhost will work? "http://localhost" would contact port "80". At least under Unix all ports up to 1024 are priviledged. Only servers running as root can bind to them. For security reasons, you probably

Re: [Zope] problem with ZopeFind and objectValues

2000-07-05 Thread Dieter Maurer
Jerome Alet writes: dtml-in "ZopeFind(this(), obj_metatypes=['Folder'])" dtml-var id - dtml-var title /dtml-in gives me the following error: """Unauthorized You are not authorized to access id.""" If I set a proxy role of manager to this dtml-method that

[Zope] How do I merge form URL vars into sql easily

2000-07-05 Thread asjf11
I am a new user to Zope and I'm trying to pass data that has been entered into a form (either through GET or POST) into another object. This object calls a z sql method to insert the form data into the database. So far, the only way I've found to pass data to the sql is to define arguments

[Zope] find items to zcatalog

2000-07-05 Thread Richard Bartels
Hello, Is there an expression which can be used to exclude index_html from the find items to zcatalog step in populating a catalog? Thank you, Rick --== Sent via Deja.com http://www.deja.com/ ==-- Before you buy. ___ Zope maillist - [EMAIL

RE: [Zope] File referencing and LocalFS

2000-07-05 Thread Spicklemire, Jerry
Hi Marco, From: Marco Mariani [mailto:[EMAIL PROTECTED]] Subject: Re: [Zope] File referencing and LocalFS foldername = string.join(colname, '') using a "blank" ('') between each string, in other words, with no delimiter. Maybe you meant foldername =

Re: [Zope] WorldPilot and UW-IMAP?

2000-07-05 Thread Olivier Deckmyn
Look at the list archives (keyword WorldPilot) there is a patch to apply to a .py file of the product... It worked for me with courier-imap ... but I still have a bug with folders (not recognised :( ) Good luck... - Message d'origine - De : Charlie Wilkinson [EMAIL PROTECTED] À :

Re: [Zope] How do I merge form URL vars into sql easily

2000-07-05 Thread jpenny
On Wed, Jul 05, 2000 at 01:31:56PM -0800, [EMAIL PROTECTED] wrote: I am a new user to Zope and I'm trying to pass data that has been entered into a form (either through GET or POST) into another object. This object calls a z sql method to insert the form data into the database. So far,

[Zope] RE: Reportlab and Zope

2000-07-05 Thread Jorge Magalhaes
In my last post i search for help concerning to the use of the libs Reportlab in to Zope environment. I make some research in Reportlab mailing list and Osmin Lazo (Canada) suggests my to use the following buffer class # Buffer Class class

Re: [Zope] How to present a download button...

2000-07-05 Thread Andreas Elvers
[...] I am having trouble with a non standard download method. I want to provide a download link to a file, but not the standard one, because I would get the id as the filename. The id is a random value and thus not suitable for the customer. The real filename is saved in the title

Re: [Zope] LocalFS Product - where is it?

2000-07-05 Thread joel grimes
I was looking at the zope site to this mysterious Product that will let me use my current pages in a zope server, but it seems to have been taken away. Will it come back or reappear in an update? Is this what you're looking for? http://www.zope.org/Members/jfarr/Products/LocalFS/ Joel

Re: [Zope] Lists and external methods

2000-07-05 Thread Tino Wildenhain
Hi, Oleg Broytmann wrote: On Tue, 4 Jul 2000, Pieter Claerhout wrote: I want the external method to return this in a list, where I can iterate over using the dtml-in tag, so that I can reference the different fields in each record with a name. What should the list look like so that

[Zope] getting queries of a database into variables?

2000-07-05 Thread Rajil Saraswat
hi , I am try to setup a cookie based authorization system(learnt from my perl dyas). i dont know much of sql, so after reading thru ZSql guide, i could build up a list of my users login and passwords. If i query the database and test it the result get printed on screen. How do i put up queried

[Zope] How do I specify a list element?

2000-07-05 Thread asjf11
I have a list (I think) created this way: (date = '31-DEC-1999') dtml-call "REQUEST.set('MyList', _.string.split(date, '-'))" so now REQUEST['MyList'] should contain 3 elements: 31 DEC 1999 How, in dtml, do I say "give me the value of the 1st element of MyList" or the second or third. I've

[Zope] Persisting a dictionary as a object property

2000-07-05 Thread Andy McKay
Hi all, Ok so I have an object, I have many properties persisting on the object using the wonderful PropertyManager. But I want to persist a dictionary. This isn't an option for the PropertyManager. I added a dictionary into the object just by adding the line: _map = {} But it only persists

RE: [Zope] How do I merge form URL vars into sql easily

2000-07-05 Thread Ron Bickers
Unless I'm overlooking something here, you can just use the form variables (e.g., dtml-var formVarName), whether POST or GET, in the ZSQL Method itself. You'll need to include the variable names in the arguments list of the ZSQL Method, but that's it. ZSQL Methods are explained (fairly well in

Re: [Zope] Persisting a dictionary as a object property

2000-07-05 Thread Martijn Pieters
On Wed, Jul 05, 2000 at 04:52:44PM -0700, Andy McKay wrote: Ok so I have an object, I have many properties persisting on the object using the wonderful PropertyManager. But I want to persist a dictionary. This isn't an option for the PropertyManager. I added a dictionary into the object just

[Zope] Looking for Zope webmaster or web developer job

2000-07-05 Thread Loren Stafford
I'm looking for a new job where I can continue to use Zope for website management and applications development. Contract or full-time. Silicon Valley California or telecommute. If you know of any openings, please let me know. -- Thanks -- Loren Stafford [EMAIL PROTECTED]

Re: [Zope] File referencing and LocalFS

2000-07-05 Thread Jonothan Farr
1)Folders names are directly related to string fields in a MySQL database which use spaces between words (eg New York), but folders names don't use spaces (eg NewYork). How can I skip spaces from database fields to make them refer to these folders (eg New York -- NewYork)?

Re: [Zope] Web site newbie

2000-07-05 Thread Loren Stafford
From: "Montagne, Michael" [EMAIL PROTECTED] I'm very excited about learning Python and Zope. I'm a win98 user and just today upgraded my service with my ISP to host my web page from home. Congratulations on becoming an internet host provider. I hope you have a firewall in front of your PC

Re: [Zope] How do I specify a list element?

2000-07-05 Thread Tino Wildenhain
[EMAIL PROTECTED] wrote: I have a list (I think) created this way: (date = '31-DEC-1999') dtml-call "REQUEST.set('MyList', _.string.split(date, '-'))" so now REQUEST['MyList'] should contain 3 elements: 31 DEC 1999 How, in dtml, do I say "give me the value of the 1st element of