[Zope] linuxworld article and auto-form generation

2000-07-16 Thread Kapil Thangavelu
I played around with some auto-form generating ZClasses a couple months ago. Just thought i should share since it seems to be something people want, and i saw it used as a feature-lack against zope on linuxworld. basically it just spits out an html page where you pick a property sheet and then it

[Zope] URL quoting in python

2000-07-20 Thread Kapil Thangavelu
is there a way to get a url-encoded/quoted variable in pythonish dtml ? what i am trying to do

Re: [Zope] URL quoting in python

2000-07-21 Thread Kapil Thangavelu
Thanks for the tip Duncan, I find it strange that this utility function is not in the _ namepace... time to make a trip to the Tracker. It seems like a url-encoding function should be directly accessible from zope. Thanks Kapil Duncan Booth wrote: > > > I often create an external method for t

[Zope] Encoding URL Vars

2000-07-21 Thread Kapil Thangavelu
i recently had a problem with encoding url vars in a dtml-call such as this isn't always optimal since you might not know all the variables and you just want to pass along all of the form variables. hence PythonMethod #2 name: url_encode_form_vars parameters: namepace # the namepace='_' try

[Zope] Announce MailArchive0.1

2000-07-22 Thread Kapil Thangavelu
A search interface to mailman archives for 'nix systems. http://www.zope.org/Members/k_vertigo/ZopeProducts/MailArchive Feedback, requests, patches, bug reports -> [EMAIL PROTECTED] Cheers Kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.z

Re: [Zope] dtml-in syntax

2000-07-30 Thread Kapil Thangavelu
A couple of different solutions depending on exactly what you want to do. if you're just trying to get the total length of the records returned by wherever you could try. or if you want the distinct values as well a great reference is the Zope Quick Reference at http://www.zope.org/M

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

2000-07-30 Thread Kapil Thangavelu
As Chris already stated (many times 4 effects:) ZODB is process locked. The question than becomes what kind of process interaction do you want with the zodb. most everything can be done by having hooks into zope and interacting with those hooks from your external python process. examples are a

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

2000-07-30 Thread Kapil Thangavelu
I can't argue with that. i get constant key-errors... i'd really like for someone from digicool to step up and give a reason. I'm not sure if its the size of the Catalog, or the internal Splitter giving errors, or if its just related to the recent hardware problems on zope.org the saving grace s

Re: [Zope] Full path var on Zope.org login link (Ethan!)?

2000-07-30 Thread Kapil Thangavelu
Probably HTTP-REFERRER if you don't want look at the source. "J. Atwood" wrote: > > What DTML-VAR do they use on Zope.org to populate the came_from variable for > the 'login' link? > > I have used dtml-var absulute_url but it does not seem to return the full > path 'http://www.thedomain.com/fo

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

2000-07-30 Thread Kapil Thangavelu
Its probably possible but its probably more work than you're interested in. They speak different languages a relational system is built on relations in square/rectangular tables. an object system esp. the ZODB can store objects which can be of arbitrary nature, not to mention acquistion and inhe

Re: [Zope] Moving site from dev to prod.

2000-07-30 Thread Kapil Thangavelu
Thats an interesting question most of the time for my work i just pack the zodb copy the fs file into a new system and it works... I wonder where you getting this request error. it could be related to internal changes in the zope machinery esp if its in an SQL method. generally most stuff in

Re: [Zope] How to start developing in zope

2000-07-30 Thread Kapil Thangavelu
Firestar wrote: > > Hi, I have read through(and tried out) the tutorials and Guides at Zope.org, > and now eager to port my company's website over to Zope. (The website was > originally programmed in PHP) > > In my original design, I used OOP mainly. I defined each section(e.g. News, > Events, P

Re: [Zope] Python/Zope API

2000-07-31 Thread Kapil Thangavelu
> 2. Are there ways to improve it? For example I would love to know how >you can check if you can actually render an object. (For example >you can not render Control_Panel). To render your python product objects in Zope like you just define a method __str__ take a look at python code fo

Re: [Zope] Calender Tag & SQL caching

2000-07-31 Thread Kapil Thangavelu
Arjan Scherpenisse wrote: > > Hi everybody, > > This is my first posting to this list. I have a website which will > make use of a calender, with events on it stored in a MySQL > database. Now, i wondered how to efficiently show this data from the > database in the calender. I mean, not in a way

Re: [Zope] Calender Tag & SQL caching

2000-07-31 Thread Kapil Thangavelu
Arjan Scherpenisse wrote: > > Hi everybody, > > This is my first posting to this list. I have a website which will > make use of a calender, with events on it stored in a MySQL > database. Now, i wondered how to efficiently show this data from the > database in the calender. I mean, not in a way

[Zope] Log Out

2000-07-31 Thread Kapil Thangavelu
Is there a way to log out of Zope without presenting a netscape dialog or killing the browser? i'd prefer that users have a link 'logout' that takes them back to the /root/index_html as anonymous ___ Zope maillist - [EMAIL PROTECTED] http://lists.zop

Re: [Zope] FSSession - don't call FSSession twice!

2000-07-31 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > > I decided enough was enough today and thought I'd try and find out what was > happening. So I could give some proper information to Pavlos Christoforou I > downloaded the latest version of FSSession and tried to reproduce my error. Bang > - I got a much more impressi

Re: [Zope] what products to use?

2000-07-31 Thread Kapil Thangavelu
Owen Smith wrote: > > Hi all > I am trying to implement a site which needs the following- > A forum/discussion > a database of members (400+) who can access certain parts of the site > not available to anonymous users > the ability for members to change their details online > the ability for

Re: [Zope] Limiting folder space

2000-07-31 Thread Kapil Thangavelu
Brendon Grunewald wrote: > > I want to use Zope to offer registered visitors to my site a little free > webspace on the site. Since I use hosting service that restricts and charges > me for space, I would like to restrict the size that their zope folders can > consume. > > Hence: > Is there any

Re: [Zope] Python/Zope API

2000-07-31 Thread Kapil Thangavelu
"Alexandre A. Rodioukov" wrote: > > Kapil Thangavelu <[EMAIL PROTECTED]> writes: > > > > 2. Are there ways to improve it? For example I would love to know how > > >you can check if you can actually render an object. (For example > > >

Re: [Zope] How do I count children?

2000-08-03 Thread Kapil Thangavelu
"J. Atwood" wrote: > > So In ZUBB (my discussion product) I want to be able to show how many > replies there have been to any one main topic. All replies are 'children' of > the main post and when I state it with > > > Stuff > > > It works and knows that each message is a child of the mes

Re: [Zope] getitem('string') but with HTML

2000-08-08 Thread Kapil Thangavelu
peter be wrote: > > I have a rather simple setup. And all I want to do is to show some news content, but >with the way I'm doing it, the HTML is not parsed. > > /root > index_html > view_each_news_html > /news > news_001 (MS ruined!)# a DTML Document > news_002 (Pete

Re: [Zope] Invalid Date-Time String

2000-08-08 Thread Kapil Thangavelu
Oliver Frommel wrote: > > hello, > > I have a ZClass called "thema" with some date properties to change creation/ > modification dates independent of bobobase_modification_time. So I try to > set one date property called "date1" equal to the current time of creation: > > >REQUEST)"> >

Re: [Zope] strange problem using python

2000-08-08 Thread Kapil Thangavelu
Oliver Frommel wrote: > > hi, > > while trying to figure out how to use Zope from Python I encountered the > following problem. The first access to a dictionary shows me an empty one, > while the next one produced the correct result (see dir(a.m)): > > >>> import sys > >>> sys.path.append('/hom

Re: [Zope] Client.py

2000-08-09 Thread Kapil Thangavelu
"Bak @ kedai" wrote: > > hi all > has anybody successfully used Client.py that ships with Zope-2.2.0? i can't > seem to run it. even on the command line. i've searched the mailing list, > but to no avail > > this is what i did: > python Client.py http://www.zope.org > > and here's the traceb

[Zope] Transactions

2000-08-09 Thread Kapil Thangavelu
quick question. Is there a way to turn off transactions for a given python operation? Kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://list

Re: [Zope] Transactions

2000-08-09 Thread Kapil Thangavelu
s for a given python operation or to make an operation autocommit itself in a subtransaction? hmmm... related question (i think) how does one make a method whose effect can't be rolled back? any help appreciated Kapil Kapil Thangavelu wrote: > > quick question. > > Is there a way

Re: [Zope] view index_html of zlass

2000-08-09 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > > Zope version 2.1.6 on redhat 6.2 using apache integration zia zope.cgi > > I have created the cdclass example in the zope developer guide on zope.org. > > I have created a dtml document in the cdclass zclass with and > statements in it. > > The zclass instance i

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > > Hi All, > > I have a Zclass object called States > built with folder and renderable > > When I try > > > > > > I get > Error Type: TypeError > Error Value: hasattr, argument 2: expected string, int > found > > Does anyone know why this is happening? educated

Re: [Zope] List

2000-08-09 Thread Kapil Thangavelu
William JOYE wrote: > > Hello, > > I'm a newbie in zope. I think is a simple problem but I can find a solution. > I would like to show 2 lists (ex: list1 and list2) like this : > > list1 = 1, 2, 3,... > list2 = A, B, C,... > > list1 + list2 = > > 1 A > 2 B > 3 C > > How can I iterate 2 lits

Re: [Zope] List

2000-08-09 Thread Kapil Thangavelu
never mind... web python methods don't have access to map... so my example wouldn't work on a through the web python method... without defining a map function... dieter's method is better. Kapil Thangavelu wrote: > > William JOYE wrote: > > > > Hello, > &g

Re: [Zope] DTML script (or python method) to change the object type of

2000-08-10 Thread Kapil Thangavelu
Lucas Hofman wrote: > > Could anybody point me in the right direction regarding making a script > that converts all DTML Documents is a directory tree to DTML Methods? > > Thanks, code up an external method - here is some sample pseudo code(looks like python buts its not:). this one sits in the

Re: [Zope] application/octet-stream vs. application/msword

2000-08-10 Thread Kapil Thangavelu
Jean Jordaan wrote: > > Hi Zopers > > How does Zope recognize the type of a file? Mostly it > recognizes .doc's correctly as 'application/msword', but > sometimes they turn up as 'application/octet-stream'. > Others, like .fh8 (Freehand) and .exe (self-extracting > zip) are (unsurprisingly) also

Re: [Zope] ZClass inheriting from image question

2000-08-10 Thread Kapil Thangavelu
Meeting Maker Webmaster wrote: > > Hello, > > I am still working on my "users preferences" I mentioned earlier. For now I > will stay with the standard acl_users as they seem to offer everything I > currently need to authenticate the user. On the other side, I am creating a > new ZClass that wil

Re: [Zope] ZClass inheriting from image question

2000-08-10 Thread Kapil Thangavelu
Meeting Maker Webmaster wrote: > > Hello, > > At 16:31 10.08.2000 +, Kapil Thangavelu wrote: > > > I am still working on my "users preferences" I mentioned earlier. For now > >I > > > will stay with the standard acl_users as they seem

[Zope] ANNOUNCE NewsCenter 0.0.5

2000-08-10 Thread Kapil Thangavelu
A week's worth of hacking to present NewsCenter. I'll bump of the version numbers once I get a few more features and get some feedback from the community regarding any fixes and pretty up the interface. Its stable for me and works well. Thanks to Amos and Shane of DC for contributing (RSSChannel,

[Zope] Hungry Zopitista Looking for a Revoloution

2000-08-11 Thread Kapil Thangavelu
Hi, I am a Python/Zope Developer looking for work. Telecommuting or something in the area of Pasadena, CA. contract, part-time, fulltime. I tried the Zope job board but response was virtually nonexistent. My resume is up on my homepage http://sindev.dyndns.org/Home viva la revolution. Kapil

Re: [Zope] Hungry Zopitista Looking for a Revoloution

2000-08-11 Thread Kapil Thangavelu
machines, it didn't register them because they were already in the logs. Kapil Kapil Thangavelu wrote: > > Hi, > > I am a Python/Zope Developer looking for work. Telecommuting or > something in the area of Pasadena, CA. contract, part-time, fulltime. > > I tried the Z

Re: [Zope] retrieving data from REQUEST.form

2000-08-11 Thread Kapil Thangavelu
jesse wrote: > > I am creating a program, yet again. How this works is, > > a zope factory calls a form, which submits data from a to a DTML >document. I want this DTML document to take the data from the form and display it on >multiple lines. For instance: > > If a person fills out the te

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

2000-08-12 Thread 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 be the only meta_type available > to be added in the Add List. The problem is

Re: [Zope] accessing PARENTS from python???

2000-08-13 Thread Kapil Thangavelu
Kevin Howe wrote: > > I am trying to access the PARENT of an object in a python class of mine. > I want to use the absolute_url() of the parent in a variable. > > I though it could be done the following way, but got an error: > > parent=self.PARENTS[0] > aurl = parent.absolute_url() >

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Kapil Thangavelu
Stuart Foster Wrote: > I want to use redirect to call another form passing the current form, how > can I do that. > > > Hi Stuart, i ran into the same problem a little while ago. i was trying to pass the user around to the proper display&process page(with inputs inplace) after a logic page th

Re: [Zope] How to use RESPONSE.redirect ?

2000-08-16 Thread Kapil Thangavelu
"R. David Murray" wrote: > > On Tue, 15 Aug 2000, Kapil Thangavelu wrote: > > #example call to above > > # > > If your original form submits using the GET method, then QUERY_STRING > will contain the already URL encoded parameters that the browser >

Re: [Zope] [Ann] Another Zope Book

2000-08-18 Thread Kapil Thangavelu
Dieter Maurer wrote: > > Dear Zopistas, > > I plan to write another book about Zope: "Building Dynamic WebSites > with Zope". > > The book idea: > > Realize a demanding dynamic WebSite with Zope. > Describe everything that is necessary for this purpose. > > This will contain: > Concepts

Re: [Zope] sending mail slow?

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: > > Hi, > > I've noticed that sending mail from within Zope the tab or > mailhost.send() is very slow (like it adds a few seconds to the time it > takes to get a page back from a post). > > Why is that? how can I make it faster? > > I'd thought about having the actual ma

Re: [Zope] calls first?

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: > > Hi, > > Just noticed this: > > If you do where object is something callable, it > calls it. > > That's a bit unpleasant for things like Squishdot Sites which do > something (return a list of all their elements) when you call them. > > So the only way to _really_ do w

Re: [Zope] Don't use relative links!

2000-08-18 Thread Kapil Thangavelu
Stuart Foster wrote: > > Where can I find more information on how this is done. I'm not familiar with > the dtml. notation? > > > Chris Withers wrote: > > so, the above should actually be: > > > > > > erk :S > > >^^^ its referred to as the entity syntax of dt

Re: [Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-08-18 Thread Kapil Thangavelu
Daniel wrote > I've created a folderish product. When I select that product from the > available objects list, thus creating an instance of that product, I can > > create objects like dtml document and dtml method in the new folderish > object (very similar to what happens when you instantiate a

Re: [Zope] Creating an object from within another

2000-08-18 Thread Kapil Thangavelu
Dieter Maurer wrote: > > Daniel Rusch writes: > > So far so good, > > > > Next hurdle, at least the problems have been cut down to hurdles from walls. > > > > I have a folderish product say myFolder, in the manage_addMyFolder function I > > want to create an object of my product B. so I do

Re: [Zope] Declaration of a sheet property as a personnalise class...

2000-08-18 Thread Kapil Thangavelu
Vincent wrote: > > Hi, > > I would like to add a new property to a ZClass that I created. > > Right now, I can choose between int, date, text, selection..., How can I > choose another ZClass I created in the same product ? > > Thanks > > Vincent AFAIK you can't store objects in property she

Re: [Zope] Declaration of a sheet property as a personnalise class...

2000-08-18 Thread Kapil Thangavelu
Vincent wrote: > > Hi, > > I would like to add a new property to a ZClass that I created. > > Right now, I can choose between int, date, text, selection..., How can I > choose another ZClass I created in the same product ? > AFAIK you can't store objects in property sheets. you can store the

Re: [Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-08-18 Thread Kapil Thangavelu
;d get all the benefits of inheritance. Let manage_add to do just that, instantiate and set a instance of your class. Kapil Kapil Thangavelu wrote: > > Daniel wrote > > > I've created a folderish product. When I select that product from the > > available objects lis

Re: [Zope] Referencing an object in a subfolder

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: > > "Smith, Paul" wrote: > > > > I want to create an "images" directory for a web site and store image objects >there that I can reference. How do I get a DTML document in a higher directory to see >the images folder and locate the appropriate image? > > > > > > cheer

Re: [Zope] processing dtml in external method

2000-08-22 Thread Kapil Thangavelu
Scott Shepherd wrote: > > Friends, > > I have an external method that returns a string containing dtml, but > I want it to evaluate the dtml and return the result. How do I do > that? > > I noticed in, say, > /usr/share/zope/lib/python/Products/ExternalMethod/ExternalMethod.py, > that dtml-co

Re: [Zope] Split Data.fs

2000-08-22 Thread Kapil Thangavelu
"R. David Murray" wrote: > > On Tue, 22 Aug 2000, Marcus Mendes wrote: > > Is a good idea split Data.fs? (comments) > > I'm sure it depends on your system design and constraints. In a > "normal" situation (whatever that is ) it probably doesn't > matter much. Some cases where you'd consider it

Re: [Zope] Barcodes, magnetic cards, etc.

2000-08-22 Thread Kapil Thangavelu
Erik Enge wrote: > > Good morning, people. > > I was wondering, can Zope interface to barcodes, magnetic cards > (e.g. credit cards) and other common shop-"accessories"? > > Feedback is greatly appretiated :) > zope is a great integration platform. anything you can touch in python either thro

Re: [Zope] Indirect method lookup? (Update)

2000-08-22 Thread Kapil Thangavelu
Jeff Hoffman wrote: > > Ok, knowing more about what's going on, now, I figured I would send an > update to the list and hope it jars someone's memory. > > Here's what I am trying to do: > > I have a ZClass, MyTestClass. MyTestClass has two methods: method1, and > method2. There are two other me

Re: [Zope] Generic Workflow Products?

2000-08-23 Thread Kapil Thangavelu
Cary O'Brien wrote: > > After applying Zope to a couple of in-house projects > (which turned out pretty well, thank you), I've started > to come to the realization that many applications boil > down to workflow management. A job comes in, attributes > get set, things get attached to it, and it

Re: [Zope] dtml syntax for showing folder objects?

2000-08-23 Thread Kapil Thangavelu
Andrew Kenneth Milton wrote: > > +---[ [EMAIL PROTECTED] ]-- > | Hi, > | I wonder how one would show the dtml documents in a folder with a > | dtml statement. I see it working with the tree command and I see > | it working in Yihaw, but there must be a simple way to show

Re: [Zope] Generic Workflow Products?

2000-08-24 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > >After applying Zope to a couple of in-house projects >(which turned out pretty well, thank you), I've started >to come to the realization that many applications boil >down to workflow management. A job comes in, attributes >get set, things get att

Re: [Zope] How do I create a folder full of "virtual" DTML objectsfrom records in a database records in a database

2000-08-24 Thread Kapil Thangavelu
Chris Beaumont wrote: > > David, > > Thank you, I've been successful in setting up basic SQL methods, data > input forms and query forms, > the problem Ive been having is in trying to break each table record (one > row in a table, say) out into a separate DTML document.. with fields in > the rec

Re: [Zope] How do I create a folder full of "virtual" DTML objectsfromrecords in a database records in a database

2000-08-24 Thread Kapil Thangavelu
"R. David Murray" wrote: > > On Thu, 24 Aug 2000, Chris Beaumont wrote: > > Thank you, I've been successful in setting up basic SQL methods, data > > input forms and query forms, > > the problem Ive been having is in trying to break each table record (one > > row in a table, say) out into a separ

Re: [Zope] OT: Website design / spec / development resources

2000-08-26 Thread Kapil Thangavelu
"J. Atwood" wrote: > > Hey Zopers, > > I am looking for some good guidelines in designing, spec'ing and > developing large complex websites. Anything like guidelines, steps, > howtos, etc would be much appreciates. From theory to practice. > > Thanks, > J Not zope specific, but of a high qual

Re: [Zope] Calling list.remove() bug

2000-08-27 Thread Kapil Thangavelu
Tim Cook wrote: > - > > Notice in add_weekly the . > It does nothing but with out it I get this traceback: > >Zope Error > >Zope has encountered an error while publishing > this resource

[Zope] End User Customization of Python Product DTML

2000-08-27 Thread Kapil Thangavelu
I've been fumbling with this for the last week or so. I've got a Python Product NewsSyndicate, which setups feeds for a bunch of RSS channels. I'd like to have the display for that content be end user customized in the management interface not through editing dtml on the file system and I'd like

Re: [Zope] Oracle ZODB (Paul's talk in Paris)

2000-08-27 Thread Kapil Thangavelu
Paul Everitt wrote: > > It isn't published or checked in. We're trying very hard to focus on > getting current bits under control rather than continually releasing > new, undocumented bits. The Zope community has been awfully clear to us > on making better sense of what is already there. > > -

Re: [Zope] Calling list.remove() bug

2000-08-27 Thread Kapil Thangavelu
Tim Cook wrote: > > Kapil Thangavelu wrote: > > > > > ->>>>>> > > > > > When you call request.set your setting daylist to the method not the > > results of the method. try switching it to > > > > > > >

Re: [Zope] Calling list.remove() bug

2000-08-27 Thread Kapil Thangavelu
Tim Cook wrote: > > Kapil Thangavelu wrote: > > > > > > > this passes it None for a client, and the current namespace as the > > mapping, and no keyword args. > > > > hope that was clearer than mud. > > > > So the 'key' to

Re: [Zope] Cool JavaScript

2000-08-28 Thread Kapil Thangavelu
Luis Cortes wrote: > > Hi, > > I am looking for some cool Java script sites -- I would like to see how > some button effects are done. Anyone got one out there? > > Thanks ahead of time, > Luis. > http://www.brainjar.com some of the slickest dhtml i've seen. Kapil ___

[Zope] ANN: NewsCenter0.0.8

2000-08-28 Thread Kapil Thangavelu
Link: http://www.zope.org/Members/k_vertigo/ZopeProducts/NewsCenter/index_html Changes: ZCatalog Searches PyXML distro download link updated Minor fixes. Caveats: IF YOU"RE USING ZOPE 2.2.1 - ZCatalog now generates log messages for attempts to uncatalog items not in the catalog. The update me

Re: [Zope] Where is news section how-to?

2000-08-29 Thread Kapil Thangavelu
Radim Gelner wrote: > > Hello, > > few weeks ago, on Zope site I came across a document describing how to > build news section with features like displaying with five most recent > items from a folder, etc. > > But now I can't recall, where it was. Can someone point me in a right > direction.

Re: [Zope] List of object's name in a ZClass

2000-08-29 Thread Kapil Thangavelu
Vincent wrote: > >Part 1.1Type: Plain Text (text/plain) >Encoding: 7bit from your heirarchy ZClass B is contained in zclass A. and you're looking for contained instances which is easy. the dtml method in a (assuming a inherits from objectmanager) _

Re: [Zope] how to keep stuff out of undo

2000-08-29 Thread Kapil Thangavelu
Roman Milner wrote: > > Hi. We have a product (an mp3 jukebox) that uses the ZODB to store a large > data structure of all the albums and track names. Many people are > allowed to add/remove albums from the database. The problem is, when > they do this the entire data structure is backed up for

Re: [Zope] "Automatic" creation of searchable documents from Oracle DB tables

2000-08-29 Thread Kapil Thangavelu
Chris Beaumont wrote: > >Part 1.1Type: Plain Text (text/plain) Hi Kapil, (and fellow Zopatistas) Well, it's been difficult, but I finally feel as if I'm on the verge or understanding this a bit better.. Thank you for taking the time to explain this. I would think, it's a fairly simple thin

Re: [Zope] Logfile analyzer

2000-08-29 Thread Kapil Thangavelu
Ian Bicking wrote: > > I've been making some log analysis code on my site, and have realized > that a lot of other analyzers aren't that great -- or, at least, that > it's nice to have the control that editting the actual code can give. > (for instance, I ignore all requests that come from my ISP

Re: [Zope] Generic Workflow Products?

2000-08-29 Thread Kapil Thangavelu
albert boulanger wrote: > > Kapil Thangavelu <[EMAIL PROTECTED]> wrote: > >The PTK has been undergoing radical changes as of late. Its worth taking >another look at as the current design is much more supportive of >alternative workflow designs. > >

Re: [Zope] ZCatalog Queries...

2000-08-30 Thread Kapil Thangavelu
I saw this email with some interest since i had an offlist conversation with some of the people at nipltd regarding a mailing list project, but i chose to do it outside of zope because of lingering doubts about zope's suitability(more ZCatalog) for the task. Chris Withers wrote: > > Chris McDon

Re: [Zope] Bug Tracking Product Recommendation?

2000-08-30 Thread Kapil Thangavelu
You could explore the Tracker Product available from zope.org's cvs. its used for zope. it is unsupported. [EMAIL PROTECTED] wrote: > > It would also be nice if it was tied to a ODBC compliant database > like MS SQL or Access! nope. did you mean ODBC or MS compliant;) the only DB solutions

Re: [Zope] How to use DocumentTemplate custom formats from Python?

2000-08-31 Thread Kapil Thangavelu
Hamish Lawson wrote: > > I'm using DocumentTemplate from Python (not in Zope) and I want to use > a custom format 'javascript_quote' that I've written. In my DTML file I > have: > > > > and in the Python code I have > > def javascript_quote(s): > > > template = Docum

Re: [Zope] indexing pdf files

2000-08-31 Thread Kapil Thangavelu
Terry Kerr wrote: > > Hi, > > I need to be able to index the text within pdf files. I assume I will > somehow use PrincipiaSearchSource, but I need to know how to get the > text out of the pdf when it is uploaded to the ZODB. Has anyone done > this before? Are there any packages around that I

Re: [Zope] Render the number of occurrence in a batch

2000-09-01 Thread Kapil Thangavelu
Francois-Regis CHALAOUX wrote: > > Hi, > > How to render the total number of result coming from the search in a ZCatalog > even if the batch will be render in several sequences ? > > Howto render : "Your search contain results" > > FR. > > Kapil __

Re: [Zope] a redirect of an url in Python

2000-09-01 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > >Part 1.1Type: Plain Text (text/plain) in python you have to raise a redirect, search the lists for exact syntax something along the lines of raise Redirect "url" Kapil ___ Zope maillist - [EMAIL PROTECTE

Re: [Zope] How to access id and title of document calling standard_html_header

2000-09-02 Thread Kapil Thangavelu
Tim Hicks wrote: > > For those of you who saw my posts from a couple of days ago (Dieter > Maurer and Geir Bfkholt), this is the question that I think I should > have been asking in the first place. > > I have a standard_html_header that is inserted into Zclasses. These > Zclasses have properti

[Zope] ANN: NewsCenter0.1.0

2000-09-02 Thread Kapil Thangavelu
available @ http://www.zope.org/Members/k_vertigo/ZopeProducts/NewsCenter from the README Current Status: - I've realized that Zope sites tend to keep user info in a variety of formats, so rather than reduplicating that info within NewsCenter, I've implemented a hook get_syndicated_content(c

Re: [Zope] ZCatalog problem!

2000-09-03 Thread Kapil Thangavelu
Kevin Howe wrote: > > Hi, I have a Folderish class (FClass) and I am trying to write it so that > when an FClass object is added in ZOPE, it will automatically create a > ZCatalog object inside itself. I attempted to do this in the manner I had > successfully done this before with other object ty

Re: [Zope] Help with calcualtions in DTML

2000-09-04 Thread Kapil Thangavelu
"Dario Lopez-Kästen" wrote: > > Hello! > > I have the following listing of objects in my folder: > > > > Name > Size > date > > > > > > > >bytes > > > > > > > you might want to grab a copy of the ZQR which goes

[Zope] Re: Non-blocking MailHost

2000-09-04 Thread Kapil Thangavelu
Chris Withers wrote: > > Kapil Thangavelu wrote: > > i was think about this in regard to doing bulk email, the best i could > > think of was to response.write and than send the email. no real > > confirmation but the user gets the page and the mail hopefully gets >

Re: [Zope] Fourth Posting, is this really that difficult or have I been blackballed :)balled :)

2000-09-04 Thread Kapil Thangavelu
d subobjects here seems like you were adding subobjects to your class in your manage_addfoo when it probably would have been better to add them in your __init__ method > Dan > > Kapil Thangavelu wrote: > > > btw daniel, > > > > i've looked at some your p

Re: [Zope] Renderable Base Class ???

2000-09-05 Thread Kapil Thangavelu
Brian Withun wrote: > > I'd read some discussion dating back to last year about a the concept of a > Renderable Base ZClass; something that would allow a ZClass to be called > like > > Have there been any developments along this line, or any plans to > incorporate the idea into Zope? I find my

Re: [Zope] Not able to render a base class...

2000-09-05 Thread Kapil Thangavelu
Brian Withun wrote: > > = :PREFACE: = > > I have placed the __init.py__ and Renderable.py into > .\lib\python\Products\Renderable and have restarted Zope (necessary? ..I'm > too used to windows ;-) > > I made a trivial little Folderish ZClass and am trying to get it to render > itself.

Re: [Zope] External method and stdout

2000-09-05 Thread Kapil Thangavelu
Sven Hohage wrote: > >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable why are you printing in the external method?? if you want zope to print it to html than you need to return the result of your external method back to zope so it can deliver the result as

Re: [Zope] External method and stdout

2000-09-05 Thread Kapil Thangavelu
Andreas Pauley wrote: > > For some reason you have to "return" everything that should be available > to zope. You can return a sequence and loop through it with DTML or you > can build a variable with everything you want to display and then return > the variable. > > I have no idea why this is s

Re: [Zope] keeping Java Servlets session ids based on url rewriting

2000-09-09 Thread Kapil Thangavelu
albert boulanger wrote: > > I am using the latest Zope release using ZServer directly (but will be > running under Apache) > > I need to coordinate Zope based sessions and servelet sessions. We > will be using url rewriting (I know use cookies, but we are doing > worst case planning.). As yo

Re: [Zope] are there any known memory leaks in Zope 2.2.1?

2000-09-12 Thread Kapil Thangavelu
Skip Montanaro wrote: > > I'm experiencing bad memory leaks in my ZServer-based system. I recently > upgraded from 2.0.0 to 2.2.1. I didn't have leakage using 2.0.0 - certainly > nothing like I'm seeing it now. When I call the same method (same > parameters as well) over and over, I pretty sig

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Kapil Thangavelu
Karl Anderson wrote: > > Correct me if I'm wrong (and don't bother with the discussion on the > merits or non- of the GPL, I don't care in this context), but: > > In order to link/incorporate a GPL'd module, you have to be able to > distribute the entire work under the GPL. > > RMS says that th

Re: [Zope] Dynamically render DTML?

2000-09-17 Thread Kapil Thangavelu
"Mark N. Gibson" wrote: > > Is it possible to return dtml from python, and have it rendered correctly > on the page? > > for example, the python might look like this... > > def get_header(somevar=1): > if somevar==1: >return '' > else: >return '' > > The dtml document in the zodb m

Re: [Zope] Dynamically render DTML?

2000-09-17 Thread Kapil Thangavelu
Kapil Thangavelu wrote: > > "Mark N. Gibson" wrote: > > > > Is it possible to return dtml from python, and have it rendered correctly > > on the page? > > > > for example, the python might look like this... > > > > def get_header(so

Re: [Zope] Data date type returned by ZSQL method

2000-09-21 Thread Kapil Thangavelu
Stuart Foster wrote: > > I am trying to format a date value that is returned by a ZSQL method but > keep getting an error. > I am using the same format string where I use ZopeTime fmt="%m/%d/%Y">. > Yet when I try to use it for a timestamp field from PSQL I get the following > error. > > Error

Re: [Zope] PyGreSQLDA

2000-09-26 Thread Kapil Thangavelu
"Leichtman, David J" wrote: > > Has anyone had significant speed issues using the PyGreSQLDA? It seems like > I'm only getting one DB connection at a time. Is this an issue with the DA, > with Zope, or am I doing something wrong? I have a pgsql db running just > fine, and in Zope I have a connect

Re: [Zope] Re: Download Problem

2000-09-26 Thread Kapil Thangavelu
Shane Hathaway wrote: > > Suzette Ramsden wrote: > > > > I have had this same problem downloading squishdot zip files and I don't > > know if it is something I am doing. > > When I attempt to unzip the file, I keep getting: > > "error reading header after processing 0 entries" > > What archiver

  1   2   >