Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-04 Thread Andreas Jung
--On 5. Dezember 2005 16:57:03 +1300 Cameron Beattie <[EMAIL PROTECTED]> wr> I've read a bit about btrees on the zope wiki and wonder if that's the best way. However I am struggling with the basics: 1. How do I get the data from MySQL into a btree in Zope? Something like: from BTrees.IIBTree i

Re: [Zope] Re: Zope Calendar

2005-12-04 Thread Bakhtiar A Hamid
I wanted something which looks like Plone Calendar> - http://www.zope.org/Members/teyc/CalendarTag this has a howto (or is it in the readme), and with the necessary css, can look pretty much like plone's hth ___ Zope maillist - Zope@zope.org http://ma

[Zope] Finding a match in a large dataset - btrees?

2005-12-04 Thread Cameron Beattie
I have a large set of data (that will be stored in MySQL) that I wish to match to and am wondering what the best method is. Assume the following data in table LOCATION_MATCH: LOCATION_IDLOCATION_PATTERNPARENT_ID 106 114

Re: [Zope] add multiple images to zope folder

2005-12-04 Thread Chris Purves
On 04/12/05, Jonathan Cyr <[EMAIL PROTECTED]> wrote: > Use FTP, > > Open Internet Explorer, type ftp://zopeusername:[EMAIL > PROTECTED]:8021/directory/ > > and drag and drop from explorer to ie, zope assigns them as images > automatically. > > Any FTP client will do, Filezilla is nice/

Re: [Zope] add multiple images to zope folder

2005-12-04 Thread Chris Purves
On 04/12/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > There's a script with zope called load_site.py that can do this. > I got load_site.py to work after a few tries. Thanks for the help. -- Take care, eh. Chris ___ Zope maillist - Zope@zope.or

Re: [Zope] checking for elements in a list

2005-12-04 Thread Peter Bengtsson
I suggest you try a little scripting language called Python. You can use in inside Zope by creating Python Scripts (formal name: Script (Python)) Try to stay away from DTML as much as possible. It's only about as good as PHP alone. On 12/4/05, Christopher Rivard <[EMAIL PROTECTED]> wrote: > Thanks

Re: [Zope] Re: zdsock

2005-12-04 Thread John Poltorak
On Sun, Dec 04, 2005 at 09:15:34AM -0500, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Poltorak wrote: > > On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: > > > >>WHY? > > > > > > Because 'zdsock' is not an acceptable name. > > > > I am running on

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-04 Thread Dieter Maurer
Roman Suzi wrote at 2005-12-3 21:56 +0200: >I am looking for a way in Zope to receive HTTP-requests with, eg, >DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and >issue "Not authorised". "DELETE" and "PUT" are WebDAV methods (and defined in "webdav.Resource.Resouce").

Re: [Zope] checking for elements in a list

2005-12-04 Thread Christopher Rivard
Thanks Peter, The conditional within the dtml did the trick. This is a continuation of this issue (a bit cumbersome): http://groups.yahoo.com/group/zope/message/150345 The solution that I have come to is to simply set a cookie and serve up the correct fields based on the cookie: i

[Zope] Re: zdsock

2005-12-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Poltorak wrote: > On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: > >>WHY? > > > Because 'zdsock' is not an acceptable name. > > I am running on OS/2 and the path name must start with '\\socket\\'. Johh, you are likely going to

Re: [Zope] checking for elements in a list

2005-12-04 Thread Peter Bengtsson
On 12/4/05, J Cameron Cooper <[EMAIL PROTECTED]> wrote: > Christopher Rivard wrote: > > Hello, > > > > I'm am trying to check for the membership of items in a list and think > > I'm missing something. > > How is this done in dtml? > > > > List allids: [15,16,17,18] > > > > Check for multiple items

WAS [Zope] Beginners Confusion - NOW I Think I have Pegged It

2005-12-04 Thread Russell Winter
Folks   Firstly, thanks to all those who replied...  I am pleased to say that I have an Test installation working .. Whoohoo..!   If anyone see's any gapping security, configuration holes or poor practices, please drop me a line, otherwise, I have document the how's and what's of what I fina

Re: [Zope] zdsock

2005-12-04 Thread Andreas Jung
--On 4. Dezember 2005 10:47:43 + John Poltorak <[EMAIL PROTECTED]> wrote: On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: WHY? Because 'zdsock' is not an acceptable name. I pass. OS/2 is ancient and also no longer supported by IBM. -aj pgpLAZaOsAd7N.pgp Description:

Re: [Zope] zdsock

2005-12-04 Thread John Poltorak
On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: > WHY? Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. > --On 4. Dezember 2005 10:26:03 + John Poltorak <[EMAIL PROTECTED]> wrote: > > > On Sun, Dec 04, 2005 at 11

Re: [Zope] zdsock

2005-12-04 Thread John Poltorak
On Sun, Dec 04, 2005 at 11:13:29AM +0100, Andreas Jung wrote: > > > > > > At the top of sample.conf it says > > > ># Sample config file for zdctl.py and zdrun.py (which share a schema). > > > > This sounds like something other than zope.conf. > > > > Is there a real need for you to touch the con

Re: [Zope] zdsock

2005-12-04 Thread Andreas Jung
At the top of sample.conf it says # Sample config file for zdctl.py and zdrun.py (which share a schema). This sounds like something other than zope.conf. Is there a real need for you to touch the configuration. Also as very advanced Zope user I've never had the need to touch this configu

Re: [Zope] zdsock

2005-12-04 Thread John Poltorak
On Sun, Dec 04, 2005 at 09:51:22AM +0100, Andreas Jung wrote: > > > --On 4. Dezember 2005 08:36:06 + John Poltorak <[EMAIL PROTECTED]> wrote: > > > > > How do I override the default name of zdsock for the socket used by Zope? > > > > I see socket-name defined in Zope/lib/python/zdaemon/sampl

Re: [Zope] zdsock

2005-12-04 Thread Andreas Jung
--On 4. Dezember 2005 08:36:06 + John Poltorak <[EMAIL PROTECTED]> wrote: How do I override the default name of zdsock for the socket used by Zope? I see socket-name defined in Zope/lib/python/zdaemon/sample.conf but have no idea what this sample.conf is used for. Likely by including

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-04 Thread Roman Susi
Tino Wildenhain wrote: >Am Samstag, den 03.12.2005, 21:56 +0200 schrieb Roman Suzi: > > >>Hi! >> >> >> >... > > >>DELETE /path/to/object/X/Y HTTP/1.1 >>Host: myhost.myorg.org >>Content-Type: application/myprotocol+xml >> >>Of course, I have a product Z which has this class: >> >>class Z: >

[Zope] zdsock

2005-12-04 Thread John Poltorak
How do I override the default name of zdsock for the socket used by Zope? I see socket-name defined in Zope/lib/python/zdaemon/sample.conf but have no idea what this sample.conf is used for. -- John ___ Zope maillist - Zope@zope.org http://mail.