[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 dtml-call "RESPONSE.redirect(URL1+'?foo_bar='+foobar)" Kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

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

[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]

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

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

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,

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 dtml-var yourObject you just define a method __str__ take a look

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 that

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 that

[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]

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 impressive

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 new

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 simple

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 you can not render Control_Panel). To render y

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 dtml-tree branches=children Stuff /dtml-tree It works and knows that each

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 (Peter on

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: dtml-with

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

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 traceback.

[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 -

Re: [Zope] Transactions

2000-08-09 Thread Kapil Thangavelu
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 to turn off transactions for a given

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 dtml-var id and dtml-var title statements in it. The

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 dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why

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 in one dtml-in

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, I'm a newbie in zope. I think is a simple

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 will be

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 to offer everything I currently need to authenticat

[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

[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 Zope job board but response

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 textarea 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

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() I

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. dtml-call RESPONSE.redirect('otherform'+?) Hi Stuart, i ran into the same problem a little while ago. i was trying to pass the user around to the proper displayprocess

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 #dtml-call "RESPONSE.redirect(URL1+'?'+url_encode_form_vars(_))" If your original form submits using the GET method, then QUERY_STRING will contain the already UR

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: HTTP,

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 sendmail 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

Re: [Zope] dtml-with object calls first?

2000-08-18 Thread Kapil Thangavelu
Chris Withers wrote: Hi, Just noticed this: If you do dtml-with object 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_

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: a href="dtml.url-subfolder/index_html" erk :S a href="dtml.url-subfolder;/index_html"

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 this:

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 sheets. you

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 them as

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

2000-08-18 Thread Kapil Thangavelu
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 list, thus creating an instance of that product, I

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? dtml-with images_folder

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-containing

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 grin) it probably doesn't matter much. Some cases where you'd consider it:

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

2000-08-23 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 through

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

2000-08-23 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 methods,

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 gets

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 just

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 attached

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 separate DTML

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

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

[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

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. --Paul

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

2000-08-28 Thread Kapil Thangavelu
Tim Cook wrote: Kapil Thangavelu wrote: dtml-var "foobar(_.None, _)" 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 this confusion is that we are passing the 'Zope

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-29 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

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) ul dtml-in

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 thing

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. Disclamer: This is my gleaming -- I could

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

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 i

Re: [Zope] indexing pdf files

2000-09-01 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 can

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. dtml-var "_.len(YOURSEQUENCEGENERATOR)" dtml-in

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

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 properties

[Zope] ANN: NewsCenter0.1.0

2000-09-02 Thread Kapil Thangavelu
available @ http://www.zope.org/Members/k_vertigo/ZopeProducts/NewsCenter from the README bCurrent Status:/b - 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

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 types:

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: table tr tdpbName/b/p/td td align="right"pbSize/b/p/td td align="right"pbdate/b/p/td /tr dtml-in expr="doc.objectValues()" tr td pa href="dtml-var

[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 sent. i was planning on doing

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

2000-09-04 Thread Kapil Thangavelu
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 postings for the day and i thought i should tell you that mo

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 dtml-var "myClassInstance" Have there been any developments along this line, or any plans to incorporate the idea

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
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 so, and

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 you may

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

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 the ZPL

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 'dtml-var standard_html_header' else: return 'dtml-var

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(somevar=1): if somevar==1: return 'dtml-var standard_h

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 connection

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 are you

Re: [Zope] PyGreSQLDA

2000-09-27 Thread Kapil Thangavelu
"Bak @ kedai" wrote: ZPYGre is not threadsafe, so with it and all non-threadsafe da's zope uses a lock around access. (Thunked.py) The solution is to just use multiple DA connections and let postgres sort out the concurrency issues. i'm not clear about "use multiple DA

Re: [Zope] BTreeFolder (easy?) questions

2000-09-27 Thread Kapil Thangavelu
Dennis Nichols wrote: 1. Can I blithely use BTreeFolder in place of Folder without loss of functionality? afaik, yes. btreefolders subclass from folders and reimplement the setOb, getOb methods of a folder and the __getattr__ method, ie they have the same external interface. 2. Can I

Re: [Zope] IMAP and Zope!

2000-10-03 Thread Kapil Thangavelu
Joachim Werner wrote: Hello! I am searching for a current IMAP Adapter solution for Zope. What we have found so far is Ryan Hughes' WorldPilot, which has great IMAP support, but doesn't really integrate with Zope, and the two products "NotMail" and "IMAP Adapter" on the classic Zope

Re: [Zope] Detecting Roles not working

2000-10-04 Thread Kapil Thangavelu
Jonathan Cheyne wrote: Hi all I have built the basis of a site with full, form-based webediting of objects. Coming round to cleanup time and I wanted to remove certain visible functions from the default object views unless you have already logged in (with various possible roles) in

Re: [Zope] WDDX anyone?

2000-10-04 Thread Kapil Thangavelu
Albert Boulanger wrote: Has anyone considered WDDX for Zope? This seems like a nice next step to exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs for CF, perl, etc. I have some applications in mind for intranet syndication that goes beyond what RSS can do. Also

Re: [Zope] sudden ZClass breakage

2000-10-06 Thread Kapil Thangavelu
Timothy Wilson wrote: Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid

Re: [Zope] Java equivalent to WorldPilot?

2000-10-06 Thread Kapil Thangavelu
Hung Jung Lu wrote: Hi, Does anyone know any Java software (commercial or not) that is equivalent to WorldPilot? regards, Hung Jung take a look at the java.apache.org projects. relevant ones james (mailet server) jetspeed (icalendar functionality and content feeds in a portal

Re: [Zope] Underscore Caracter

2000-10-07 Thread Kapil Thangavelu
Chris McDonough wrote: Yes. Thank you. Note however that methods of modules accessed via the underscore namespace may be filtered individually, so although 'replace' exists as a method of the Python string module, this does not necessarily make it accessible implicitly through Zope via

Re: [Zope] date comparison

2000-10-11 Thread Kapil Thangavelu
michael angelo ruberto wrote: i want to create an index page that displays whether or not a page has been updated in the past 7 days or the past 20 days. however, i can't figure out how to get the bobobase_modification_date to compare with ZopeTime. can someone give me a clue before i rush

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: Can someone give me an example, either in dtml or external methods of accessing or listing the properties of the current object I am calling a method on. Or point me to a source Matt Bion you can ask an object what properties it has and retrieve them through dtml, like

  1   2   >