Re: [Zope-dev] zope and UNIX permissions

2000-07-13 Thread Bill Anderson
Chris McDonough wrote: Hmmm... thanks for trying it. This doesn't seem much of a risk, does it? Not that I can see off-hand. It is only a socket, a means for communicating with Zope. The 'risk' would only lie in Zope's Security mechanisms. ;-) The only possible risk would

Re: [Zope-dev] Beginning Zope User

2000-07-13 Thread Steve Alexander
Hi John, John Gunnar Carlsson wrote: Help! I downloaded a product and uploaded it to my directory, but I don't know how to unzip it. I'm using NT. Whenever I load WinZip it will only let me unzip it to local places on the hard disk but nowhere on the Zope directory itself.

Re: [Zope-dev] ZPatterns: missing docstring in getItem()

2000-07-13 Thread Steve Alexander
"Phillip J. Eby" wrote: Changes checked in. I should be releasing an alpha5 tomorrow. That's great. Did you get my message about errors in triggered methods? I realised that I only sent it to the zope-dev list, and not cc-ed to you. I had hoped to finish my work on proxy roles, ZClass

[Zope-dev] zpatterns: how to specify default values?

2000-07-13 Thread Jephte CLAIN
hello, a common practice is to put default values for attributes for a classe as class variables. if the instance hasn't got the value, it gets the value from the class. but I can't do this with dataskins, because direct dataskins attributes take precedence on attributes providers. the way I

Re: [Zope-dev] External Method Missery

2000-07-13 Thread Chris Withers
Shane Hathaway wrote: Here's the logic: ExternalMethod sets up func_* attributes so it can masquerade as a function. The trick works well enough to convince ZPublisher's mapply() to pass in a "self" argument as the first argument when needed. What 'self' does mapply pass? I always though it

Re: [Zope-dev] External Method Missery

2000-07-13 Thread Steve Alexander
Chris Withers wrote: Shane Hathaway wrote: Here's the logic: ExternalMethod sets up func_* attributes so it can masquerade as a function. The trick works well enough to convince ZPublisher's mapply() to pass in a "self" argument as the first argument when needed. What 'self' does

Re: [Zope-dev] External Method Missery

2000-07-13 Thread Chris Withers
Chris Withers wrote: ...which doesn't give quite what I want objects[-1] should be the object getting rendered, however, for folders getting rendered where index_html is a DTML document, it is the index_html document. Well, I think I solved it for now, but this is horrible! ;( def

[Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Steve Alexander
I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to create a "BTree folder w/ Customizer support". This has obvious advantages over the current "Folder w/ Customizer support" when you have a large number of DataSkin subobjects, both in terms of performance, and in terms of

Re: [Zope-dev] External Method Missery

2000-07-13 Thread Chris Withers
Steve Alexander wrote: Ah... but are you calling the external method from a DTML method? These are all methods, and therefore you'd expect the "self" object to be the object the methods are subobjects of. The exact turn of events is that index_html is a DTML method which shows a DTML

Re: [Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Steve Alexander
Steve Alexander wrote: I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to create a "BTree folder w/ Customizer support". snip! Instead, why not make PlugInContainer a mix-in class, and have concrete classes for PlugInFolder and PlugInBTreeFolder ? Then, it is

[Zope-dev] Uploading a ImageFile

2000-07-13 Thread Andre Schubert
Hi, i have a question on uploading an image from my Product. I have a Product in http://server:8080/somewhere/Product. In my Product i call: self._setObject(id, File(id,title,'',content_type, precondition)) self._getOb(id).manage_upload(file) Now the image is on

Re: [Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Phillip J. Eby
At 02:30 PM 7/13/00 +0100, Steve Alexander wrote: Steve Alexander wrote: I want to combine Shane Hathaway's BTreeFolder product with ZPatterns to create a "BTree folder w/ Customizer support". snip! Instead, why not make PlugInContainer a mix-in class, and have concrete classes for

Re: [Zope-dev] Uploading a ImageFile

2000-07-13 Thread Steve Alexander
Andre Schubert wrote: Hi, i have a question on uploading an image from my Product. I have a Product in http://server:8080/somewhere/Product. In my Product i call: self._setObject(id, File(id,title,'',content_type, precondition))

Re: [Zope-dev] ZPatterns: missing docstring in getItem()

2000-07-13 Thread Phillip J. Eby
At 08:50 AM 7/13/00 +0100, Steve Alexander wrote: "Phillip J. Eby" wrote: Changes checked in. I should be releasing an alpha5 tomorrow. That's great. Did you get my message about errors in triggered methods? Yes, I did, but the solution requires some more thought. I had thought I had the

Re: [Zope-dev] ZPatterns: BTree folder w/ customizer support

2000-07-13 Thread Shane Hathaway
Steve Alexander wrote: Or... I could alter Shane's BTree Folder product to split it into a mix-in class and a usable folder class. Would that work, I wonder? I just tried it and discovered some subtle problems with __getattr__. It could be the result of TransparentFolders, which is also

Re: [Zope-dev] ZPatterns: missing docstring in getItem()

2000-07-13 Thread Steve Alexander
"Phillip J. Eby" wrote: That's great. Did you get my message about errors in triggered methods? Yes, I did, but the solution requires some more thought. I had thought I had the "Transactional" machinery set up so that stuff was only called during transaction phases where it was safe to

[Zope-dev] zpatterns-0.4: defaults attributes, more...

2000-07-13 Thread Ava
hello, thanks to philipp for its explanation for 'class_default_for_X'. I'm not at the office now, and I can't do a reply on the message from the archives ;-) I have a rack that must retrieve informations from 2 sql tables. I set up 3 generic attribute providers: - one that get data from the

[Zope-dev] zpatterns-0.4: default attributes, more

2000-07-13 Thread Ava
hello, ignore my precedent post. too much caffeine, not enough sleep my problem is solved if I use the class_default_for_X trick... regards, [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] zpatterns-0.4: defaults attributes, more...

2000-07-13 Thread Phillip J. Eby
At 07:11 PM 7/13/00 +0400, Ava wrote: first generic attribute provider: fromexpr = '(self.id[0] and sql_get_first(key=id[0]) or [NOT_FOUND])[0]' attrsexprs = ['first_data=RESULT.data'] second generic attribute provider: fromexpr = 'self.id[1] and sql_get_first(key=id[1]) or

[Zope-dev] ZPatterns alpha 5 released

2000-07-13 Thread Phillip J. Eby
Here's the details from the CHANGES file: New Features/Bug Fixes in 0.4.0alpha5 - Property Sheets for DataSkin-based ZClasses. Now you can put define property sheets on a ZClass and still use AttributeProviders for the properties. Just add a "DataSkin Property Sheet" to your ZClass

Re: [Zope-dev] zpatterns-0.4: defaults attributes, more...

2000-07-13 Thread Jephte CLAIN
"Phillip J. Eby" a écrit : Try: data=(self.which_one and [self.second_data] or [self.first_data])[0] wow. what a *clever* idea to use [] around self.???_data. I used to write: data=self.which_one and self.second_data or self.first_data but this failed because sometimes self.second_data is a

Re: [Zope-dev] zpatterns: how to specify default values?

2000-07-13 Thread Jephte CLAIN
"Phillip J. Eby" a écrit : Yes. Name the attributes "class_default_for_X" where X is the attribute name. Thanks very much. This works with the currently release ZPatterns, but alpha5 will go one better and let you create ZClass property sheets that transparently implement this. That is,

[Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Bill Anderson
Pardon the lawnmower man reference, but ZEO and MountedStorage do _not_ work together. I just tried, so this is just an initial report. What happens, is htat the local ZEO Client wil try to mount the additional .fs-es on the local system, which will fail. FYI, Bill -- Bill Anderson (ARC)

Re: [Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Bill Anderson
Bill Anderson wrote: Pardon the lawnmower man reference, but ZEO and MountedStorage do _not_ work together. I just tried, so this is just an initial report. What happens, is htat the local ZEO Client wil try to mount the additional .fs-es on the local system, which will fail. OK, I

Re: [Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Shane Hathaway
Bill Anderson wrote: I have been thinking, and I think I have got a good idea. So I figured I woudl toss it out for commentary. What we need now is a Mountable ZSS Product. This would be kind of a MountedStorage meets ZEO breed, where you would specify the ZSS host/port combo, and it could

Re: [Zope-dev] ZEO and MountedStorage: Access DENIED!

2000-07-13 Thread Bill Anderson
Shane Hathaway wrote: Bill Anderson wrote: I have been thinking, and I think I have got a good idea. So I figured I woudl toss it out for commentary. What we need now is a Mountable ZSS Product. This would be kind of a MountedStorage meets ZEO breed, where you would specify the ZSS

[Zope-dev] is there a way to pass namespace in to the page which is within a page?

2000-07-13 Thread danchik
is there a way to pass namespace in to the page which is within a page? for example : how can I make this work??? 3 files the top one is the one that is suppose to be displayed currently the main dtml file has the following line dtml-var

[Zope-dev] Zope 2.2.0b4: Congrats on a job well done + Tips for upgrading

2000-07-13 Thread T.J. Mannos
Hi, there, I'd just like to announce that I've installed Zope 2.2.0b4 via CVS and done a complete run-through of my site. It seems to work flawlessly now, and I've gone ahead and installed it on my main port for a trial period. I hope to launch the site using the final version of 2.2.0 (so

[Zope] 2.1.6 and ZSQL methods

2000-07-13 Thread The Sanfords
Like an idiot I blythly ignored all the emails flying back and forth concerning the problems with 2.1.6 and ZSQL methods because I was not using 2.1.6 and didn't plan on upgrading my 2.1.4 until the 2.2 was stable. Hah!!! Was the issue ever resolved? I really need for my 2.1.4 ZSQL methods to

Re: [Zope] hard dtml syntax problem

2000-07-13 Thread Jerome Alet
On Wed, 12 Jul 2000, ethan mindlace fremen wrote: Jerome Alet wrote: Hi want to call ZopeFind to find all folders in the current folder which doesn't have got any subfolder. the following query works but returns all folders, even those which have got subfolders: dtml-let

RE: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread Peter Marriott
You could always do something like this first: "select Count(usr_email) from info(table name) where usr_email = dtml-sqlvar usr_email type=string" Then check the result will be either 1 or 0. Cheers Peter -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

Re: [Zope] hard dtml syntax problem

2000-07-13 Thread Bill Anderson
Jerome Alet wrote: On Wed, 12 Jul 2000, ethan mindlace fremen wrote: Jerome Alet wrote: Hi want to call ZopeFind to find all folders in the current folder which doesn't have got any subfolder. the following query works but returns all folders, even those which have got

[Zope] Antwort: RE: [Zope] LoadSite can create a corrupted data.fs ?

2000-07-13 Thread Tino_Wildenhain
Hi Jonathan, Jonathan Desp, 12.07.2000 23:27:03 Hi, How I can make a regular backup ? How I can restore it ? I cannot log in. it's 100% corrupted. Uhm. As far as I practice, I make backups of the filesystem on a regular basis. If you replace the Data.fs with an older version without the

Re: [Zope] I want to assign the values of parameters in a form to another parameter in the same form?

2000-07-13 Thread Aaron Williamson
Sean G Richards wrote: Dear Zope list, I want to cat the values of parameters, all strings, in a form to another parameter in the same form. How would I go about doing this using dtml? I tested using this: dtml-call "REQUEST.set('foo','this is a string')" dtml-call

Re: [Zope] hard dtml syntax problem

2000-07-13 Thread Jerome Alet
On Thu, 13 Jul 2000, Bill Anderson wrote: Jerome Alet wrote: Hi want to call ZopeFind to find all folders in the current folder which doesn't have got any subfolder. Sorry, I should have added : recursively !!! I'm confused. You said you only were concerned about the _current_

Re: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread Chris Withers
You could always do something like this first: "select Count(usr_email) from info(table name) where usr_email = dtml-sqlvar usr_email type=string" Then check the result will be either 1 or 0. That's asking for trouble 'cos Zope ain't gonna like an id such as 'Count(usr_email)', it's a great

Re: [Zope] simple instructions for site search

2000-07-13 Thread Chris Withers
ethan mindlace fremen wrote: You want the ZCatalog Howto: http://www.zope.org/Documentation/How-To/ZCatalogTutorial Do catalogs search otehr catalogs they find? Only asking 'cos I don't think that'll help him search his whole site as the Squishdot postings won't get searched. But, if the

[Zope] Variable sort in dtml-in

2000-07-13 Thread Aaron Williamson
In my search form, I have a selection box "in_sort_by" whose value can be "Category", "Field", or "Title". I am trying to make dtml-in sort by this value. I am using: dtml-in SQL_search sort="_['in_sort_by']" size=list_size start=query_start And I've tried other variations, but I always get

[Zope] Newbie-adding content by form

2000-07-13 Thread brocken22
Hallo, I'd like a user to add content with a form. The website is made with a framest and content should be added and also the navigation should be updated! I think that's a smaller problem but I didn't find an explanation. I'm very happy about every hint! -- Sent through GMX FreeMail -

[Zope] space in variable returned by queries

2000-07-13 Thread Vanfleteren Francois
Hello, I'm working with Zope and PostgreSQL When i do a query, Zope returns me a variable with a space at the end Do you know how i can do not to have this space at the end? Thanks ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Acquisition problems?

2000-07-13 Thread Stephen Harrison
Curtis Maloney wrote: [snip] Well, here's the details: / standard_html_header register /internal/ standard_html_header register works fine if invoked as /register however, it spits the dummy if invoked as /internal/register Complaining loudly about TypeError: too many

RE: [Zope] simple instructions for site search

2000-07-13 Thread Jens Vagelpohl
chris, catalogs don't automatically search other catalogs they find. until this is implemented you could create a separate catalog that only catalogs other catalog instances (and your squishdot instance) and then you could ask that main catalog to give you all its other catalogs and simply fire

Re: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread Robert Wohlfahrt
Hi, Hi, I stuck on a problem: I am creating a registration form. I need to check if the person info has already in database. I created a Z SQL method which I used "select usr_email from info(table name) where usr_email = dtml-sqlvar usr_email type=string" I want to call this method from

[Zope] update Zope

2000-07-13 Thread Mario Premke
I want to update from Zope 2.1.6 to 2.2.0. Is there a way to copy my contents to the new version or do I have to start from the beginning ? Thanks Mario ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] SyabaseDa SP problem

2000-07-13 Thread Mathias Bengtsson
I have the following problem. I run Zope under RH6.2 with Apache and SyBase through SyBaseDA. I have gorren the connection to work so that I can make simple SQL questions. The problem I have arise when I try to run an SQL StoreProcedure that lies in SyBase. At first it didn't wokr att all but

[Zope] Collector Product?

2000-07-13 Thread Satheesh Babu
DC folks, Any plans of making the Collector (bugs/requests etc) as a downloadable product? ~ V.Satheesh Babu [EMAIL PROTECTED] . . http://vsbabu.csoft.net/ /V\ - Duct tape is like the force. It has // \\ a light side, and a dark side, and /( )\ it holds the universe together

Re: [Zope] Collector Product?

2000-07-13 Thread Chris Withers
You check out the Tracker, the replacement for the Collector, rom the CVS... cheers, Chris Satheesh Babu wrote: DC folks, Any plans of making the Collector (bugs/requests etc) as a downloadable product? ~ V.Satheesh Babu [EMAIL PROTECTED] . . http://vsbabu.csoft.net/

[Zope] WorldPilot 1.1.0alpha Release Start + Palm PDA Sync

2000-07-13 Thread Ryan Hughes
Hi WorldPilot Users, We just wanted to make a short notice, that we are starting to release alpha Snapshots of WorldPilot.1.1.0. It has various new enhancements, like email composer Address Book lookup, File Archive and others. The newest enhancement is Palm PDA Sync for Linux :-) This version

RE: [Zope] 2.1.6 and ZSQL methods

2000-07-13 Thread Ron Bickers
My understanding was that DC decided not to fix it, but instead concentrate on the 2.2 series. There are some patches floating around in the archives, but none of them worked 100% for me. I just gave up and am running 2.2b4. The 2.2 betas has been plenty stable for me. Even with the few

[Zope] Linux user group

2000-07-13 Thread CURTIS David
Greetings, I am a member of the a Linux users group and I have been asked to do a demo on ZOPE because I am using it and many members are curious. I consider myself a ZOPE newbie, because use I use ZOPE to access some really simple databases. I have NOT done any special python programming

Re: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread Christopher J. Kucera
Sa wrote: Hi, I stuck on a problem: I am creating a registration form. I need to check if the person info has already in database. I created a Z SQL method which I used "select usr_email from info(table name) where usr_email = dtml-sqlvar usr_email type=string" I want to call this method

Re: [Zope] space in variable returned by queries

2000-07-13 Thread Tino Wildenhain
Vanfleteren Francois wrote: Hello, I'm working with Zope and PostgreSQL When i do a query, Zope returns me a variable with a space at the end Do you know how i can do not to have this space at the end? dtml-var "_.strip(var_with_space_at_the_end)" should do. Or dtml-call

Re: [Zope] Linux user group

2000-07-13 Thread Chris McDonough
Darn. I had slides for a LUG presentation up on one of my former company's servers, but they seem to have taken the box down. I don't have it archived anywhere. Maybe somebody made a copy? It was from... errr... maybe November last year? CURTIS David wrote: Greetings, I am a member of

[Zope] Weird problem with Z MySQL Connection

2000-07-13 Thread Jonathan
Hi all, Keep getting an 'invalid connection string' error when trying to make a database connection from Zope. Weird thing is that I first moved a working build to another machine, which resulted in it not working anymore. Did a clean install of Zope 2.1.6 (Source), MySQL 3.22.32 and all

Re: [Zope] Linux user group

2000-07-13 Thread Jens Vagelpohl
you can create this yourself: http://www.zope.org/Members/jens/docs/zope_on_cdrom jens on 7/13/00 10:29, CURTIS David at [EMAIL PROTECTED] wrote: 1) Is there a ZOPE demo for that runs on a CDROM? ___ Zope maillist - [EMAIL PROTECTED]

[Zope] 503 Zope temporarily overloaded

2000-07-13 Thread J. Michael Mc Kay
I was looking at stats today and saw this 503: Temporarily overloaded Can anyone guess at what this might mean? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] uncatalog of absent id?

2000-07-13 Thread Nitesh Dhanjani
Hello, Im fairly new to the Zope world. Im trying to delete a PTK folder, and get this error: Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Uncatalog of absent id '/icds/Members/bob/index_html'

[Zope] Workaround for objectValues security problem?

2000-07-13 Thread Andres Corrada-Emmanuel
Hi, I'm trying to create a navigation bar DTML Method that goes something like this: dtml-let root="PARENTS[-1]" dtml-in "root.objectValues('Folder')" . . . The problem, as reported in a posting from Jerome Alet last week, is that the Anonymous user does not have permission to access the

[Zope] For Newbies Only!

2000-07-13 Thread Tim Cook
Ok folks if you are like me and not only can't see the light but can't even find the path to the light try these things: 1. Do the Python tutorial. 2. Read every message from the list archives for the past two months. 3. Even if you don't want to develop on a beta platform. Install 2.2b4 on

[Zope] BTreeFolder

2000-07-13 Thread Robert Wohlfahrt
Hi, I want to try out the BTreeFolder product. I unpacked it an restarted Zope, but int the Products-management screen it shows up as a broken product. I use Zope-2.1.4 ... Below is the Traceback it gives me on a click: - BTreeFolder Import Traceback Traceback

[Zope] Class Refactoring Question

2000-07-13 Thread James W. Howe
I've developed a couple of simply Python classes which I'm using as base classes for some ZClasses that I've developed. I now realize that both of these Python classes could benefit from obtaining behavior from another class. Will I complete hose myself if I change the class definition of my

Re: [Zope] BTreeFolder

2000-07-13 Thread Tim Cook
Robert Wohlfahrt wrote: Hi, I want to try out the BTreeFolder product. I unpacked it an restarted Zope, but int the Products-management screen it shows up as a broken product. I use Zope-2.1.4 ... any ideas? Been there, done that s. It requires 2.2+. But boy am I looking forward to

[Zope] ANN: Zope Treasures - ZClass/Product Search Engine (fwd)

2000-07-13 Thread Mark Pratt
hello all, beehive is pleased to announce the release of: http://www.zope-treasures.com search by keyword or category for DTML Code, Products, External Methods and Zope Products. additionally you can: - rate - comment - add and view additional documentation links - submit your own

Re: [Zope] For Newbies Only!

2000-07-13 Thread Christopher J. Kucera
Tim Cook wrote: Ok folks if you are like me and not only can't see the light but can't even find the path to the light try these things: 1. Do the Python tutorial. Well, I hardly count as a newbie any more, but I'll just add this: Learning Python was the single most useful thing that helped

[Zope] (no subject)

2000-07-13 Thread Leichtman, David J
I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. a href="/path/script.pl/1234"1234/abr a href="/path/script.pl/2345"2345/abr Then, in script.pl, I would pick up the extra info on the other side from $PATH_INFO. The

RE: [Zope] (no subject)

2000-07-13 Thread Chris McDonough
This is a job for __bobo_traverse__ (yes, I know, unlikely name, but what has now become Zope used to be named Bobo). Without using __bobo_traverse__, which is defined as a method on the object which you access via traversal, you can't easily use "extra" URL elements as parameters to pass to the

Re: [Zope] Workaround for objectValues security problem?

2000-07-13 Thread andres
On Thu, Jul 13, 2000 at 12:47:56PM -0400, Andres Corrada-Emmanuel wrote: The problem, as reported in a posting from Jerome Alet last week, is that the Anonymous user does not have permission to access the objectValues method. Giving the navigation I should correct myself by saying that

[Zope] Blank Date Field?

2000-07-13 Thread James W. Howe
Is there some easy way to allow for the storage and display of an empty/blank date field? It seems that you are unable to enter a blank value if you defined a property field as storing a date value. I want to be able to store dates in my object, but the date value is optional. Any tips

RE: [Zope] (no subject)

2000-07-13 Thread Chris McDonough
Thanks for responding so quickly. I'm not sure I understand. The problem here, and the reason I can't simply use a form or a session, is that I want to set a series of links that send different options to the same method. I guess it's the equivalent of passing args to a dtml method

Re: [Zope] For Newbies Only!

2000-07-13 Thread Shane Hathaway
"Christopher J. Kucera" wrote: Tim Cook wrote: Ok folks if you are like me and not only can't see the light but can't even find the path to the light try these things: 1. Do the Python tutorial. Well, I hardly count as a newbie any more, but I'll just add this: Learning Python was

Re: [Zope] Re: Re: [Zope] LocalFS Documentation

2000-07-13 Thread R. David Murray
On Thu, 13 Jul 2000, Kelvin Cheong wrote: I'm puzzled...there isn't any upload at the bottom of the page...but there has always been an upload at the top of the page in the Zope content management interface (along with "Contents", "Edit", "View", "Properties"...etc). Was the LocalFS upload

[Zope] namespace??

2000-07-13 Thread Marcus Mendes
How can I get the content of TITULO_CIDADE out of my tags dtml-in /dtml-in ?? My code is : dtml-in "_['sequence-item'].objectValues(['TSimpleItem'])" sort=title dtml-if "_['sequence-item'].id == CIDADE" dtml-call "REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)"

Re: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread slin
Hi, I still got problems after I changed my code according to your suggestion. Here is the detail describtion of my code: In registration form, I have a table which contain a field usr_email (tr td width="40%" align="right"Email Addressnbsp; /td td width="60%"input

Re: [Zope] simple instructions for site search

2000-07-13 Thread sean
On 13 Jul 2000, at 9:49, Chris Withers wrote: ethan mindlace fremen wrote: You want the ZCatalog Howto: http://www.zope.org/Documentation/How-To/ZCatalogTutorial Do catalogs search otehr catalogs they find? Only asking 'cos I don't think that'll help him search his whole site as

[Zope] LocalFS Documentation

2000-07-13 Thread Dan L. Pierson
Kelvin Cheong writes: Anybody know where I can find out more about LocalFS, I've already read jfarr's How-to's and Product Information. But I still need more on how it works. It helps to pay very careful attention to the help info (in .../Products/LocalFS/methodHelp.dtml if you're not

Re: [Zope] Blank Date Field?

2000-07-13 Thread ethan mindlace fremen
"James W. Howe" wrote: Is there some easy way to allow for the storage and display of an empty/blank date field? It seems that you are unable to enter a blank value if you defined a property field as storing a date value. I want to be able to store dates in my object, but the date value

[Zope] Case sensitivity

2000-07-13 Thread Ian Sparks
One of my pet peeves with web servers is that : mysite.com/Members is different to : mysite.com/members (but there is no difference between MYSITE.COM and mysite.com) is there any way of making Zope case-insensitive? - Ian Sparks. ___ Zope

Re: [Zope] Re: Re: [Zope] LocalFS Documentation

2000-07-13 Thread Jonothan Farr
Was the LocalFS upload support released? Earlier versions did not support upload, but I know the author was working on it. Yup. Since 0.8.1. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope

[Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-13 Thread Lucas Young (c)
Title: Newbie: Zope a webserver? Serving PHP and Perl Hi Have just installed Zope under Win2K and it works fine - I see a lot of people mention using Apache to server Zope, but isnt Zope a webserver itself? I can browse to http://server:8080/ and view Zope pages, so why would I need Apache?

RE: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-13 Thread Chris McDonough
Lucas, If you don't know of a reason you would need Apache, you don't need it. :-) Zope does not directly handle PHP tags. -Original Message- From: Lucas Young (c) [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 6:44 PM To: '[EMAIL PROTECTED]' Subject: [Zope] Newbie: Zope a

[Zope] Still Problem with LocalFS

2000-07-13 Thread Jorgen Gardsted Jorgensen
I have had a similar problem. My solution is based on an external method. I have a folder named localFS with 1) a Local File System named images pointing somewhere in file system. 2) an ExternalMethod called addFile looking like this: def addFile(self, file, fullpath): outfile = open(fullpath,

[Zope] zope.org going down for upgrade

2000-07-13 Thread ethan mindlace fremen
Zopatistas: zope.org will be going down the morning of Friday the 14th during the transition to zope 2.2. It should be no more than a 15 minute downtime. In the mean time, if you want to hit http://www.zope.org:666/ to see if it works, feel free! -- ethan mindlace fremen Zopatista Community

[Zope] what permissions are required for [un]restrictedTraverse?

2000-07-13 Thread Jason Byron
what permissions are required for [un]restrictedTraverse? I recently added the call to 'restrictedTraverse()' in a method and I can't get permission to use it except when I'm logged in as superuser. I need to be able to let other users use this method. How do I do that? Thanks, Jason

Re: [Zope] HTMLFile from within a method?

2000-07-13 Thread Terry Kerr
Rob Miller wrote: Greetings. I'm a fairly experienced Python programmer, but am new to Zope. I'm working on a Python product, and through this process I'm learning my way around the Zope innards. I'm running Zope 2.2.0b3 on an RH6.1 box. By declaring a class member that is an instance of

Re: [Zope] ANN: Zope Treasures - ZClass/Product Search Engine (fwd)

2000-07-13 Thread Bill Anderson
This thing looks COOL! -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Linux user group

2000-07-13 Thread Bill Anderson
Curtis, I 'run' the LiBC --Linux in Boise Club--- and the website(s). We run Zope. You can show them: http://www.libc.org http://theigloo.libc.org As examples, and I might be able to be talked into converting one or two of them into CDROM demos... Though they are both being migrated to 2.2,

Re: [Zope] Variable sort in dtml-in

2000-07-13 Thread Bill Anderson
Aaron Williamson wrote: In my search form, I have a selection box "in_sort_by" whose value can be "Category", "Field", or "Title". I am trying to make dtml-in sort by this value. I am using: dtml-in SQL_search sort="_['in_sort_by']" size=list_size start=query_start And I've tried

[Zope] Ho do you access parent's parent folders?

2000-07-13 Thread danchik
hi, any one knows how to access methods or queries in the parent's parent's parent's subfolder? Root -Folder1 --Sub1 --My_Qry --Sub2 ---otherfolder How_to_access_My_Qry_from_Sub1 is there dtml-var parent.parent. type

[Zope] Zope Knowledge Base on www.faqts.com?

2000-07-13 Thread Fiona Czuczman
Hi, I've been working on a Python knowledge base for the last couple of months. http://python.faqts.com Each day I go through postings to the newsgroup and enter those that I believe would be useful FAQs into the site, then I send out a summary to the group letting them know what's been

Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-13 Thread Loren Stafford
Title: Newbie: Zope a webserver? Serving PHP and Perl Your second question almost answers the first. You can use Zope either with or without Apache. One way to handle existing PHP sites is to put Apache in front of Zope. Then add configuration parameters to Apache to make it examine the URLs

Re: [Zope] Acquisition problems?

2000-07-13 Thread Curtis Maloney
On Thu, 13 Jul 2000, Stephen Harrison wrote: Curtis Maloney wrote: [snip] Well, here's the details: / standard_html_header register /internal/ standard_html_header register works fine if invoked as /register however, it spits the dummy if invoked as

[Zope] Version Changes

2000-07-13 Thread Tim Cook
When Saving changes from a version are the notes entered in the text box logged anywhere? I can't seem to find them or any information about them. It would be handy to use them for a regular CHANGES file. -- Tim -- ___ Zope maillist - [EMAIL

[Zope] help

2000-07-13 Thread danchik
how can I fix this?? the main dtml file has the following line dtml-var SomeVar !-- there is a valid namespace SomeVar and this line prints it out... -- !-- the next line works fine with Number 5, but not if I

Re: [Zope] Zope Knowledge Base on www.faqts.com?

2000-07-13 Thread Patrick Phalen
[Fiona Czuczman, on Thu, 13 Jul 2000] :: Hi, :: :: I've been working on a Python knowledge base for the last couple of :: months. :: :: http://python.faqts.com Yes, Fiona, thank you. I'm a fan! :: Recently I've been thinking about incorporating content from this :: mailing list in a folder

[Zope] Zope 2.2.0b4: Congrats on a job well done + Tips for upgrading

2000-07-13 Thread T.J. Mannos
Hi, there, I'd just like to announce that I've installed Zope 2.2.0b4 via CVS and done a complete run-through of my site. It seems to work flawlessly now, and I've gone ahead and installed it on my main port for a trial period. I hope to launch the site using the final version of 2.2.0 (so