[Zope-dev] Hard set port number in 2.3?

2001-02-07 Thread Tim Ansell
In Zope 2.2.4 i had the following setup zope box running zope with port 8080 Fire wall with port redirector from local port 80 to zope box port 8080 Everything worked fine, directly accessing the zope box on port 8080 or accessing the firewall on 80. But now with zope 2.3.0 it keeps writing

Re: [Zope-dev] ZPatterns for Zope 2.3 convenience release

2001-02-07 Thread Steve Alexander
Itai Tavor wrote: Steve Alexander wrote: Itai Tavor wrote: Steve, This release breaks access to the management screens of ZClasses stored on Racks. In Zpatterns-0.4.2a3, Specialist/item_id/manage returns the ZClass management screen. In your release it returns the Specialist

Re: [Zope-dev] Hard set port number in 2.3?

2001-02-07 Thread Chris Withers
Tim Ansell wrote: But now with zope 2.3.0 it keeps writing urls going to the firewall box on port 8080 instead of port 80 like it previously did. Anyone know how to fix this problem? Where i should look? Try commenting out lines 307-311 on /lib/python/ZPublisher/HTTPRequest.py That

[Zope-dev] Python products

2001-02-07 Thread Tom Deprez
Hi, I'm wondering, is there somewhere a simple example on how to create a python product which behaves like the following ZClasses : A simple zclass which contains some data (this is easy with the existing examples) A folder-like zclass which only allows to contain the simple zclass. (easy?) A

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-02-07 Thread Chris Withers
security. That wiki and lessons learned from it were used by us to create the Interface package that now comes with Zope. Is there anywhere I can find docs on that package? The next phase of the project is to actually document the interfaces of Zope in Zope itself using the new interface

[Zope-dev] own products over FTP

2001-02-07 Thread Petr Knapek
Hi Zopists, I have created some python products for Zope and now I would like to have the possibility to create their instances in ZODB over FTP. Please give me a tip for documentation on this one. Help is also welcomed. Zope: 2.1.6 OS: Linux Debian Thank you, Petr -- Petr Knpek NEXTRA

Re: [Zope-dev] Python products

2001-02-07 Thread Jens Quade
Chris Withers [EMAIL PROTECTED] writes: You may have to do somethign funky if you want to limit the types of object that subclasses of ZClass: ObjectManager have a "Subobjects" tab to limit the allowed meta types of the subobjects. Not all Folder features, but often less is more :) jens

[Zope-dev] Zope newbie question

2001-02-07 Thread Bryan Baszczewski
Within my dtml, I am retrieving a text field from a database and passing this field to a javascript function. However, the text field can be any length of characters and dtml keeps cutting the text off at no pre-set limit making it impossible to pass this field to javascript. The javascript is

[Zope-dev] Profiling Products

2001-02-07 Thread Andy Dawkins
People I have a desire to be able to profile my Python Product so that I can benefit from the advantages of profiling. Has anybody done this? Does anybody know how to do this? I have tried profiling Z2.py but of course that doesn't drop down to the level of the python product (Possibly running

[Zope-dev] LoginManager error

2001-02-07 Thread Bertrand CROQ
Hi, I am using Zope 2.3.0 with ZPatterns 0.4.3b2 and LoginManager 0.8.8b1. When I try to use LoginManager (following the tutorial about LoginManager and SQL), here is the error I get in the browser: Type: TypeError Value: not enough arguments; expected 3, got 2 Traceback (innermost last):

Re: [Zope-dev] LoginManager error

2001-02-07 Thread Jochen Knuth
Hi, Bertrand CROQ schrieb: Hi, I am using Zope 2.3.0 with ZPatterns 0.4.3b2 and LoginManager 0.8.8b1. When I try to use LoginManager (following the tutorial about LoginManager and SQL), here is the error I get in the browser: ... The error seams to be in LoginMethods.py:149 as it

[Zope-dev] manage_options in 2.3

2001-02-07 Thread Andy McKay
Thanks for the new management interface guys I happily wrote a product last night and did a quick interface using the standard Folder interface and fiddled with filtered_meta_types list and dontAllowCutandPaste and so on. A quick How-To will be on its way. I got a wierd error trying to fiddle

Re: [Zope-dev] Profiling Products

2001-02-07 Thread Martijn Pieters
On Wed, Feb 07, 2001 at 04:04:24PM +, Andy Dawkins wrote: I have a desire to be able to profile my Python Product so that I can benefit from the advantages of profiling. Has anybody done this? Does anybody know how to do this? I have tried profiling Z2.py but of course that doesn't

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-02-07 Thread Michel Pelletier
On Tue, 6 Feb 2001 23:01:32 - "Chris Withers" [EMAIL PROTECTED] wrote: security. That wiki and lessons learned from it were used by us to create the Interface package that now comes with Zope. Is there anywhere I can find docs on that package? Yes, in the fishbowl:

Re: [Zope-dev] Python products

2001-02-07 Thread Andy McKay
Take a look at FSPoll which has sort of structure... You may have to do somethign funky if you want to limit the types of object that appear in the 'Add' list of your new classes. I have no idea how to do that :-S I did that in FSPoll just last night. Basically overrode filtered_meta_types,

Re: [Zope-dev] Python products

2001-02-07 Thread Andy McKay
Yep that too, this is the more secure since this limiting at the ZClass source as opposed to my method of limiting in the mgmt interface. Ok so next question, how do I limit what appears in the root, for example FSPoll has three classes FSPoll, question and answer, but the latter cannot be added

Re: [Zope-dev] Umlaut in ZCatalog as break character

2001-02-07 Thread Dieter Maurer
Arno Gross writes: I'm trying to index german news items with ZCatalog. But ZCatalog seems to take german Umlaute as separator characters. Start Zope with the "-L" option. This will make Zope (and the splitter/lexicon/ZCatalog) Locale-aware. It will know your letters. Dieter

Re: [Zope-dev] Python products

2001-02-07 Thread richard
Andy McKay wrote: Take a look at FSPoll which has sort of structure... You may have to do somethign funky if you want to limit the types of object that appear in the 'Add' list of your new classes. I have no idea how to do that :-S I did that in FSPoll just last night. Basically

Re: [Zope-dev] Python products

2001-02-07 Thread richard
Chris Withers wrote: Tom Deprez wrote: A folder-like zclass which only allows to contain the simple zclass. (easy?) Subclass OFS.Folder or OFS.ObjectManager if you don't want properties and the other extras that Folder has. A folder-like zclass which allows to contain the 2 above

[Zope-dev] ValueChecker 0.0.1

2001-02-07 Thread Morten W. Petersen
Hi zopistas, I've managed to build a product called ValueChecker which when installed hooks into the prosessing of form input. It's basic at this point, a mere proof-of-concept, but I can think of so many uses! Cheers. :-) -Morten ___ Zope-Dev

Re: [Zope-dev] ZPatterns for Zope 2.3 convenience release

2001-02-07 Thread Itai Tavor
Steve Alexander wrote: Itai Tavor wrote: Steve Alexander wrote: Itai Tavor wrote: Steve, This release breaks access to the management screens of ZClasses stored on Racks. In Zpatterns-0.4.2a3, Specialist/item_id/manage returns the ZClass management screen. In your release it returns the