[Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Chris
. The applications relay heavily on calling DTML-Methods to include pieces of HTML, JavaScript, etc. Changing the old code would be an enormous effort. Is there a way to patch zope to show the old behavior? Regards Chris ___ Zope maillist - Zope@zope.org

Re: [Zope] python: calling DTML-methods without quoting

2005-10-04 Thread Chris
stuff run on a curent version of zope. I would love to clean up his stuff and convert is to tal. Regards Chris ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough
ross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zop

Re: [Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger
On Thu, 18 May 2000, [EMAIL PROTECTED] wrote: On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP

Re: [Zope] help with rpms on RedHat6.2

2000-05-19 Thread Chris McDonough
://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 ) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org

RE: [Zope] Memory creep

2000-05-21 Thread Chris McDonough
John, If you can figure out how to use them, the pair of methods implemented on the Control_Panel named "manage_debug" and "manage_profile" might help you... e.g. http://yourserver/Control_Panel/manage_debug . I can't give much in the way of explanation of them, there might be some good

RE: [Zope] Zclass inheritence

2000-05-21 Thread Chris McDonough
What does a product need to do in order to be a base class for a ZClass? It needs contain a class that is registered as a base class in the product's __init__.py "initialize()" method via "context.registerBaseClass()" e.g. context.registerBaseClass(ZCatalog.ZCatalog) See

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris ___ Zope maillist - [EMAIL

Re: [Zope] Zclass inheritence

2000-05-22 Thread Chris McDonough
lass list contains the same selection of bases - no Zclasses among them. Same deal under 2.1.4. I think debuging mode is operating on the both of them, for what it's worth. Which bit of code should I start looking through, first? :-) -- Chris McDonough Digital Creations Publishers of Z

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
you would expect? 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] Broken ZWiki

2000-05-22 Thread Chris Withers
0.6 to be installed ;-) I have to stress this again, ZWikiWeb is merely a wrapper for ZWiki. ZWiki is the real product and I'd like to thank Simon for giving us such an amazing product. cheers, Chris PS: Now, if I could just rename a Wiki page through the Wiki interface and have all links

Re: [Zope] Executing an external program

2000-05-22 Thread Chris McDonough
owser. -=Brad=- ___ 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 ) -- Chris McDonou

Re: [Zope] Updating one data.fs from another

2000-05-23 Thread Chris Withers
I export a whole subtree from by Dev instance and import it into the production instance... HTH, Chris Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do development on my site on my notebook, and then rather than overwriting my production data.fs, I then manually

Re: [Zope] does this app exist?

2000-05-23 Thread Chris Withers
k at: http://www.zope.org/Members/lstaffor/ZScheduler 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/zop

[Zope] Zope Newbie Questions

2000-05-23 Thread Chris Withers
that someone with time can help you out :-) Good luck, Chris PS: Short answers: - Try adding 'Image' objects for your graphic needs. - With the Free Zope Hosting option, I don't think there's any way you can do a bulk upload, but Itamar's loadsite.py utility may be able to help... - If you like

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Chris Withers
Andy Gates wrote: dtml-if action == "add" dtml-if "action=='add'" Been there, done that, learned the magic incantations ;-) The " " makes it into a python expression... cheers, Chris ___ Zope maill

Re: [Zope] dtml-in REQUEST

2000-05-23 Thread Chris Withers
try just plain dtml-var REQUEST That on it's own will probably give you what you want... Chris kwan wrote: I remember I saw somewhere about it. but I couldn't search it out again. Can anyone tell me the correct way to do things like following? dtml-in REQUEST dtlm-var "key&

Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Chris Withers
that be 'we're all') going to need it... 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

Re: [Zope] Importing a 2.1 .zexp file into 2.2

2000-05-24 Thread Chris Withers
, something, somewhere in your zexp has a wrapped object... 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

Re: [Zope] Reloading products

2000-05-24 Thread Chris Withers
Seb Bacon wrote: (n.b. is there any way of reloading a product without the tedium of stopping and starting zope?) There is a very-alpha product for doing this floating around on the zope-dev list. check the archives... Chris ___ Zope maillist

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Paul Everitt wrote: Howdy gang. Below is an announcement that we'll start distributing over the next 24 hours. I wanted to let you folks see it first. In summary: Perl Methods. Why is this a good thing? ;-) Chris ___ Zope maillist - [EMAIL

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Budi Wiyono wrote: Agreed... We can use COM, CORBA, SOAP, etc. On the other hand, we'll likely do even more things like this over the year: open up to COM, CORBA, etc. as method facilities. --Paul Now ya talkin :-) bring it on... Chris

RE: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris McDonough
The only badness I can see coming out of this is this: At present, I can consult at a client who is running Zope, and I'm reasonably confident that I can read and understand all their code. When people can write their site half in Perl, I could well be stuck... unless I learn Perl :-)

Re: [Zope] syndication??

2000-05-25 Thread Chris Withers
rk. If other people are interested, that could change... 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

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Chris McDonough wrote: This is pretty silly. Very soon we'll be forced, 'cause most Products will be in Perl (yse, I've read the FAQ and saw "no Perl Products"; it's temporary, mark you). I have to say, I'm not convinced it is. Providing Perl methods is like drill

Re: [Zope] Re: ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Brad Clements wrote: [snip story about DC peddling drugs... *joke*] Yeah, fair point, but what if it goes the other way... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
. It's going to happen now and we just have to live with it :S 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

RE: [Zope] Using relational DB for ZODB storage

2000-05-25 Thread Chris McDonough
n get more information about the project at http://www.zope.org/Members/jim/ZODB/RelationalStorage HTH, Chris -Original Message- From: Ivan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 25, 2000 12:13 PM To: [EMAIL PROTECTED] Subject: [Zope] Using relational DB for ZODB storage

Re: [Zope] Zope Email (syndication)

2000-05-25 Thread Chris Withers
difficult to use the core functionality to do something else. What is the email equivalent of Medusa? And can we 'borrow' it in the same way? Any takers? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread Chris Withers
[EMAIL PROTECTED] wrote: From the python int doc string: print int.__doc__ int(x) - integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero. I _always_ get bitten by this :( Sorry for my igorance, Chris

RE: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris McDonough
Ooo Ooo - XSLT? Presumably I should read your sentence as "You will have the option of using Perl as well as XSLT methods pretty soon" and not "Thou wilt need Perl to get XSLT methods" ? :) The former... see http://www.zope.org/Wikis/zope-xml/UseCases

Re: [Zope] ?

2000-05-28 Thread Chris McDonough
Yeah, the machine the hosts the mail lists is a little confused right now. I'm working on it... Up until a little while ago, and since Friday evening, mail addressed to the mail list wasn't going anywhere at all. Sorry folks!! This should be fixed in a little bit... "Patrick J.M. Keane"

Re: [Zope] Perl Zope

2000-05-28 Thread Chris Withers
that turns an area that is a nightmare into an area of great pride. What part do you see ZDP playing in this? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Zope Email (syndication)

2000-05-28 Thread Chris Withers
be a big challenge, IMNSHO. If it's not necessary, then don't do it, but if it is to get true mailing of content into Zope then lets get started on it it now so the end result arrives sooner... cheers, Chris ___ Zope maillist - [EMAIL PROTE

Re: [Zope] Hot backups

2000-05-28 Thread Chris McDonough
Patrick, as the Data.fs file is always appended to (as opposed to being overwritten in places), I think you should be OK backing it up on the fly. "Patrick J.M. Keane" wrote: Is there any facility in Zope for doing a hot backup, without shuting down zope, taking a backup copy of var -- can

[Zope] Duplicate messages

2000-05-29 Thread Chris McDonough
Sorry about the continued dupes folks, I'm trying to flush the sendmail mqueue on the mail list server, and its processing rules are not as smart as I would have hoped. Hopefully once the flush is done we'll be back to normal... ___ Zope maillist -

[Zope] test

2000-05-29 Thread Chris McDonough
ignore please ___ 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

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
--- dtml-var x dtml-var x dtml-var name="x" dtml-expr "x" dtml-var expr="x" dtml-var "x" cheers, Chris PS: didn't Paul Everitt comment on this in the Perl thread? ___ Zope maillist -

Re: [Zope] Traceback?

2000-05-29 Thread Chris Withers
Martijn Pieters wrote: If you switch debug mode off, tracebacks will be included in error messages as HTML comments, thus rendering them invisible from the unsuspecting site visitor. Is that true even if you override standard_error_message? cheers, Chris

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
Paul Everitt wrote: Shorthand notations are convenient, but when they get inconsistent, you wind up with the other P language. :^) Woudl that be the one we're welcoming into the fold? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Chris Withers
a lot of Zope 1.x problems just to get to the stuff that's relevant. On a more radical thought, there was talk a while back of ditching the collector in favour of a Tracker, whatever happened to that plan? cheers, Chris ___ Zope maillist - [EMAIL

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
it? ;-) 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

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
Shane Hathaway wrote: Heh heh... that's almost exactly what NetMind does, Chris. g Cool... I'm guessing it's not written in Zope though... ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] import folder at other place than root

2000-05-29 Thread Chris McDonough
Peter, you can change this in the Python file lib/python/OFS/ObjectManager.py here: def manage_importObject(self, file, REQUEST=None): """Import an object from a file""" dirname, file=os.path.split(file) if dirname: raise 'Bad Request', 'Invalid file name

Re: [Zope] Use of lambda expression in DTML

2000-05-29 Thread Chris McDonough
What I would like to say is that if your application needs lambda, filter or map, your code is getting bejond report or presentation generation (for which DTML is intended) and in the realm of data manipulation and business rules. In this case your code would be much better placed in some

Re: [Zope] defining counters in zope(newbie)

2000-05-29 Thread Chris McDonough
Sudhir, Hi... It's natural to want to do this in DTML... but probably not the best idea. I know it's a lot to chew to have to use Python to do stuff like this (you don't), but it would make your life probably a lot easier to do this in an external method or a Python method. That said

[Zope] ZCatalog previous and next items in list

2000-05-30 Thread Chris Crownhart
, 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

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
The python expression syntax strikes again :( Tom Scheidt wrote: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" You're trying to embed DTML within python here. you really want (untested): dtml-if "date1 == _DateTime.now().Day()&q

Re: [Zope] delete dictionary

2000-05-30 Thread Chris Withers
ll "del REQUEST.misc['Wednesday']" I found this in the mailing list archives at: http://zope.nipltd.com/public/lists.html cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

Re: [Zope] Zope 2.0.1 export

2000-05-30 Thread Chris Withers
about each document. Does anyone have any ideas on how to get this working ? Have you tried just replacing the data.fs of a new Zope insatll with the old one? Maybe give it a try with a backup... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: Close but no brownies for you. :-) Make that... dtml-if "date1 == _.DateTime().Day()" Ack, a genuine typo... I'm going home to sulk ;( Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma

Re: [Zope] What are the best general books on Object Oriented designprinciples?principles?

2000-05-30 Thread Chris McDonough
Chris, At the end of the article named "Gaining Zope Enlightenment By Grokking Object Orientation", (http://www.zope.org/Members/mcdonc/HowTos/gainenlightenment), you will find a reference to a book by Scott Ambler named "The Object Primer". This is a great starting point.

[Zope] What are the best general books on Object Oriented designprinciples?principles?

2000-05-30 Thread Chris Beaumont
? Obviously one of my goals is that I'd like to be able to start to understand Zope better with this knowledge Basically what I want to say is. did any books just seem clearer and less jargon-ridden than the others..? Thanks.. Chris ___ Zope maillist

Re: [Zope] Use of lambda expression in DTML

2000-05-30 Thread Chris McDonough
Nick Drew wrote: |I can see that argument... it depends on the reader, I suppose. I |wouldn't complain much actually if the Python code had functional stuff |in it. It's having it in DTML that bugs me, for reasons that |have to do |with separating HTML-like stuff from the stuff that

[Zope] WorldPilot

2000-05-31 Thread Chris Herrnberger
workarounds alternatively, what am I doing wrong. Best and thanks 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] Squishdot 0.4.0 and Zope 2.2

2000-05-31 Thread Chris Withers
with any versions of Zope prior to 2.2. 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

RE: [Zope] Proposal for mail-in to Zope

2000-05-31 Thread Chris McDonough
] Subject: [Zope] Proposal for mail-in to Zope Hi, We (NIP - in the form of Chris Withers, Stephen Harrison, and Simon Coles) have put some thought into the question of how to get emails into Zope, and have come up with a design which we thought we'd pass by the list before we start doing

Re: [Zope] KeyError since installing Squishdot 0.4.0

2000-06-01 Thread Chris Withers
=articles Yep, sorry, this was a bug introduced in the move to ZCatalog. The workaround is to append body= to the above URL. There's also a patch in the [EMAIL PROTECTED] archives. This will be fixed in 0.4.1 due on Monday once I get back from my holiday :-) cheers, Chris

RE: [Zope] ZOPE, Xemacs, html-mode, indentation.

2000-06-05 Thread Chris McDonough
I don't know about xemacs, but gnu emacs has indented-text-mode M - x indented-text-mode -Original Message- From: Skip Montanaro [mailto:[EMAIL PROTECTED]] Sent: Monday, June 05, 2000 3:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] ZOPE, Xemacs, html-mode,

Re: [Zope] Can't find some products on www.zope.org

2000-06-06 Thread Chris McDonough
Something's hosed on Zope.org. It won't be available for at least a few hours. This is baaad. Sorry. Petr Knapek wrote: Hi Zopists, today I tried to download 2 products for zope from www.zope.org (namely 'Photo' and 'A Simple Photo Album Product' and the server respond me that the pages

Re: [Zope] Missing how tos

2000-06-06 Thread Chris McDonough
Pierre, check back on zope.org in a few hours, it's having problems. The howto is still there, I'm sure. Pierre Rougier wrote: hi all, I am looking for the documentation of the "multiple selection" type, but the "how to" does not exist anymore on zope.org. argh... Has anyone of u a

Re: [Zope] Current date in DTML

2000-06-06 Thread Chris Withers
Ivan Raikov wrote: How can I get the current date time (preferably as a DateTime.DateTime object) in DTML? I cannot instantiate a DateTime dtml-var ZopeTime or dtml-var "_.DateTime()" cheers, Chris ___ Zope maillist - [EMAIL PROTE

Re: [Zope] zope:change strings on place

2000-06-06 Thread Chris Withers
Vincent Maton wrote: I receive : 2000-04-13 I want : 13-04-2000 dtml-var "_.DateTime(date)" fmt="%d-%m-%Y" or: 13 april 2000 (this one is better but ???) dtml-var "_.DateTime(date)" fmt="%d %B %Y" Try dtml-var "_.DateTim

[Zope] fmt weirdness

2000-06-06 Thread Chris Withers
dtml-var "_.DateTime()" fmt="%d %B %Y" ...works fine dtml-var "_.DateTime()" fmt='%d %B %Y' ...barfs with a 'Document Template Parse Error': Invalid attribute name, "%B", for tag dtml-var "_.DateTime()" fmt='%d %B %Y', on line 5 of ind

Re: [Zope] A problem with image caching affecting certain versions of Netscapebrowsersbrowsers

2000-06-06 Thread Chris Withers
Paul Browning wrote: ZWN-2000-06-01 says: "Itamar Shtull-Trauring and Chris Withers tracked down a problem with image caching that affected certain versions of Netscape browsers." http://classic.zope.org:8080/Collector/1270/view chee

Re: [Zope] stupid question I guess

2000-06-07 Thread Chris Withers
josh on wrote: can I set a local variable in zope on a dtml page dtml-var variablename = 1 Yup: dtml-call "REQUEST.set('variablename',1)" Nice syntax, huh? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma

Re: [Zope] How to catch URL in DTMLDocuments/Methods

2000-06-07 Thread Chris Withers
, but SiteAccess is fragile (it doesn't work with Zope 2.2a). I was going to implement this as a seperate PathHandler product for Zope 2.2 when the beta comes out. someone has already sent me their alpha code for 2.1.x but it was apparently unstable. cheers, Chris PS: Evan is SiteAccess(or its

Re: [Zope] WebObjects

2000-06-07 Thread Chris Withers
solute_url and so I sometimes get /MyWikiFolder/OneWikiPage/AnotherWikiPage which throws up a nasty __getitem__ exception (particularly in Netscape, which seems to like appending / onto the end of FrontPage in the URL box...) cheers, Chris ___ Zop

Re: [Zope] Newbie Question,

2000-06-07 Thread Chris Withers
the same way ;-) 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

[Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Chris Withers
Zope URLs should end in a / ? Quite radical, but maybe the most sensible and least confusing? :/ cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Zope URLS

2000-06-08 Thread Chris Withers
h is why I suggested all Zope URLs should end in / as all zope objects can be containers in the 'traditional' sense. Or we could just re-write HTTP to provide more useful information in the first place ;-) cheers, Chris ___ Zope maillist - [E

[Zope] Re: ZSQL Bug in 2.1.6 [patch]

2000-06-08 Thread Chris Withers
to pass one arg specifically while allowing the others to be seen in the aquired namespace? So you're calling dtml-in "SQLMethod(parm='something')"? If so, you want: dtml-in "SQLMethod(_.None,_,parm='something')" If you're doing that already, I can't help you, it's probably a bu

Re: [Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Chris Withers
Tony McDonald wrote: Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv Pretty Please :-) Chris ___ Zope maillist - [EMAIL

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
what's the point of returning a head at all?! I think this is in the collector already, but if it isn't, it should be... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
to choose ;-) 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] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
and methods, which would take care of the most common case. Thoughts? Looks great otherwise :-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Guide to writing a Python Product for Zope?

2000-06-08 Thread Chris Withers
something. ...that, or hacking it till it works and finding the thing we used was being deprecated in the next point release... ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross pos

[Zope] Announce: Squishdot 0.4.1 Released

2000-06-09 Thread Chris Withers
. - The bug requiring a 'body' parameter to be supplied to 'search' has been fixed. There are some other small changes and improvements. If you run into problems, remember Squishdot has a mailing list at eGroups and a bug collector on SourceForge. cheers, Chris

[Zope] ANN: InterbaseStorage alpha release

2000-06-11 Thread Chris McDonough
Hi, The alpha release of a Zope storage that uses the Interbase relational database to store object database information is available at http://www.zope.org/Members/mcdonc/RS/InterbaseStorage. It's a full-featured storage. Guinea pigs^H^H^H^H^H^H^H^H^H^H^H Testers wanted. -- Chris

Re: [Zope] Zope/Interbase

2000-06-12 Thread Chris McDonough
No... you wanna write a DA? :-) Somebody should. I would try, but I can't right now. It's a very nice database. Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I saw the Interbase product on the website where Interbase is being used to store the Zope database.

Re: [Zope] Importing data

2000-06-15 Thread Chris McDonough
Have you tried pushing the 'Export' button in the management interface? -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Newbie query, localhost:8080 doesnt work!!

2000-06-16 Thread Chris McDonough
See http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO -Original Message- From: Rajil Saraswat [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 7:57 PM To: [EMAIL PROTECTED] Subject: [Zope] Newbie query, localhost:8080 doesnt work!! Hi , I have

[Zope] Re: [Zope-dev] sql-statements in DTML-Methods....

2000-06-18 Thread Chris McDonough
Zope differs from PHP and ASP systems in this regard. I don't think anyone using Zope that I've seen inlines SQL inside DTML.The separation of SQL and presentation via DTML is intentional. Though it's not always as expedient, the intent of the separation is to provide you with layers of

Re: [Zope] Instanciate a ZClass out of Zope

2000-06-19 Thread Chris McDonough
This limitation will effectively go away as soon as ZEO goes open source. Oleg Broytmann wrote: You cannot open independent connection to ZODB while Zope is active - Zope locks the database, and by purpose. You must access ZODB only through Zope machinery. Or stop Zope, open ZODB and

Re: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Chris Withers
of junk at the end. I think the message is just a warning and the unarchiving has worked fine... If anyone knows different, please say ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

RE: [Zope] ZOBD caching products?

2000-06-19 Thread Chris McDonough
This is a 'feature' of the product initialization process. Note that I am just documenting buginess here, I should try to fix this when possible. When a Product can't be initialized (a syntax error, a bad import, whatever), sometimes it will revert back to the state at which it wrote a good

RE: [Zope] brain hurts regarding dynamic fcn args in Python

2000-06-19 Thread Chris McDonough
Is there a (straightforward?) way to dynamically compose function argument lists? For example, in C, you can write" f(arg1, arg2, (conditional expression)?(val for TRUE state):(val for FALSE state)). This can be emulated in Python by the boolean logic: ( ({conditional expression}) and

RE: [Zope] brain hurts regarding dynamic fcn args in Python

2000-06-19 Thread Chris McDonough
Oops, I'm not quite right about this. This FAQ explains it better... http://www.python.org/doc/FAQ.html#4.16 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 19, 2000 4:51 PM To: [EMAIL PROTECTED] Subject: RE: [Zope] brain hurts regarding

Re: [Zope] scared

2000-06-20 Thread Chris Withers
when zope tried to write to the log file. Did you do any funny configuration fro your logging? What version of Zope are you using? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

RE: [Zope] Embedding authentication in a Zope Website

2000-06-20 Thread Chris McDonough
Chris, Thanks for the speedy reply. I appreciate it. The questions I have now is how do you: 1) give users the opportunity to log in... where do you actually do authentication? is there a url they must point to? should I be calling any python functions, or perhaps writing my own

RE: [Zope] Basic site management using zope and other queries

2000-06-20 Thread Chris McDonough
1. Can zope do basic site management. for example missing link checks. say if we call an object which doesnt exist. can zope show us where we have gone wrong.(without actually checking each and every object manually) No. 2. I have large number of small html documents(17,000). I

RE: [Zope] help a zope newbie

2000-06-26 Thread Chris McDonough
I have seen few site powered by Zope. One thing I had noticed is that almost all of those sites are mostly static pages. I mean I am interested to see how can Zope be used for a portal. like containing many pages having lots of form variables. database connectivity etc. what is the

RE: [Zope] Unique Identifiers for Zope Objects

2000-06-26 Thread Chris McDonough
I'm looking for an internal globally unique identifier for objects in my Zope store. The object path would be that. I know that I can use id=object.absolute_url() to create an identifier and then something.resolve_url(id) to recover the object from the identifier -- but I have two

RE: [Zope] More verbose zope errors

2000-06-26 Thread Chris McDonough
Do a view source on the page to show the traceback contents when they don't show up within the page body. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 11:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope]

RE: [Zope] geting the type of an object from within dtml ??? == it works

2000-06-26 Thread Chris McDonough
in an external method, would not this work?: def getclass(self, ob): return type(ob) Then use the getclass fn from DTML: dtml-var "getclass(anobject)" -Original Message- From: NABETH Thierry [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 4:11 AM To: '[EMAIL PROTECTED]'

Re: [Zope] Bizarre new problem...

2000-06-26 Thread Chris McDonough
I suspect this is coming from MySQLdb. From the Python DB-API spec: OperationalError Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a

Re: [Zope] Generating products that perform a smart clone of a master site?

2000-06-27 Thread Chris Withers
the instances to be updated) then you'll need to use ZClasses. I have vague memories of the Zope Developers Guide covering this, if not, try BeeHive's ZClass guide. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope] Can't override standard_error_message on NotFound?

2000-06-27 Thread Chris Withers
it's still showing the original Not Found error then you're suffering from bugginess. HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://list

  1   2   3   4   5   6   7   8   9   10   >