Re: [Zope-dev] dtml-in batching

2001-01-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well that's odd - I searched the collector for "dtml-in" and got no matches. that's because of the - in dtml-in being treated as a stop character by ZCatalog. Ironically, ZCatalog is not very good at indexing stuff that contains documentation about Zope, stripping

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Espen S. Frederiksen
The problem occur when I try to split up the function as shown below. I would like to store the data list, update it if nessesary and return it when appropriate. Am I making it unessesary complex when I use the class? Is there maybe a way to declare the data list global within the module? Or

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
"Espen S. Frederiksen" wrote: The problem occur when I try to split up the function as shown below. I would like to store the data list, update it if nessesary and return it when appropriate. Am I making it unessesary complex when I use the class? Is there maybe a way to declare the data

[Zope-dev] Re: DTML block parsing - better then C/C++

2001-01-24 Thread Jon Franz
This allowance for nested comments, as long as they are properly nested, is more then many laguages, such as C/C++, give you in the way of allowing nested comments - So I think its more then acceptable in its current form - good job! OK, I have developed a new patch that almost completely fixes

[Zope-dev] ZSQL method - Can it 'resolve' a property value?

2001-01-24 Thread Schmidt, Allen J.
I have an index_html which runs queries that count the number of items in a category and displays the number next to each category which is a link to the SearchResults page that will pass the name of the property to the next query. This is how I do the count part: (dtml-in

[Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette
My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either 1) running Zope behind IIS, or 2) running Zserver exclusively. Personally, I'd

RE: [Zope-dev] Old to new registerClass

2001-01-24 Thread Brian Lloyd
Im hacking around IEMethod and it uses an old style of class initialisation in the __init__.py along the lines of: misc_ = { 'imagef':'foo','imageg':'goo', } lang_= { 'en':'lang_en','sv':'lang_sv', } I want to put this into a modern style product initialisation

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
On Wed, 24 Jan 2001, Espen Sorbye Frederiksen wrote: I did what you suggested, but I am still a bit stuck. Maybe I call them wrong in my code. I use the call below but get an error. dtml-call expr="createdata('test1','test2','test3')" dtml-var expr="returndata()" Error Type: AttributeError

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Toby Dickenson
On Wed, 24 Jan 2001 10:07:29 -0600, "Aaron Gillette" [EMAIL PROTECTED] wrote: My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette
Sorry, but I don't think I phrased my original question very well. I'll give it another try. What I'm trying to do is have Zope somehow map an IP address to a specific subfolder within the ZODB. For example, I've got one subfolder that should serve DOMAIN1.COM which is located at the IP address

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Johan Carlsson
Brian Lloyd etc. I don't know what 'lang_' does, so I'm not sure what to advise you there... Hi Andy, As far as I can see the land_ directory doesn't seam to do anything. You could try to just remove it. (It wasn't me that put it there.) As for the most part of the Images defined

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
Lang is used in this line: document.write("SCR"+"IPT src=\"misc_/IEMethod/lang_"+lang+"\" type=\"text/javascript\"/SCR"+"IPT"); Kind of a bizarre line, but it looks like its setting the script source. Thanks, just doing a quick ZWiki-IEMethod merge so that you can edit a ZWiki standard style or

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
I nuked it and everything is just fine, its defined in misc. Anyway works fine, will post a "package" shortly after some testing. -- Andy McKay. - Original Message - From: "Johan Carlsson" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 9:39 AM

[Zope-dev] Re: Find broken in 2.2.2?

2001-01-24 Thread Ty Sarna
In article [EMAIL PROTECTED], Ty Sarna [EMAIL PROTECTED] wrote: Is there something wrong with the Find mechanism in 2.2.2? "containing" searches never find anything. I've looked at the changelogs for I've narrowed this down further... the issue seems to be that items inside zclass definitions

Re: [Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released - Plea for bug #1884

2001-01-24 Thread John D. Heintz
Zope-maintainers, Please evaluate the patch in bug #1884. There is an ExtensionClass.c bug in CMethod_call that prevents calling unbound super-class methods when the __call_method__ hook exists. http://classic.zope.org:8080/Collector/1884/view thanks, John Brian Lloyd wrote: Hi all,

[Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-24 Thread Brian Lloyd
Hi all, Zope 2.3.0 beta 3 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0b3/ This beta contains fixes for various issues reported to date in the beta cycle, and some older Collector bugs. Barring any major unforseen problems, this

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Michael Bernstein
Aaron Gillette wrote: My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either 1) running Zope behind IIS, or 2) running

Re: [Zope-dev] Local roles and security of ZClass instances inSpecialists

2001-01-24 Thread Itai Tavor
Hi Steve, This is a nice idea... but I can't get it to work. it works fine when changing properties: WHEN OBJECT CHANGED CALL self.checkForPermission(REQUEST) But is ignored for accessing properties: WITH self.checkForPermission(REQUEST) COMPUTE spam='eggs' simply fails to set spam if

[Zope-dev] Possible TransparentFolders bug?

2001-01-24 Thread Itai Tavor
Hi, The TransparentFolders Product seems to make everything transparent... not just transparent folders. Zope/ Folder_A/ method_A Folder_B/ (transparent folder) method_B I'd expect the only effect of the transparent folder to be that /Folder_A/method_B