Re: [Zope] How about removing broken things like Confera and ZDiscussions?

2000-10-18 Thread Kapil Thangavelu
Cary O'Brien wrote: > > Why are things like ZDiscussions and Confera even on the > zope download pages? They don't work! It would be better > if they were moved to a section called "Things that worked > once but aren't being maintained so they don't work > any more". Otherwise people starting

Re: [Zope] Mozilla->back button

2000-10-18 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > > To support Mozilla I'd like to switch to M18, but in the > Zope-Management-Interface the back-button doesn't seems to work. > What am I missing?? mozilla not handling frames and history correctly... i think the latest nightly does it properly. kapil ___

Re: [Zope] Help Debugging External Methods

2000-10-18 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: > I'm not sure what you are referring to with "...the Python debugger > "pdb"...". I've never used it. The Debugger is your friend http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend > Robert J. Roberts > LMSI-SD&I > 509.376.6343 > [EMAIL PROTECTED] >

Re: [Zope] strange problem

2000-10-17 Thread Kapil Thangavelu
Erik Myllymaki wrote: > > This is a DTML_Method I call from my standard_error_message: > > > To: Webmaster <> > From: ZopeServer <> > Subject: Problem at > > Error Type: > Error Value: > Error Msg: > > > : > > > > I call it like this: > > The mail is sent appropriately including al

Re: [Zope] Dymanic sort="&dtml-a_dtml_var;" in DTML?

2000-10-17 Thread Kapil Thangavelu
i believe these patches are in the collector on zope.org Seb Bacon wrote: > > I needed to do this a while back and a kind fellow sent me some patches to > do just this. Unfortunately my old email is unavailable at the moment, so > I've forgotten who it was. > > The syntax was > > I'll dig

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

2000-10-17 Thread Kapil Thangavelu
Jon Prettyman wrote: > > I have a folder containing a bunch of ZClass instances that I want to > access from an external (non-web) python application. > > I need to be able to read the values of the instance properties. > > Is there a way to do this with the ZClient stuff? If not, what can I >

Re: [Zope] Problems with PoPy 1.4 & ZPoPyDA 0.7

2000-10-17 Thread Kapil Thangavelu
hi dustin your probably not running the same python interpreters. check your start shell script and see which python interpreter its using and compare it to (i'm kinda of assuming your're on a *nix system) >which python they probably aren't the same. just edit the start script accordingly.

Re: [Zope] I want to use html_quote as a function

2000-10-16 Thread Kapil Thangavelu
Hello, "Ryan M. Dolensek" wrote: > > try... > > "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))"> huh??, what is this, i'm not aware of anything resembling this being in zope's core, i think you are using some type of custom lib. if not i'd like to hear about it? >

Re: [Zope] image attachments in dtml-sendmail and dtml-mime

2000-10-16 Thread Kapil Thangavelu
spoke to soon.. replace with Kapil Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient <[EMAIL PROTECTED]> > From: Zope Feedback Form <[EMAIL PROTECTED]> > Subject: Feedback from the web > >

Re: [Zope] image attachments in dtml-sendmail and dtml-mime

2000-10-16 Thread Kapil Thangavelu
Matt wrote: > > I have benn having a problem with attaching images to a dtml-sendmail. > The following is my dtml code : > > > To: Feedback Recipient <[EMAIL PROTECTED]> > From: Zope Feedback Form <[EMAIL PROTECTED]> > Subject: Feedback from the web > > Feedback from : Matt > > > > >

Re: [Zope] NEWBIE: assign next free ID automatically

2000-10-15 Thread Kapil Thangavelu
ola, the below will should work fine, although the _string.atoi is unesc since you can just use 0, or 1 by itself inside "" and have it treated as an int and its a bit inefficient to use objectValues over objectIds (list of objects vs. list of strings) although it saves you from having to do a d

Re: [Zope] List from another list in DTML?

2000-10-15 Thread Kapil Thangavelu
Alexander Chelnokov wrote: > > Hello All, > > A form contains data items ['firstname','secondname','dofb' etc] > and some "service" fields ['submit','sid','form','nform']. > With REQUEST.form.items() all these fields are included in a single > list. How can another list be created from the list

Re: [Zope] object properties

2000-10-14 Thread Kapil Thangavelu
Matt wrote: > > Thanks for your response. I tried your methods on a normal folder that > contains some other folders, dtmldocuments, and images, but it failed on the > which followed the "propertysheets.items()">. i made a simple error. this code is tested and works properly (i had set Prop

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,

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 r

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 Zop

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 por

Re: [Zope] sudden ZClass breakage

2000-10-05 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 "Inv

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.

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

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 Zop

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 su

Re: [Zope] PyGreSQLDA

2000-09-26 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

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

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

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

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

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

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] 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] 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] 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] 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] 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] 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] 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] "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] 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] 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] 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.

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

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

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

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

[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

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

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

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

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

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

  1   2   >