Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Chris Withers
an exception. I'd guess this is something that needs to be looked at but it's probabyl one of those bugs that's hideous to track down (ZCAtalog index bug anyone? ;-) ah well, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Chris Withers
be bent to do something similar? (2) Get Zope running on microthreads/stackless Python (has anyone tried?) and gain a little more control over the stacks. Way over my head ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope] URL quoting in python

2000-07-20 Thread Chris Withers
ve said... It also fails for dtml-return... It looks like url_quote is only applicable to dtml-var...which is sort of painful. not really... how and what would you apply html_quote to in call and return (return is slightly easier) cheers, Chris ___ Zope

RE: [Zope] URL quoting in python

2000-07-20 Thread Chris McDonough
Didn't happen for me (Zope 2.2b4). I got Invalid attribute name, "url_quote", for tag dtml-call "REQUEST.set('URL', URL2+'?action=Add Material Infoproduct_number='+product_number)" url_quote, on line 195 of index_html It also fails for dtml-return... It looks like url_quote is

Re: [Zope] Datebug?

2000-07-21 Thread Chris Withers
uld be one of a number of bugs. :( What version of Zope are you using? Try 2.2 and see fi it still happens... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Rel

Re: [Zope] Enitity syntax and 2.2

2000-07-21 Thread Chris Withers
[EMAIL PROTECTED] wrote: And how about: dtml.missing-REQUEST.form['foo']; over my dead body! ;-) I thought the point of the entity syntax was to keep it simple... which including python expressions does not... cheers, Chris ___ Zope maillist

RE: [Zope] ZCatalog dynamic sites

2000-07-21 Thread Chris McDonough
Dimitris, Yes, ZCatalog cannot index methods which require call arguments. Pages generated from SQL data either use "brains" of SQL methods or squery string arguments of a DTML method, and therefore need to be passed arguments and cannot be cataloged. -Original Message- From: [EMAIL

RE: [Zope] request for advice

2000-07-21 Thread Chris McDonough
Steve Spicklmire has also written the ZCVSMixin product (which I've never actually used) that might let you integration filesystem versioning with Zope more easily as well... -Original Message- From: Patrick Lewis [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 12:50 PM To:

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-24 Thread Chris Withers
"R. David Murray" wrote: On Mon, 17 Jul 2000, Chris Withers wrote: If you go to: http://my.zope/site/file.html/ It will just return the DTML document :-) I wonder if it is redirecting to http://my.zope/site/file.html? I belive that it is returning: http://my

Re: [Zope] Datebug?

2000-07-24 Thread Chris Withers
Erich Seifert wrote: I had the same problem. The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), year(), etc. do not. So I used them. That's really horrible, I'd chuck it in the collector: http://classic.zope.org:8080/Collector/ cheers, Chris

Re: [Zope] Zope and Mac

2000-07-24 Thread Chris Withers
Tom Scheidt wrote: icon = 'survey_icon.gif' ) ^ SyntaxError: invalid syntax Looks like a line ending problem. I'd download the .tar.gz, ftp it to your server and unpack it there using tar. cheers, Chris

Re: [Zope] Catalog contains items, but no results

2000-07-24 Thread Chris Withers
problematic in the past (particularly when things like SiteAccess come into play...) I hope it's improved in 2.2. What's the 'correct' way to do this sort of thing in 2.2? Where is it documented? ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] more catalog issues

2000-07-24 Thread Chris Withers
;-) Is there a better syntax to use than 'catalog_object()'? I think that's what you should be using, check out the interfaces Wiki or 2.2 API help. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] request for advice

2000-07-24 Thread Chris Withers
ixin class producty thing... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://list

Re: [Zope] An observation about manage_* methods

2000-07-24 Thread Chris Withers
thign done on dev.zope.org? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.o

Re: [Zope] re: Meta Type Registry

2000-07-24 Thread Chris Withers
wonder how python handles this with the __class__ attribute or something similar? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] zcatalog and squishdot newbie question

2000-07-24 Thread Chris Withers
*and* other stuff you should be able to select the Squishdot site as well as whatever other Catalogs you have when you add a Z Search Interface. Sounds liek great advice :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope] can't install squishdot with 2.2.

2000-07-24 Thread Chris Withers
me to work on it or someone gives me the patch to make it happen. Sorry, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/lis

Re: [Zope] Datebug?

2000-07-24 Thread Chris Withers
What was the issue number? Chris Peter Arvidsson wrote: The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature. Feature or not I can't use dates in forms because of this. Peter Chris Withers

Re: [Zope] timezone change and permission problem

2000-07-24 Thread Chris Withers
'View',_.getitem('id',1)) " part it does show up. What should I do to make that part work? Try giving your DTML method a proxy role or 'Manager'... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Old broken product...

2000-07-24 Thread Chris Withers
Restart Zope... Chris * Lucky wrote: After a modification of the python source code, my product remains broken with the same error... No modification seems to be made to the line which leads to the error. Does somebody know why and how to cope

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, July 24, 2000

Re: [Zope] zope.org down

2000-07-24 Thread Chris Withers
Chris McDonough wrote: The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. I don't think you announced this loudly enough ;-) Is interbase stable/OSS? Where can I

RE: [Zope] zope.org down

2000-07-24 Thread Chris McDonough
See http://www.zope.org/Members/mcdonc/RS/InterbaseStorage/InterbaseStorage. txt for answers to the Interbase questions and InterbaseStorage docs and see http://www.zope.org/Members/mcdonc/RS/InterbaseStorage to download the InterbaseStorage product. -Original Message- From: Chris

Re: [Zope] Announcement: zCommerce First Public Release!

2000-07-24 Thread Chris Withers
Hi Nick, Is zCommerce OSS? It's a pretty M$-like press release (blegh!) but the 'download here' bit implies it's going to be Open Source. If so, then it sounds very cool :-) cheers, Chris PS Did you have to spam zope-dev in as well? ;-) Nick Garcia wrote: CodeIt announces the much

Re: [Zope] Zope performance ratios

2000-07-24 Thread Chris Withers
like: "a Zope page takes, on average, twice as [long as] a static page to serve"? I'm not interested in being anal about the numbers, seat of the pants estimates are what I'm looking for. Dunno, but for what it does it's pretty damn quick :-) chee

Re: [Zope] Bi-directional update of Data.fs

2000-07-24 Thread Chris Withers
in the future? It's the only sticking point for quite a big project we're working on that's forcing us to stay with Notes. cheers, Chris PS: No, none of us has enough Zen to do it ourselves... ;( ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope] Announcement: zCommerce First Public Release!

2000-07-24 Thread Chris Withers
should or not, but in the end I decided to do it because there's a lot of development opportunity in there. Ah well, just my axe to grind right now, not enough people read that little message mailman appends: ** No cross posts or HTML encoding! ** pedantically, Chris

RE: [Zope] user permissions

2000-07-25 Thread Chris McDonough
I've never heard of anything like this. What roles does "Mike" have? What *does* show up in the Contents screen for "Mike"? -Original Message- From: J. Michael Mc Kay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 10:02 AM To: Chris McDonough; josh on

Re: [Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Chris Withers
+1 I've said a lot on this already ;-) Chris On Tue, 25 Jul 2000, Brian Lloyd wrote: Hi all - There has recently been some confusion over the expected behavior of various approaches to DateTime formatting in Zope regarding timezone representation. I would like to resolve

Re: [Zope] Product Import

2000-07-25 Thread Chris Herrnberger
missing. The test system is install in my home dir with permission set to -u username -g users This is not the correct install procedure but is simply used for ease of installation and learning purposes. Any info would be appreciated. tia Chris ___ Zope

RE: [Zope] namespace and PARENTS doubt

2000-07-25 Thread Chris McDonough
Untested: dtml-let level1="_.getitem(PARENTS[1], 'folder1')" level2="_.getitem(level1, 'folder')" dtml-with level2 ...commands.. /dtml-with /dtml-let -Original Message- From: Fabio Akita [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 5:46 PM To: [EMAIL PROTECTED]

Re: [Zope] Problem with ZCatalog output and SiteAccess (with workaround)

2000-07-26 Thread Chris McDonough
Marcin, Can you post this problem in to the Collector? http://classic.zope.org:8080/Collector. I think there's a simple fix to make ZCatalog play nicely with Site Access, and if it's in the collector, we won't forget about it. Marcin Kasperski wrote: In short: ZCatalog getpath method

[Zope] Re: display of SQL request answer

2000-07-26 Thread Chris McDonough
Vincent, This may be helpful: http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.1.4.html Also, this question is more suited for the main Zope mail list ([EMAIL PROTECTED])... I've moved it there as a result. Vincent DELHOMMOIS wrote: Hi, I am using the Z ODBC DA connexion to

[Zope] Re: Problem

2000-07-26 Thread Chris McDonough
Anvita, JavaScript is inlined in a DTML method just like it would be inside a file on a filesystem. Because JavaScript runs on the client, you just need to make sure that you return it somehow in the response to the client. There is no "magic" to doing this... as a simple example: - create a

Re: [Zope] Updating product property sheet values

2000-07-26 Thread Chris Withers
interested to know why you needed to re-implement it :S cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/lis

RE: [Zope] Zope Sybase DA Zope 2.2

2000-07-26 Thread Chris McDonough
What's the problem? Does it not work? -Original Message- From: Stephen Nosal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 26, 2000 10:00 AM To: [EMAIL PROTECTED] Subject: [Zope] Zope Sybase DA Zope 2.2 Folks - Anyone have any info or pointers running the Zope Sybase DA

RE: [Zope] problem with dtml-in and Zope 2.2

2000-07-26 Thread Chris McDonough
First of all, make sure you don't try to define classes that should be persistent in an external method... it wont work the way you expect it to. Second (untested): def getRecords(self): """ """ class record: __allow_access_to_unprotected_subobjects__ = 1 # this may be

RE: [Zope] Question

2000-07-26 Thread Chris McDonough
Lionel, A couple of ground rules first: please dont post HTML to the list or post messages marked "importance: high" to the list. Errr.. after reading your question, I've finally come to grips with the fact that I have no idea what you're asking. Sorry! Please explain more. -Original

RE: [Zope] Who is uid 506?

2000-07-26 Thread Chris McDonough
The reason the files are owned by 506 is an artifact of the way the RPM was packaged. Either untar and install the source as a "normal" user or maybe contact the maintainer of the RPM and see if this installation behavior is intentional (I imagine it is). -Original Message- From:

Re: [Zope] DA, MySQL and Unix socket

2000-07-27 Thread Chris Withers
of advice perhaps? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org

Re: [Zope] FindOneOf?

2000-07-27 Thread Chris Withers
don't think python methods support re...) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Chris Withers
is designed for data presentation and form processing. Or something like that ;-) To do what you want, you probably want something like: dtml-call "manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)" Which i

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Chris Withers
Chris Withers wrote: To do what you want, you probably want something like: dtml-call "manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)" Erk, maybe this: dtml-call "manage_changeProperties(counter_value=getProperty('counter_val

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread Chris Withers
irritating ;-) getitem gives you more control: getitem(object,0) will always return the object. getitem(object,1) will __call__ it if it can. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] Searching static copy

2000-07-28 Thread Chris Withers
then search tha Catalog as well as your three databases. The following might be helpful for the Catalog: http://www.zope.org/Documentation/How-To/ZCatalogTutorial http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching http://www.zope.org/Members/AlexR/KeywordIndexes HTH, Chris

Re: [Zope] form to a email in a correct presentation ?

2000-07-28 Thread Chris Withers
an you send the DTML either to me (or to the list?) that generated the 'bad_reception' email and I'll give it a go :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] search on www.zope.org

2000-07-28 Thread Chris Withers
, as search for pcgi2 returns lots. dtml-in isn't too easy since I think 'in' is too short to actually turn up in a catalog and 'dtml' doesn't exactly get what you're after :S Good luck, Chris PS: I think Mindlace is looking into this right now

Re: [Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Chris Withers
ctionality ;-) in this area, especially if you use the fmt option. What version fo Zope are you using and what timezone are you in? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross pos

Re: [Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Chris Withers
in 2.2.1 :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

RE: [Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Chris McDonough
The ZODB is generally process-locked. It's not possible, to my knowledge, to access it from different python processes simultaneously. To solve this, I'd highly encourage you to use ZEO, despite your desire not to use it. There's very little to learn with ZEO, and its proven very stable over

Re: [Zope] Easiest way to possess 'creation_time' attribute?

2000-07-29 Thread Chris Withers
... cheers, Chris PS: the only way I can think of right now is to subclass DTML document/method and override the add method to take a copy of bobobase_modification_time and stroe it in an attribute/property called creation time. ___ Zope maillist - [EMAIL

Re: [Zope] probs. with vti xxxx folders - anyone using FrontPage + WebDAV ???

2000-07-29 Thread Chris Withers
ti folders in FrontPage ;-) Then again, Dreamweaver has exactly the same problem with its content commenting stuff 'cos it also tries to create _something folders. I wonder why starting folders with _ is so bad in Zope? cheers, Chris ___ Zope maillist

[Zope] Re: probs. with vti xxxx folders - anyone using FrontPage

2000-07-29 Thread Chris Withers
Maybe :-) Chris Marcus Schopen wrote: Hi Chris, may be Apache with rewrite-rules for these folders could be a way Marcus __ (0 Marcus Schopen //\ Bielefeld, Germany V_

Re: [Zope] create DTML-Source-link like on zope.org

2000-07-29 Thread Chris Withers
Put a link as follows on your page: a href="view_source"show DTML-Source/a Then create a dtml method called view_source. What do you put in it? Well, see the following: http://www.zope.org/view_source/view_source *grin* Chris ___ Zop

RE: [Zope] What is the best method to enter more attributes about DTL Document?

2000-07-29 Thread Chris McDonough
There's not a particularly obvious solution other than to define a ZClass which inherits from DTML Document and exposes a constructor form that asks for these properties as well as an edit form that does same. See the ZClass tutorial on Zope.org at

Re: [Zope] create DTML-Source-link like on zope.org

2000-07-30 Thread Chris Withers
Deryk Barker wrote: snip how-to for view source Well I did and get a NameError looking for document_src. What object are you trying to view the source of? It's only work (and only makes sense) on things like DTML methods and DTML documents. cheers, Chris

RE: [Zope] OQL for ZODB - (SQL like for objects Databases)

2000-07-30 Thread Chris McDonough
Indeed it does. As a result, it doesn't help at all for O-R mapping. I've heard that PJE's DataSkins (part of ZPatterns) have features which make them useful for O-R mapping, though I haven't looked at them. although i haven't looked at the source. chris m's Interbase storage might be worth

RE: [Zope] Starting Zope

2000-07-30 Thread Chris McDonough
Not to continue offtopic for too much longer, but IMHO, the "only root can bind to ports under 1025" was, and continues to be, a terrible UNIX hack that was possibly reasonable at its time of inception, but that has since *caused* more security holes than it ever helped to prevent. The argument

Re: [Zope] PTK question ..

2000-07-31 Thread Chris Withers
Jean Jordaan wrote: ZopePTK-0.7.1.tar.gz Erk :( Theres' a much newer snapshot available at: http://www.zope.org/Members/taz/PTK cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] ZCatalog updating

2000-07-31 Thread Chris Withers
Aaron Williamson wrote: How can I automatically update my ZCatalog when items have been added/modified/changed? CatalogAware Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

RE: [Zope] Re: [Zope-dev] ZOracle LOB Questions

2000-07-31 Thread Chris McDonough
Please do not cross post to the zope and zope-dev mailing lists. -Original Message- From: Alexander Schad [mailto:[EMAIL PROTECTED]] Sent: Monday, July 31, 2000 11:38 AM To: Matthew T. Kromer Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [Zope] Re: [Zope-dev] ZOracle LOB

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-08-01 Thread Chris Withers
Bill Anderson wrote: Thinking aluod Perhaps the Product Release page can put 'development' in red, so that devel products are easier to spot? Heh, so there goes the whole product page red then ;-) Chris ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] Newbe external method question

2000-08-01 Thread Chris Withers
ter(folder,propertyname): return filter(lambda x: x.hasProperty(propertyname),folder.objectValues()) This wil return a python list of the objects that have the property you are looking for... HTH, Chris ___ Zope maillist - [EMAIL PROTE

[Zope] Ann: Free Zope Hosting Available Again

2000-08-01 Thread Chris Withers
New Information Paradigms Ltd is happy to announce that their Free Zope Hosting Option is once again available! Furthermore, the price of the Professional Zope Hosting Option has been halved to £100 per month while still providing the same high quality service. (£100 is roughly equal to $150

Re: [Zope] Help: Confera product broken.

2000-08-01 Thread Chris Withers
is the newer and more maintained spinnoff of Confera, but that too doesn't work with 2.2 right now :( sorry, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Help: Confera product broken.

2000-08-01 Thread Chris Withers
Squishdot to use ZCatalog. If this isn't the case, I (and I'm sure many other people) would like to know what the bug is and use the patch when it turns up :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

[Zope] Python nasty :S

2000-08-01 Thread Chris Withers
Flame me if you want, but this one really got me bad so I thought I'd make others aware... cheers, Chris ChrisW's post to the Python Bug List: I have something equivalent to this in my code: mylist = ['x','y' 'z'] (the real code has much longer contents, hence the line break

Re: [Zope] Separate Instances of Zope

2000-08-01 Thread Chris McDonough
Yep... search for ZEO on zope.org. On Tue, 1 Aug 2000, blueeye wrote: Hi, I have this setup: I have Zope running on 1 server. I have multiple servers accessing the zope server. If this server goes down, can I have a backup zope server that replicates the main server? Currently

Re: [Zope] Python nasty :S

2000-08-01 Thread Chris Withers
We have a reply... oh well :S chris Tim Peters wrote: Sorry, but this is a documented feature: just as in C, adjacent string literals are concatenated at compile-time. You bumped up against the Dark Side of that. The Bright Side is, e.g., logfile.write("And here I need to

RE: [Zope] XML-RPC and Zope

2000-08-02 Thread Chris McDonough
Lots. If you have Zope 2.2, see the API Documentation in the help system. -Original Message- From: Gijs Reulen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 8:33 AM To: Mailinglist Zope Subject: [Zope] XML-RPC and Zope Hi there I am experimenting with XMP-RPC

Re: [Zope] dtml-calendar question.

2000-08-03 Thread Chris Withers
'something'] doesn't just return the value from the dictionary which has the 'something' key, if it's callable, it'll try to call it and then return that... not nice :( If you want to be safe, use _.getitem('something',0)... cheers, Chris ___ Zope maillist

Re: [Zope] Change db connect string in python or dtml

2000-08-03 Thread Chris Withers
connector is that it abstracts the connection information into a seperate object so you only have to change the connection string in one place to change what DB a group of methods are using. As longs as the DBs have the same schema it should work just fine. cheers, Chris

Re: [Zope] create DTML-Source-link like on zope.org

2000-08-03 Thread Chris Withers
Svante Kleist wrote: Also, document_src() is a "Python method" function included in the "Python Method" product Sorry but that simpyl isn't true :S The method below works on a slightly patched Zope 2.1.6 with no Python Methods product installed... che

Re: [Zope] PTK question ..

2000-08-03 Thread Chris Withers
n't do 2.2) and it looks like PTK wants 2.2 .. Don't think the PTK needs 2.2. And I am working on Squishdot ;-) Parting advice would be to join the [EMAIL PROTECTED] mailing list and look out for any interesting developments. cheers, Chris ___ Zop

Re: [Zope] form to a email in a correct presentation ?

2000-08-03 Thread Chris Withers
help me to correct this ??? I'm guessing this information is coming from an HTML form? If so, can you post me the HTML of the form? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] tree expand by date

2000-08-03 Thread Chris Withers
to find out how to do so. You'll also probably need to do the manipulation in an external method :S HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] tree plus/minus url

2000-08-03 Thread Chris Withers
as the image has but I can't find the right variable. Where is that url stored? Can anybody help? Your best bet is to look in the source for the tree tag and see how it's done there: /lib/python/TreeDisplay/TreeTag.py cheers, Chris PS: Please post back to the list if you find out how

Re: [Zope] Property Problem (type converting)

2000-08-03 Thread Chris Withers
ry is a single list.I've tried type-converting but it's not working for me. Sorry, but that doesn't make a lot of sense to me, try rephrasing :S What do you mean by a 'single list'? What sort of type-conveting did you try? Sorry for all the question

Re: [Zope] acquisition vs. inheritance

2000-08-03 Thread Chris Withers
Bob Horvath wrote: I would have thought it would have gone up a layer for index_html, but then would have discovered content at the lower layer. Sounds like your index_html is a DTML Document when it should be a DTML method... cheers, Chris

Re: [Zope] Problem accessing property value

2000-08-03 Thread Chris Withers
hich isn't what I need) http://host:8080/Portal/Members/UserName/Customize.some_property Try this instead (excuse mail wrapping ;-): dtml-var "AUTHENTICATED_USER.getHomeUrl()+'/'+Customize.some_property" cheers, Chris ___ Zope

Re: [Zope] acquisition vs. inheritance

2000-08-04 Thread Chris Withers
. However, because index.html exists is /folder, it is that which is displayed. I hope this makes it a little clearer :S cheers, Chris PS: Your solution was correct. Create another index_html in the subfolder, As long as index_html is a method, you only need one of them, in the root. which

Re: [Zope] Help with demoportal

2000-08-04 Thread Chris Withers
What version of the PTK are vyou using? Chris Owen Smith wrote: 2000-08-04T09:29:53 ERROR(200) Zope Couldn't install DemoPortal Traceback (innermost last): File /usr/local/dc/zope/lib/python/OFS/Application.py, line 464, in install_products (Object: ApplicationDefaultPermissions

[Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
...is bad :( Because Catalog stores objects not by reference but by the path to where they are, if you move those objects, you'll start getting lots of 'Uncatalog of absent id' errors and your search results will point to objects that don't exist. And ideas/comments? cheers, Chris

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
Terry Kerr wrote: how are you moving them? catalogAware objects unindex themselves when deleted then reindex themselves if pasted somewhere. The objects aren't catalogAware.. Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
are Squishdot Postings so I don't really knwo how I could work CatalogAware in even if I wanted to :S cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Chris Withers
Andy Dawkins wrote: Whilst in agreement with Chris I would like to throw another situation in here that CatalogAware doesn't cater for. If you change a folder name, somewhere higher in the tree, then all the cataloged objects references are incorrect. I think this is the same problem

RE: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Chris McDonough
It would seem to be broken you might want to contact the package maintainer. I think it's Glyph Lefkowitz? -Original Message- From: Pedro I. Sanchez [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 05, 2000 10:39 PM To: [EMAIL PROTECTED] Subject: [Zope] Zope 2.2 under Debian

[Zope] FTP into Zope.org?

2000-08-07 Thread Chris Withers
Hi, Are the FTP ports into Zope for www.zope.org and dev.zope.org open? If so, what are they? Here's hoping... Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

RE: [Zope] Python Method question

2000-08-07 Thread Chris McDonough
Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through acquisition or by otherwise getting a hold of an object in the ZODB and

[Zope] QuickStart

2000-08-07 Thread Chris Withers
Hi, Small niggle... Isn't it time the QuickStart bit the dust? It's quite strange seeing references to Principia and Acqueduct in Zope 2.2 ;-) Doesn't the Tutorial replace this quite comfortably? Just a thought, Chris ___ Zope maillist - [EMAIL

Re: [Zope] Previous Message

2000-08-07 Thread Chris Withers
Tom Deprez wrote: dtml-let position=sequence-item dtml-var expr="position+1"/dtml-var count-CENTRE_NO dtml-let how about: dtml-var "_.getitem('sequence-index',0)+1"/dtml-var count-CENTRE_NO cheers, Chris ___ Zope maillist

RE: [Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Chris McDonough
First, there is no such work as authentification. :-) OK, now that I got that off my chest, take a look at jcNTUserFolder (http://www.zope.org/Members/jephte/jcNTUserFolder), smbUserFolder (http://www.zope.org/Members/mcdonc/smbUserFolder), and Tres Seaver's Integrating Login Manager with SMB

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Chris Withers
foo, has SCRIPT_NAME='/zope/'. Zope may remove the foo from the URL because of some Virtual Host rule, SCRIPT_NAME will still be valid. Sorry, I'd have to agree with Evan on this one. I'm pretty sure I've had SiteAccess not play nicely wih SCRIPT_NAME whereas BASE1 works fin

RE: [Zope] Re: (OT) Re: sybase - hmmm

2000-08-08 Thread Chris McDonough
All, Can we drop the OS wars, please? There are newsgroups for this. -Original Message- From: Hannu Krosing [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 7:40 AM To: Bill Anderson Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Re: (OT) Re: sybase - hmmm Bill Anderson

RE: [Zope] Re:[Zope]Python Method question

2000-08-08 Thread Chris McDonough
() or something Is that posible? Chris McDonough escribió: Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through

RE: [Zope] Re:[Zope]Python Method question

2000-08-08 Thread Chris McDonough
] for method in methods: count = count + 1 # whatever security stuff you're talking about... method() Does this make sense? I *think* this will work. -Original Message- From: entropia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 10:05 AM To: Chris McDonough Cc: [EMAIL

Re: [Zope] User authentication and properties

2000-08-08 Thread Chris Withers
LoginManager and a good deal of luck should get you there... Chris "Gerard Metrailler Jr." wrote: Hello, I am looking into a solution to extend the normal acl_user management interface. First, I want to have properties associated with a user. This could for example be

[Zope] LDAP Usersource for LoginManager

2000-08-09 Thread Chris Withers
Hi, Has anyone got an LDAP usersource working with LoginManager? More specifically, hitting the LDAP service provides my a Lotus Notes NAB... Any ideas? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

[Zope] dtml-with confusion

2000-08-09 Thread Chris Withers
Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot ...do stuff here... /dtml-with /dtml-with and dtml-with "PARENTS[-1].squishdot" ...do stuff here... /dtml-with cheers, Chris ___ Zope

<    1   2   3   4   5   6   7   8   9   10   >