Re: [Zope] Want to access ZClass Instance from external program

2000-10-18 Thread Ender
Jon Prettyman wrote: > > Well, I've gotten xmlprclib and fixed it up so I can talk to my > server. So far I can retrieve objectIds and retrieve objects via an > objectid, but I can't figure out how to get to the property sheets. > > Here's what I've got: > > server = Server( "http://jonprettym

Re: [Zope] Want to access ZClass Instance from external program

2000-10-18 Thread Ender
lues in your propertysheets this will be trickier as you'll need to either retrieve the property you want independently or import Zope's DateTime module. also remember to set the security on the helper method so its not helping somebody hack your site. the rest of the ways are exercises

Re: [Zope] Strings, Names and dtml-var

2000-10-21 Thread Ender
[EMAIL PROTECTED] wrote: tested > > Ok, Being fairly new at Zope, I am really confused, I think I have > looked through all the FAQs, How to's, examples, and what ever, but > I still can not get the right combination to get this to work (many > combinations tried :-)...). The basic intent

Re: [Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Ender
multiple non-select statements (max 1 select) are done through the use of kapil Noah wrote: > > Hi, > > I'm using MySQL. I need to have a ZSQL Method that does an insert and a select in >one call. > After I do an insert I need to check the LAST_INSERT_ID to get the primary key of the > rec

Re: [Zope] Creating Object

2000-10-22 Thread Ender
Salvatore DIDIO wrote: > > Hello, > > I am new to Zope > I've just installed Zope on Linux. I just can't create any object !. > I receive the following message : > the object can not be owned by the superuser > (line 217 in file Owned.py) > Could someone help me ? > > Thank you very much i

Re: [Zope] Problems with sequence-item

2000-10-22 Thread Ender
I thought at first this might be a permission problem, but after browsing around the site. i'm pretty sure its a calling issue. its hard to say for sure given the lack of details. Taco, i'm pretty sure your objectValues on the addressen folder to fill in to fill in the addresses of the artiklen d

Re: [Zope] HELP! Permissions problem, ZClass

2000-10-22 Thread Ender
trying giving anonymous proxy roles on the actual add method. Eric Walstad wrote: > > Help, pls! I have a ZClass that is functioning beautifully if I am logged > in, but the anonymous user keeps getting prompted for a password. The > problem occurs when my DTML method trys to create a new in

Re: [Zope] Looking for short term Zope contractor

2000-10-23 Thread Ender
Hello, i'm an experienced zope/acs developer in Pasadena,CA. my resume to follow. Cheers Kapil Kapil Thangavelu Contact Information: [EMAIL PROTECTED] [EMAIL PROTECTED] http://lostworld.imeme.net http://sindev.dhs.org 2445 E. Del Mar Apartment 238 Pasaden

Re: [Zope] Looking for short term Zope contractor

2000-10-23 Thread Ender
Doh!, i've gotten far to use to hitting reply all on my emails:) kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listi

Re: [Zope] One last request

2000-10-23 Thread Ender
Taco Scargo wrote: > > I have one unsolved mystery left. What I am trying to do is print the titles > from the DTML Documents in the 'artikelen' folder (and actually another > property called 'inleiding'. I believe the code below should do this, but it > does not work. It returns 'Zope' instead o

Re: [Zope] Modifiable local variables

2000-10-24 Thread Ender
Sean McGrath wrote: > > Hello all, > > I am trying to use the DTML engine outside of Zope, and would like to be > able to create local variables in my DTML documents. Because I have no > access to Zope, I can't do REQUEST.set, nor can I use the method shown on > http://www.zope.org/Members/Dunca

Re: [Zope] using a dictionary returned from an external method

2000-10-24 Thread Ender
Matthew Wilbert wrote: > > I have some DTML that needs to call an external method that returns a dictionary. I >don't have any problem referencing the resulting dictionary by doing something like > > > > . > . > > However, I need to do this for several keys, and I don't > want to call ext

Re: [Zope] Python product - inherittance

2000-10-25 Thread Ender
Petr Knapek wrote: > > Hi Zopists, > I have a problem with inherittance of my publishable python classes. > I created in python > > classA and classB(classA) > > classA has functionA and classB has functionB. In __init__.py of my > product I register only classB. > > My problem is that it is n

Re: [Zope] Not grocking RESQUEST.set syntax

2000-10-25 Thread Ender
Noah wrote: > > I'm still not grocking the syntax for setting REQUEST fields. > I want to set a REQUEST field "filename" to be the value returned > by a ZSQL call. I want something like this (pseudo-code of what I want): > > > > > > > That does not work because FOO gets set to something lik

Re: [Zope] Reverse SendMail Question

2000-10-26 Thread Ender
[EMAIL PROTECTED] wrote: > > Has anyone thought of using SendMail (or any other e-mail program) to send > e-mail to Zope and have that e-mail be loaded directly into a specific folder > (say, based on the e-mail address or subject line)? > > This would be handy to keep track of e-mail. All the

Re: [Zope] which python gets used ... ?

2000-10-26 Thread Ender
Jonathan Cheyne wrote: > > Hi, just a quickie idiot question .. > > Does zope use any of the python on my RH6.2 box or does it use its own > copy exclusively? > > I was trying to install the python xml libraries to try our the hyperdom > product. I installed an rpm succesfully before rememberin

Re: [Zope] Displaying non-start values as the first batch seen in a batchprocessing dtml-inprocessing dtml-in

2000-10-26 Thread Ender
Chris Beaumont wrote: > > Hello, > > I'm using dtml-in to display a long list of events taken from a SQL > table, as part of a calendar, using batch processing, > (basically the example from the DTML reference adapted to use direct > traversal to fetch the table contents) > > I want my calend

Re: [Zope] My Items will not show themself in manage_main (objectItems)

2000-10-30 Thread Ender
Max M wrote: > > I have made a product that inherits: > "OFS.ObjectManager.ObjectManager" > and so should be able to contain other object. In python any object can be a container, the use of the ObjectManager assists in creating an api and ui for the container's management of objects. > I have

Re: [Zope] Zope Book Beta

2000-10-31 Thread Ender
Phil Harris wrote: > > Give me a few hours and I'll be knocking out the eBook and PDF versions. > > By the end of the day. > > Phil Hi Phil, how do you do that? for the pdf are you dumping stuff into reportlab? Kapil > - Original Message - > From: "Chris Withers" <[EMAIL PROTECTED]

Re: [Zope] MailHost: bcc broken ?

2000-11-01 Thread Ender
"Stefan H. Holek" wrote: > > On Wed, 25 Oct 2000, Gregory Haley wrote: > > > i was one of the participants in the recent discussion of zope bulk > > mail. i'm wondering about the mechanics of sending the work of the mail > > to the actual sendmail server outside of zope. would i do that by > >

Re: [Zope] XML-RPC vs External method?

2000-11-01 Thread Ender
if the xml format is simple you could just do it dtml, it would end up with some extra white space but it would still be valid. a dtml method akin to kapil Irene Barg wrote: > > Hello all, > > I have setup a query form to query a small MySQL database using > Zope.

Re: [Zope] Help! Zope Crash

2000-11-01 Thread Ender
Edward Muller wrote: > > I am running a Zwiki site at http://www.handhelds.org:8080/wiki. This site has > become invaluable to our growing handhelds.org community as a place to collect > information. But, sadly our zope server keeps dyingNo idea why > > Sometimes the zope server can be u

Re: [Zope] Upscaling of performance

2000-11-02 Thread Ender
has anyone tried the asyncore.c module from nightmare.com to speed up zserver? Kapil "J. Atwood" wrote: > > 1,000,000 hits is not that much but you can check out the Zope Benchmarks > > http://www.zope.org/Members/BwanaZulia/benchmarks.html > > On some good hardware it can handle about 100 Re

Re: [Zope] How do I logout?

2000-11-04 Thread Ender
I don't know if there is an elegant way to do this. if i'm the superuser i just try to find a junk method (The QuickStart Tutorial does nicely) and change the text to include the following. (if i'm another user it the same thing applies but i generally create a logout method._ Log Me ou

Re: [Zope] Question about dtml-in

2000-11-05 Thread Ender
Sean McGrath wrote: > > Hello all, > > I have a question about the dtml-in tag. When it is iterating over a > sequence, and the items in the sequence happen to be tuples containing > exactly two items, then dtml-in places the first item from the sequence in > sequence-key, and the second item go

Re: [Zope] Can Zope use a Different Python?

2000-11-11 Thread Ender
Hi i'm not sure exactly whats being asked here. zope on linux doesn't include its own python interpreter. you can choose which one executes zope and its external methods by specifing the interpreter binary in the start.py. its quite possible that your installing third party modules into the dist

Re: [Zope] Bulk Mailing How-To!

2000-11-11 Thread Ender
Wow, this is really cool. nice job. btw. if anyone's interested i wrote a patch to change the mailhost behavior to use a persistent connection to the mta. email me if interested (yes, i submitted a feature/wpatch to the collector). also its good to note that the mailhost doesn't currently partic

Re: [Zope] Re: DateTime

2000-11-11 Thread Ender
Jerome Alet wrote: > > On Fri, 10 Nov 2000, Chris Withers wrote: > > > mxDateTime is _not_ the DateTime in Zope. If only it was > > It's voting season, so I vote +10 for this one. > > bye, I'll second that +10 kapil ___ Zope maillist - [EM

Re: [Zope] Do Zope Haz Templates?

2000-11-15 Thread Ender
Curtis Maloney wrote: > > On Wed, 15 Nov 2000, Padrino wrote: > > I Was Serching And looking For Templates and I Was Guessing if Zope > > really Has It? > > > > DTML. Document Template Markup Language. > > DTML is Zopes templating language. Look at DTML Documents and DTML Methods. > > Have a

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-16 Thread Ender
Tony McDonald wrote: > > Hi all, > I'm experimenting with collating data from a remote database that uses > XML-RPC. > > I can send it messages like; > >>> import xmlrpclib > >>> medweb = xmlrpclib.Server("http://bogus.server.com") > >>> medweb.getImages('scar') > ' ?>\015\012\011\015\012\011\01

Re: [Zope] Search and replace

2000-11-20 Thread Ender
Lee Hunter wrote: > > Martin Winkler wrote > > I just wanted to express that this feature may be too hard to > > program for > > the (IMHO) rare cases that we really need it, but IF there its not that hard to program, if you want just want to replace, previewing is a bit difficult, because your

Re: [Zope] DTMLTemplate + PythonMethod == separate code from HTML?

2000-11-22 Thread Ender
Thiebaut CHAMPENIER wrote: > The DTMLTemplate and PythonMethods products seem to provide this kind of > separation between code and design, but I did not manage to get them working > properly together: they do provide this level of separation. another option to check out with this kinda of separ

Re: [Zope] Search and replace

2000-11-22 Thread Ender
Mario Olimpio de Menezes wrote: > > On Tue, 21 Nov 2000, Lee Hunter wrote: > > > On the other hand I actually *like* the Zope management interface - in fact, > > so far I've found it to be very easy to understand and a total pleasure to > > use. It just doesn't offer some things that I must have

Re: [Zope] Search and replace

2000-11-22 Thread Ender
tom smith wrote: > > on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: > > > Sadly this is a constraint of zope ide's being browser based (or based > > on current browsers). I would eagerly like to help out with a project > > that would like to see this chan

Re: [Zope] Pseudo E-Mail Address validation

2000-11-22 Thread Ender
Martin Winkler wrote: > > Hi all, > > For a subscription tool of a mailing list I'd like to quick-check the > e-mail address our users type. Is there a little product/method etc. > available that does this? I know that you can only be sure whether an > e-mail address exists or not, when you actu

Re: [Zope] Python and EJB (J2EE)

2000-11-24 Thread Ender
i've been playing around with servlets (tomcat, jserv, orionserver.com) and generally been pretty happy with them. development cycle is a lot slower than zope. i did some prelim work on hooking up jserv to zope but gave up cause the performance generally sucked (jserv is still using apj1.1 which d

Re: [Zope] Python and EJB (J2EE)

2000-11-25 Thread Ender
Hung Jung Lu wrote: > > >From: Ender <[EMAIL PROTECTED]> > >... > > Thanks for the comments. I'll reply other points in a few more days. cool, i've been waiting for this discussion:) > >as for distributed technologies, while xml-rpc is useful and si

Re: [Zope] j2ee & zope

2000-11-25 Thread Ender
alan runyan wrote: > > Ender pretty much summed everything I could say about J2EE > and Zope. but I can tell you why we chose EJB/BEA at our > company rather than something like > ZOPE/OpenMerchant/PHP/etc. > > 1. we are consulting firm and we need to be able to leave a

Re: [Zope] How to checkout PythonMethod from CVS

2000-11-25 Thread Ender
Milos Prudek wrote: > > How can I checkout PythonMethod from cvs? I tried to modify the "Zope2" > in the following command: > > cvs -z7 -d :pserver:[EMAIL PROTECTED]:/cvs-repository checkout > Zope2 > > (Zope2/PythonMethod, Zope/PythonMethod, Zope/DC/PythonMethod, > Zope/Products/PythonMethod a

Re: [Zope] Python and EJB (J2EE)

2000-11-26 Thread Ender
Nitin Borwankar wrote: > > > > I've mentioned two-phase commit to Digicool people. Not sure whether it's > > already inside Zope or not, but it seems not. Zope's TM (Transaction > > Machinery) does not seem to be two-phase. See the TM.py file itself: it only > > has > > > > def _finish(self)

Re: [Zope] Python and EJB (J2EE)

2000-11-26 Thread Ender
assuming no errors, in which case you'll get rollback method calls, or subtransactions. a call to tpc_begin signals the begin of the two-phase commit. than comes a call to commit, next tpc_vote, and finally tpc_finish. kapil Ender wrote: > > Nitin Borwankar wrote: > &g

Re: [Zope] Re:External Methods

2000-11-29 Thread Ender
check out the urlencode function of urllib. kapil Kini Natekar wrote: > > Hi, > > I am currently running a external method .This method > calls a python script using the following line > > href=\"http://localhost/cgi-bin/test.py?%s+%s\">%s" > %(name,age,gender) > > Instead of calling the

Re: [Zope] Search and replace

2000-11-21 Thread Ender
Daniel Rusch wrote: > > I have been following this thread with mild amusement. Those of you who > don't think that there is any need for a search and replace are being, > at the least, disingenuous. Have you never needed to replace a dtml var > that is on a hundred or more pages with another one,

Re: [Zope] zope, xemacs and efs

2001-01-17 Thread ender
On Wednesday 17 January 2001 18:39, Geoffrey L. Wright wrote: > [EMAIL PROTECTED] (A.J. Rossini) writes: > > What version of EFS are you using, and if not recent, have you > > considered upgrading the EFS package? > > 1.21 > > That's the most recent version listed by the xemacs package manager. >

Re: [Zope] HELP: ZPatterns Installation on Linux

2001-01-20 Thread ender
assuming you have a source distro of zope than this 'should' work # from zope base dir cd lib/python/Products/ZPatterns # the following is dependent on your python install, assuming # a stock redhat rpm cp /usr/lib/python1.5/config/Makefile.pre.in.boot . make -f Makefile.pre.in boot make shoul

Re: [Zope] ZPoPyDA woes

2001-01-22 Thread ender
the most recent versions of popy are currently hosted on sourceforge. http://www.sourceforge.net/projects/popy http://www.sourceforge.net/projects/zpopy popy wants some includes which are not included in a normal source make of popy. catalog/fe??h. i generally just copy them over from the source

Re: [Zope] TCPWatch... and closing sockets..

2001-01-22 Thread ender
i'm guessing this has something to do with the default line terminators that medusa is looking for before it senses that a data buffer is ready to be processed. it seems like the url encoded ones request seem to have different line terminators. you can adjust this the fly by using the set_termi

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread ender
On Wednesday 24 January 2001 12:00, Anderson Ami wrote: > How can I do a dtml document call using the call dtml tag ? > e.g. > > - I have 3 DTML documents ( bot1, bot2 and bot3) > - I have in my request a int variable called varX > - I would like do it, but this one doesn't work : > ... > > ...

Re: [Zope] License

2001-01-29 Thread ender
On Monday 29 January 2001 01:41, 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 would be much mroe friendly :-) > > cheers, > >

Re: [Zope] CacheManagers are cool :)

2001-01-29 Thread ender
On Monday 29 January 2001 10:15, Seb Bacon wrote: > I've just been experimenting with the RAM Cache manager, and FWIW I thought > I'd share my findings: > > I ran some simple tests using ab against a single, dynamic page which has > some display logic both in the filesystem product and dtml. I ca

Re: [Zope] RESPONSE.redirect

2001-01-29 Thread ender
On Monday 29 January 2001 09:14, Oliver Vecernik wrote: > Hi all, > > I'd like to show a page and after a few seconds I'd like to redirect to > another page. If I simply add it is > done immediately. How can I achieve a delay of a couple of seconds? > > Oliver > meta refresh in your headers sho

Re: [Zope] DTML difficulties

2001-01-30 Thread ender
same thing for taskforces your error from what you tried was because you were trying to treat the taskforce and job folder objects as lists which they aren't. what you had would work, if you changed your to reference the respective folders objectValues method which will return a list of

Re: [Zope] Zope memory usage / cache

2001-01-30 Thread ender
On Tuesday 30 January 2001 10:09, Ron Bickers wrote: > I have a site that has dozens of 300k+ Photo objects > (http://www.zope.org/Members/Drew/Photo). When I start Zope, it uses about > 10MB. It will run at around 10-12MB for days as long as I don't access any > of the photos. Once I access se

Re: [Zope] Zope memory usage / cache

2001-01-31 Thread ender
On Tuesday 30 January 2001 21:21, Ron Bickers wrote: > > -Original Message- > > From: ender [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 30, 2001 10:12 AM > > To: Ron Bickers; [EMAIL PROTECTED] > > Subject: Re: [Zope] Zope memory usage / cache &