[Zope-dev] Re: self = self.this() in Factory Methods [Was: Dynpersist.so and makefile.pre.in]

2002-02-01 Thread Andrew Kenneth Milton
+---[ Stefan H. Holek ]-- | At 01.02.2002 10:44 -0500, R. David Murray wrote: | | All, | | Please have a look at my patch for XUF at | http://www.zope.org/Members/shh/Patches/exUserFolder-0.10.4.patch | | I believe that manage_addexUserFolder() is faulty, in that it does

Re: [Zope] ZDatabaseTool password

2001-01-30 Thread Andrew Kenneth Milton
+---[ Andreas Heckel ]-- | Thank you all for your interest in my new Zope Product. | In the past 36h there were avg 750 visits (26000 hits) on my page :-) | Some of you asked me for username/password. So here it is ... | | To create new ZDatabaseWizard objects at

Re: [Zope] ZDatabaseTool password

2001-01-30 Thread Andrew Kenneth Milton
+---[ Andreas Heckel ]-- | Andrew Kenneth Milton wrote: | | +---[ Andreas Heckel ]-- | | Thank you all for your interest in my new Zope Product. | | In the past 36h there were avg 750 visits (26000 hits) on my page :-) | | Some of you asked me

Re: [Zope] License

2001-01-29 Thread Andrew Kenneth Milton
+---[ Oleg Broytmann ]-- | On Mon, 29 Jan 2001, Chris Withers wrote: | Olaf Zanger wrote: | | is the product planned to ship under GPL or an corresponding licence? | | Please don't shit it under GPL, it makes it much less useful :-S | A variant of the Zope License

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Andy Gates ]-- | Another one from the "my brain don't work" side of the tracks: | | I have a staff list that I want to be orderable by first or last name. | So I have buttons for each that link thus: | | a href="staff?orderby=firstname" etc | | The idea is that

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Andrew Kenneth Milton
+---[ Geoff Armstrong ]-- | on 1/23/01 12:34 PM, Oleg Broytmann at [EMAIL PROTECTED] wrote: | | In DTML there doesn't seem to be a way of saying, "I have this string with | the name of an object, now fetch me the object." if objectname is actually a variable with the

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | Hi all, | """ | dtml-with mydoc | dtml-var render | /dtml-with Why don't you just do dtml-var mydoc ? you can also do dtml-var "mydoc.render(_.None,_)" I suppose -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | I tried dtml-var "mydoc.render(_.None,_)" | | The same result : does'nt work...(exactly like with the dtml-with tag) and dtml-var mydoc ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Oliver Bleutgen ]-- | Then change your Z SQL Method to look like; | | select * from Customers where | foofield=dtml-sqlvar search type=string | dtml-if orderby | ORDER BY dtml-var orderby | /dtml-if | | Hmm, I wouldn't do that, you're trusting the client

Re: [Zope] dtml-in sql = dtml-in anything?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Joh Johannsen ]-- | | I'd like to just have the external method return exactly the same thing | as the ZSQL, but I'm having some problem finding what format (if any) | that is. | | Is this sort of thing even possible? You'll need to look at the ResultSet class that

Re: [Zope] SQL query result set - what data structure how to access [(elements)]?

2001-01-21 Thread Andrew Kenneth Milton
+---[ Lee ]-- | Hi, | | I'm using a python method to query my database as follows, where I need | to use the result set to generate some HTML. I'm interested in result[0] | and result[1] as listed below; | | * return result[0] gives me: | [{'name': 'PRACTICALS', 'type':

Re: [Zope] ZSQL: postgres, SELECT INTO

2001-01-20 Thread Andrew Kenneth Milton
+---[ Steve Drees ]-- | Has anybody selectively used SELECT INTO with zope/postgres? It's probably dying because there can only be ONE SELECT clause in a ZSQL Method. The SELECT ... INTO will be triggering a false positive. -- Totally Holistic Enterprises Internet|

Re: [Zope] Postgresql Query.

2001-01-17 Thread Andrew Kenneth Milton
+---[ ethan mindlace fremen ]-- | --On Wednesday, January 17, 2001 04:33:25 PM +1000 Andrew Kenneth Milton | [EMAIL PROTECTED] wrote: | | Normally, I would tell you to visit; | | http://www.zope.org/Documentation/ | | but, some monkey has designed the interface w/o

Re: [Zope] Postgresql Query.

2001-01-16 Thread Andrew Kenneth Milton
+---[ Jason C. Leach ]-- | hi, | | I'd like to learn a bit more on how to do a SQL query on a postgres DB | from Zope. Like how to do it, what is better DTML or Python for it, and | how would I do it in DTML (I can probably get python working fine). You have to use a

[Zope] Problems with RESPONSE.redirect + SiteAccess

2001-01-12 Thread Andrew Kenneth Milton
I have a weird problem with SiteAccess. I have a Python Product, that has a method; def manage_ProductsRedirect(self, RESPONSE, URL2, REQUEST={}): ''' Redirect to the Product Module ''' print URL2 RESPONSE.redirect(URL2+'/Packages') This code works when simply

[Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Andrew Kenneth Milton
+---[ Olaf Zanger ]-- | Hi there, ... | What does the whole thing do anyway? Finds all the phrases that don't have a translation for the language selected. It's hard to find things that don't exist in databases without nested selects which MySQL did not have at the

Re: [Zope] Fw: Zope.org feedback

2000-12-17 Thread Andrew Kenneth Milton
+---[ Michael Bernstein ]-- | | Federal registration is not required to establish rights in a trademark. | Common law rights arise from actual use of a mark. Generally, the first | to either use a mark in commerce or file an intent to use application | with the Patent

Re: [Zope] Multiple ZODBC sources

2000-11-22 Thread Andrew Kenneth Milton
+---[ Capesius, Alan ]-- | I need to join tables from two ODBC sources, one MS Access one SQL. | | ZODBC DA seems to be limited to one data source at a time. Is there any way | to join tables from two different sources? Write a method to copy the results from Access

Re: [Zope] The new Python Method renaming Poll

2000-11-16 Thread Andrew Kenneth Milton
+---[ Michel Pelletier ]-- | Andrew Kenneth Milton wrote: | | +---[ Michel Pelletier ]-- | | | | asking the question "Who is buried in Grant's tomb?". Duh. | | Perhaps for the non-americans, someone can tell us why

Re: [Zope] Zope declining?

2000-11-11 Thread Andrew Kenneth Milton
+---[ Hung Jung Lu ]-- | Hi, [Snip] | I know what many would say: there are now more experts than newbies as | compared to before. There are not as many problems as before, etc. But that | is that really all? I don't think so. I think they're all coming to the IRC

Re: [Zope] insert but updates don't work

2000-11-05 Thread Andrew Kenneth Milton
+---[ Bowyer, Alex ]-- | but get an authentication challenge that I can not pass. | Is there something special about sql updates? You don't have 'permissions' to an update, this is a ZSQL perms problem. You might need to give your update method a 'proxy' role to fix it.

Re: [Zope] insert but updates don't work

2000-11-05 Thread Andrew Kenneth Milton
+---[ Graham Chiu ]-- | | You don't have 'permissions' to an update, this is a ZSQL | perms problem. | You might need to give your update method a 'proxy' role | to fix it. | | I thought this was fixed some time ago, do you have some | particularly | ancient

Re: [Zope] IIS and Zope share same problem :-S

2000-10-20 Thread Andrew Kenneth Milton
+---[ Chris Withers ]-- | MICROSOFT WEBSERVERS LAID OPEN FOR ALL TO SEE | by Dave Murphy, [EMAIL PROTECTED] | | Microsoft is scrambling to repair damage caused by a | security hole in its IIS 4 5 webserver that runs on | Windows NT/2000. Microsoft claims over four

Re: [Zope] Odd SQL errors- HELP

2000-10-09 Thread Andrew Kenneth Milton
+---[ Jon Franz ]-- | | +---+--+--+-+-++ | | Field | Type | Null | Key | Default | Extra | | +---+--+--+-+-++ | | id| mediumint(8) | | PRI | 0 |

Re: [Zope] 'self' in external methods

2000-10-03 Thread Andrew Kenneth Milton
+---[ seb ]-- | Hello, | | Whenever I do a | def play(self,sound): | return sound You don't define self as a parameter to an external method, so: def play(sound): will work fine in an external method. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066

Re: [Zope] database connection problem (halting Zope)

2000-10-03 Thread Andrew Kenneth Milton
+---[ Hrasky Petr ]-- | Hello everybody, Hi.. | I understand that long query blocks database connection, but I thought | Zope is threaded, so it should run other requests not using this | database connection just fine, no? You are correct, that should be the case.

Re: [Zope] FSF about Zope and GPL'ed components

2000-09-20 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | Let me ask a more precise question. | | Zope is not released under GPL. | | Joe repleases a component which can be used with Zope under GPL license. | Zope.org makes it available for download, but in no way incorporates | it into their base

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Andrew Kenneth Milton
+---[ Dennis Nichols ]-- | At 9/15/00 10:05 AM, Chris Withers wrote: | So: | | dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url | | will work as I expect it to? | | Well, I don't know what you expect :-) When I try to save such a construct | with the

Re: [Zope] Zope Crash!!!

2000-09-15 Thread Andrew Kenneth Milton
+---[ Aitor Grajal ]-- | | | I have only one z2.py running, and run all day and night ;-), | but sometimes (only managing Zope, not running other process z2.p) , this exception |jump, | but I haven´t two process, only have one. | I want know why crashIt´s very rare

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Andrew Kenneth Milton
+---[ Dario Lopez-Kästen ]-- | | From: "Toby Dickenson" [EMAIL PROTECTED] | If that is your motivation then you may find that you get *more* back | by not using the GPL. My contributions to Zope (both personal and on | company time) are fairly significant in total, and

Re: [Zope] Zope and the GPL poison pill

2000-09-13 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | On Wed, Sep 13, 2000 at 11:29:23PM +0200, Nils Kassube wrote: | I'm only pointing out what I think is a problem with using a | GPL'ed component in a Zope site. | | My Zope-specific problem is: If I use a GPL'ed component in a complex |

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Andrew Kenneth Milton
I love the smell of napalm in the morning. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068

Re: [Zope] Icons in a product

2000-09-08 Thread Andrew Kenneth Milton
+---[ Petr Knapek ]-- | Hi Zopists, | I would like to know if there is any possibility how to publish an icon | on the web which is in www folder of my own created product. That is I | want to put some icons into the www folder of my product and to have | possibility to

Re: [Zope] Icons in a product

2000-09-08 Thread Andrew Kenneth Milton
+---[ Petr Knapek ]-- | On Fri, 8 Sep 2000 23:18:40 +1000, Andrew Kenneth Milton |[EMAIL PROTECTED] said: | | Hi Andrew, | thank you very much for quick answer but I it doesn't work because | in my __init__.py I register the product with the initialize(context

Re: [Zope] supplemental group ids (Linux)

2000-09-05 Thread Andrew Kenneth Milton
| I saw this on Linux; supplemental groups come from the BSD tradition, | so you likely will find the same situation on *BSD, Solaris, etc. Sorry I missed the start of the thread, but, I can weigh in on this point. Using -u user under FreeBSD gives you the Primary Group for the user you have

Re: [Zope] dtml-comment Fine, don't fix :P

2000-09-05 Thread Andrew Kenneth Milton
+---[ Chris Withers ]-- | Andrew Kenneth Milton wrote: | Th second part of the problem is that ChrisW(hinger) really wants it, | | "really wants it" might be a little strong... I'm not loosing any | sleep... | | but, | doesn't want to do what is neces

Re: [Zope] supplemental group ids (Linux)

2000-09-05 Thread Andrew Kenneth Milton
+---[ Kip Rugger ]-- | | On my machine 101 is uid and gid for nobody; as you can see | junkbuster is correctly sandboxed. For unmodified Zope, you'll | see a zero in the indicated line (or possibly several values | if root belongs to several groups like `wheel' on your

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Andrew Kenneth Milton
+---[ Chris Withers ]-- | Andrew Kenneth Milton wrote: | But then you'd have to parse the contents to find out if the comments are | properly nested... | | Well, the parsing should be pretty simple: | 1. find dtml-comment | 2. search for /dtml-comment Or dtml-comment

Re: [Zope] dtml-comment doesn't? Please fix... ;-)

2000-09-04 Thread Andrew Kenneth Milton
+---[ Kip Rugger ]-- | | [snip] | | dtml-if "0" | crap | more crap | dtml-if "0" | Lots of crap | /dtml-if | /dtml-if | | by analogy with the common practice of #if 0 in C Won't work, the container will still be parsed for correctness at 'save' time. The problem isn't

Re: [Zope] Regaining lost privileges

2000-09-03 Thread Andrew Kenneth Milton
+---[ Nigel Head ]-- | Hi Andrew! | | On Fri, 01 Sep 2000, you wrote | ... | I saw people asking about building 'admin' systems using Zope, this isn't | going to be trivially possible without super user privs. | | That people was me. Having looked into things a little

Re: [Zope] Is anyone know when Zope was born ???

2000-09-01 Thread Andrew Kenneth Milton
+---[ Paul Everitt ]-- | | As far as I'm concerned, Zope was born Saturday, June 8, 1996. This was | Jim Fulton's plane trip back from IPC4: | | http://www.python.org/workshops/1996-06/ That's the conception date, if you always skip straight to the birth, you're

[Zope] Regaining lost privileges

2000-09-01 Thread Andrew Kenneth Milton
Is there anyway to regain 'root' privs from inside a zope product? Using the -u flag to start causes the privs to be permanently gone because z2.py uses setuid + setgid (and python doesn't seem to define sete[ug]id, at least not on my system). Other than running zope as root permanently (which

Re: [Zope] Not like ASP complaint - any good answers

2000-08-24 Thread Andrew Kenneth Milton
+---[ Sean McGrath ]-- | All, | | I have had a number of e-mails from developers | using Microsoft ASP in recent days. The paraphrased consensus | in the e-mails is that the external | methods/python methods approach to mixing markup | with code in Zope is more clunky

Re: [Zope] Linux and ODBC

2000-08-24 Thread Andrew Kenneth Milton
+---[ Tony Corrente ]-- | Hello.. | | I am currently using the openlink ODBC drivers to access Progress DB's | on a HPUX System from A Linux Web Server using Apache and PHP4. It | Works... | The rest of my site has been moved to Zope. Everything I've read states |

[Zope-dev] Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | I would like to loop through the contents of a folder, and the | contents of the subfolders of that folder. I know I can do this to a | singular level by doing something like: | | dtml-in "subfolder.objectValues('Folder')" | dtml-var title |

[Zope-dev] Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | What would the "Recurse_Subfolder" method do? | | dtml-in "root.objectValues('Folder')" | dtml-in "_.range(depth)"nbsp;/dtml-indtml-var title | dtml-var "Recurse_SubFolder(root=this(),depth=depth+1)" | /dtml-in That *is*

Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | I would like to loop through the contents of a folder, and the | contents of the subfolders of that folder. I know I can do this to a | singular level by doing something like: | | dtml-in "subfolder.objectValues('Folder')" | dtml-var title |

Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ Jason Cunliffe ]-- | Hello | | oops!.. I just tried this and now I am getting error messages saying "not | authorized" to access 'objectValues' - stranger yet seems to have broken my | login to Zope - so I am locked out from even getting back into the site to | fix

Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ Phil Harris ]-- | Andrew, | | You *almost* seem to be enjoying this ;) Until I get sued for code I paste to a mailing list d8) The day will come, mark my words, that someone will get sued for trying to help. -- Totally Holistic Enterprises Internet| P:+61

Re: [Zope] calling (SQL) methods dynamically from External methods

2000-08-21 Thread Andrew Kenneth Milton
+---[ Philipp Auersperg ]-- | Thanks for the answer, it helped me, | but you missed what I really wanted. Sorry. d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082

Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Andrew Kenneth Milton
+---[ [EMAIL PROTECTED] ]-- | What would the "Recurse_Subfolder" method do? | | dtml-in "root.objectValues('Folder')" | dtml-in "_.range(depth)"nbsp;/dtml-indtml-var title | dtml-var "Recurse_SubFolder(root=this(),depth=depth+1)" | /dtml-in That *is*

Re: [Zope] dtml-comment doesn't?

2000-08-20 Thread Andrew Kenneth Milton
+---[ Jan H. Haul ]-- | Tino Wildenhain wrote: | | dtml-comment is a tag like all the other tags. It does not | control the parser. One advantage is, you may nest comment-tags. | | True. | But still, the parser could read over all comments as long as the | dtml-comment

Re: [Zope] calling (SQL) methods dynamically from External methods

2000-08-20 Thread Andrew Kenneth Milton
+---[ Philipp Auersperg ]-- | | What I want to do is calling a SQL method given its | name as string, so I first have to get the method out of | the self.__dict__ and then call it. I need that for calling | the SQL methods dynamically for example out of an URL | string.

Re: [Zope] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | I want to create a tag that has sub-tags. | | Now I know I can use blockContinuations to approximate this, but, I | think it would be cleaner to be able to define tags that are only available | within

Re: [Zope] Nested Tag Creation

2000-08-18 Thread Andrew Kenneth Milton
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | I want to create a tag that has sub-tags. | | Now I know I can use blockContinuations to approximate this, but, I | think it would be cleaner to be able to define tags that are only available | within

[Zope] Nested Tag Creation

2000-08-17 Thread Andrew Kenneth Milton
I want to create a tag that has sub-tags. Now I know I can use blockContinuations to approximate this, but, I think it would be cleaner to be able to define tags that are only available within the context of the main tag (namespaces and all that). Is this possible? Without rolling my own

Re: [Zope] Seeking Zope Volunteers

2000-08-15 Thread Andrew Kenneth Milton
y+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | +---[ Lyno Sullivan, Candidate ]-- | | Greetings, | | | | My name is Lyno Sullivan and I am the endorsed Independence Party (see | | [ snip ] | | And you are now Lyno

Re: [Zope] Make a Python Products Add list show only certain meta types?

2000-08-12 Thread Andrew Kenneth Milton
+[ Kapil Thangavelu ]- | Kevin Howe wrote: | | I have a custom Python class (Container) which uses Folder as it's base | class. I also have a custom Python class (AnObject). I want it so that when | you view a Container object, "AnObject" will

Re: [Zope] More threading

2000-08-09 Thread Andrew Kenneth Milton
+[ Chris Withers ]- | Nicholas Lo wrote: | so, is there anyway to make database routines run in separate threads? | | Me too! (tm) | | What I'd really like to do is to cpu intensive stuff (like mass | cataloging ;-) in a seperate thread or

Re: [Zope] Batchpeocessing with multiple selection

2000-08-02 Thread Andrew Kenneth Milton
+[ vikas ]- | the varibles are not geting passed again when i click on next sequence. You have to pass the variables, to the page that *does the query* The query is run every time, just different results are displayed. If this is a problem, check

Re: [Zope] dtml-calendar question.

2000-08-02 Thread Andrew Kenneth Milton
+[ R. David Murray ]- | On Sat, 12 Aug 2000, tom smith wrote: | dtml-in get_days_events(dtml-var "date.mm()"/dtml-var | "date.dd()"/dtml-var "date.yy()") | | Untested: | | dtml-in expr="get_days_events('%s/%s/%' %

Re: [Zope] dtml-calendar question.

2000-08-02 Thread Andrew Kenneth Milton
+[ R. David Murray ]- | On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: | | Untested: | | | | dtml-in expr="get_days_events('%s/%s/%' % (date.mm(),date.dd(),date.yy())" | | | | Inside the quotes you are in Python... |

Re: [Zope] ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT

2000-08-02 Thread Andrew Kenneth Milton
+[ Jim Sanford ]- | | I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually |with the start.bat my ZSQL methods work fine. | When I start Zope as a service, every ZSQL method returns a SQL error that states |that the

Re: [Zope] Snapshots and Demo of Products

2000-07-28 Thread Andrew Kenneth Milton
+[ Peter Bengtsson ]- | | This is especially important for the Zope product itself. I have noticed | that the first thing I do when I browse zope competitors homesites, is to | look at screenshots. Screenshots of the website you're currently

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

2000-07-25 Thread Andrew Kenneth Milton
+[ Brian Lloyd ]- | 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 this for the next release by

[Zope] Announce: WiFLZ Simple Widget Framework for Zope

2000-07-23 Thread Andrew Kenneth Milton
Greetings once again, This is the start of the Widget Framework for Zope. http://www.zope.org/Members/TheJester/WiFLZ/ It's an attempt at building something for re-use slightly more cohesive than methods and documents, and slightly less cohesive than Products and ZClasses. README Excerpt:

Re: [Zope] re: Meta Type Registry

2000-07-23 Thread Andrew Kenneth Milton
+[ Steve Alexander ]- | Andrew Kenneth Milton wrote: | | I'm not sure that Zope will actually let you successfully register two | classes or baseclasses with the same meta-type... | | The meta-type is further qualified by the name of the Product

Re: [Zope] re: Meta Type Registry

2000-07-22 Thread Andrew Kenneth Milton
+[ Steve Alexander ]- | Andrew Kenneth Milton wrote: | | Is there a Product Builders meta-type registry somewhere? | | I can see things getting messed up in the near future as the number of | products proliferates and meta-types start

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | | Perhaps you can suggest a simple way to do something like the following: | | dtml-if "REQUEST.form.has_key('foo')" | dtml-let previouslyEnteredValue="REQUEST.form['foo'] | input type=text ...

Re: [Zope] ZBabel performance??

2000-07-20 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | Hi, | | I was able to install and test the ZBabel product. | Very nice product indeed!! I have a question about performance.. Thanks :-) [...snip...] | However my concern that if the page is accessed by thousands | of

Re: [Zope] ZBabel performance??

2000-07-20 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- Snip... | translated. However my concern that if the page is accessed by thousands | of people, does Zope cache the translated text and serve it? does ZBabel I've added caching of phrase lookups using the ZSQL Methods

[Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
Some people have been bugging me to release this so here we go:- http://www.zope.org/Members/TheJester/ZBabel/ The doco is shambolic to say the least, and there are no examples at the moment and no list of what hooks are available. It does not automatically translate for you, it assists you to

Re: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
+[ Albert Langer ]- | | Thanks for "ZBabel". I've only just downloaded it and haven't played with it | yet, but from just reading through, it looks like it will be a great | approach! Ta. | One thing I'm not clear on, which you might want to deal

Re: [Zope] Announce: ZBabel a Translation Assistant for Zope

2000-07-18 Thread Andrew Kenneth Milton
+[ Albert Langer ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | [Andrew] | Yes you can embed DTML inside the block and it will resolve all of the | DTML before translating the result. You can turn this behaviour off. | This is why I

Re: [Zope] How to deal with MySQL's LAST_INSERT_ID() sensibly?

2000-07-11 Thread Andrew Kenneth Milton
+[ Stefan Franke ]- | | As far as I understand from the MySQL manuals, the value of LAST_INSERT_ID() | is maintained on a per-connection basis (wish it would be | per-connection/per-table; | a LAST_INSERT_ID(table_name) would make much more sense in

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Andrew Kenneth Milton
+[ Anders Holmbech Nielsen ]- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ? I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to

Re: [Zope] error going from 2.1.6 to 2.2b3

2000-07-05 Thread Andrew Kenneth Milton
+[ Anders Holmbech Nielsen ]- | +[ Anders Holmbech Nielsen ]- | | Hi, | | | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | | error. What could be the problem ? | | I can't

Re: [Zope] uploading from client PC in MySQL thru ZSQL

2000-07-04 Thread Andrew Kenneth Milton
+[ Didier Georgieff ]- | | SQL used: | LOAD DATA LOCAL INFILE 'D:/Data/SIT67/AnnuaireTest.csv' | INTO TABLE annuaire FIELDS TERMINATED BY ';' Local means local to the actual mysql client (your webserver), not local to your user (browser). You

Re: [Zope] About Powered by Zope...very simple, isn't it?

2000-07-04 Thread Andrew Kenneth Milton
+[ Pierre Rougier ]- | Hi zopatistas, | well... this is not a very important thing, but I would like to remove | the picture "Powered by Zope" at the end of my Zope Pages... | is it possible..? I though it was in the "standard html header" but it |

Re: [Zope] too many open files

2000-07-04 Thread Andrew Kenneth Milton
+[ Ragnar Beer ]- | Help! | | Zope 2.1.6 refuses to work in the middle of an external method on my | i386 running under OpenBSD 2.7. Is says: | | OSError | [Errno 24] Too many open files:

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Andrew Kenneth Milton
+[ Luke Tymowski ]- | Hello, | | I'm still having trouble trying to get Zope to use/ignore header and footer | code in the appropriate places. ...snip... | So. Is there a better way to do this? Or is the above meet and right and | not worthy

Re: [Zope] Is there a better way to code this?

2000-07-03 Thread Andrew Kenneth Milton
+[ Luke Tymowski ]- | Hello Andrew, | | You should set flags to say when it's safe to render the header/footer, | or you should remove the header/footer calls from documents you want to | embed. | | Can't do the latter. | I'm building a weblog. I

Re: [Zope] What's wrong with this code?

2000-07-02 Thread Andrew Kenneth Milton
+[ Luke Tymowski ]- | Hello, | | When: | dtml-unless renderedheader | dtml-call "REQUEST.set('renderedheader',1)" | blah blah | /dtml-unless ...snip... | If I create a simple page like: | dtml-var standard_html_header | pThis is some text./p |

Re: [Zope] FOR loops?

2000-06-30 Thread Andrew Kenneth Milton
+[ Andy Gates ]- | This ought to be easy: ... | Presenting these in a SELECT input I want to show the indentation so | it's easy to see and use. Obvious answer is to use nbsp; characters | to pad the values thus: You have to drop to the python

[Zope] Re: [ZCommerce] Secure storage of credit card info

2000-06-29 Thread Andrew Kenneth Milton
+[ Curtis Maloney ]- | On Fri, 30 Jun 2000, Andrew Kenneth Milton wrote: | Just to make those people who think "It will never happen to me" think | twice, the Australian Government Treasury site was hacked and lots of | banking details

Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Andrew Kenneth Milton
+[ Nestor A. Diaz L. ]- | Hi, anyone know how to bypass the dtml-code, that's because i'm writing a | howto with showing the use of some "dtml-tags" so it tries to interpreting | it rather than only showing them. | It's easy:- Make a method

Re: [Zope] MySQLDA Problems with simple constant/function queries

2000-06-24 Thread Andrew Kenneth Milton
+[ Stefan Franke ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | I'm using MySQLDA 1.1.3 on Win32. When I type the following queries | into the test tab edit box, I get the traceback below: | | select LAST_INSERT_ID() | | or | |

Re: [Zope] Starting Zope on FreeBSD 2.2.8---Python dumps core

2000-06-23 Thread Andrew Kenneth Milton
+[ Loren M. McCarter ]- | I'm having difficulty starting Zope. | | Versions: | Zope: 2.1.6, compiled from source with "python wo_pcgi.py" | Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 | Python is compiled with

Re: [Zope] dtml-always et al

2000-06-23 Thread Andrew Kenneth Milton
+[ Lalo Martins ]- | On Fri, Jun 23, 2000 at 12:49:16PM +0530, Shalabh Chaturvedi wrote: | Hi: | | Could you give an equivalent using the current dtml tags? | | From: Jay, Dylan [EMAIL PROTECTED] | | dtml-if X |a href="a_url" |

Re: [Zope] ISP supporting zope

2000-06-18 Thread Andrew Kenneth Milton
+[ Rajil Saraswat ]- | hi everyone, | can anybody give me names of ISP's providing zope support. I wil prefer | US for the ISP locations. Is any such list available on the net or zope | site. Yes. -- Totally Holistic Enterprises Internet| P:+61

Re: [Zope] ISP supporting zope

2000-06-18 Thread Andrew Kenneth Milton
+[ Rajil Saraswat ]- | hi everyone, | can anybody give me names of ISP's providing zope support. I wil prefer | US for the ISP locations. Is any such list available on the net or zope | site. | Thanks Hrm obviously my Zen attempt to get you to

Re: [Zope] Zope on NT - port problem

2000-06-14 Thread Andrew Kenneth Milton
+[ - - ]- | Hi all | | How do I customise the port number that Zope installs to? I'm | running NT and there is already a service running on the default | port 8080. You have a few option... -P and a number -P 9000 means you get web on 9080 and

Re: [Zope] Referring to a total-xxx variable

2000-06-14 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | | | Following on from my last posting I seem to have made a lot of progress - | although still not sure if what I have done is the right thing or not. However, | please somebody put me out of my misery. In the following

Re: [Zope] RSSChannel

2000-06-13 Thread Andrew Kenneth Milton
+[ Oleg Broytmann ]- | On Tue, 13 Jun 2000, Martijn Pieters wrote: | It is listed, just under a different name. A search for 'RSS' lists a product | called 'Site Summary' by Edd Dumbill as the first hit. This is immediatly the | only product for

[Zope] Re: [ZCommerce] Re: [Zope] Costs of implementation

2000-06-13 Thread Andrew Kenneth Milton
+[ J. Atwood ]- | | This is very rough but should be around the amount of time. This does | mean full "developing days" which are about 10-14 hours. I don't know Remind me to get paid by the hour if I ever do any work for you :-) -- Totally

Re: [Zope] Zope as a program

2000-06-13 Thread Andrew Kenneth Milton
+[ Malcolm C. Mallette ]- | Zope is the sorst escuse for a program I have ever encountered. Right after your spell-checker. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd |

Re: [Zope] zope as program

2000-06-13 Thread Andrew Kenneth Milton
+[ Malcolm C. Mallette ]- | Zope is the worst excuse of a program I have ever encountered. Haven't spent long in Microsoft land have you? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd

Re: [Zope] SINGOFF

2000-06-12 Thread Andrew Kenneth Milton
+[ [Juanjo Garc_a] ]- | | SINGOFF La La La La -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411

Re: [Zope] error (200)

2000-06-11 Thread Andrew Kenneth Milton
+[ Martijn Pieters ]- | On Sat, 10 Jun 2000, you wrote: | On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote: [Lots of Snipping] |This is the error that shows up on the console when going to Product Management |or accessing

Re: [Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread Andrew Kenneth Milton
+[ chas ]- | | | ps. In the past I've got around this by ensuring that if the | very first request from a given browser is dealt with by, say, | server silo8.domain.com, then all subsequent requests from that | browser are also dealt

  1   2   >