Re: [Zope-dev] mailhost problems.. 2.2?

2000-09-13 Thread Chris Withers
James Johnson wrote: > I can't send mail using Zdebug and PTK latest versions. Here is the > error. > exceptions.TypeError > Error value: len() of unsized object Are you sure this isn't a result fo upgrading to Zope 2.2 recently? we found we had to delete oru existing mailhost objects and creat

[Zope-dev] Convert from HTML to DOC or from PDF to DOC.

2000-09-13 Thread Juan Javier Carrera Obrero
Hi,   We are trying to generate a document from Zope with a format no HTML. We have used the library "reportlab" (http://www.reportlab.com) to generate it in PDF format (with python). It is very useful, however we want now to generate it in DOC format (for Microsoft Word).   I know that Micr

[Zope-dev] INSTANCE_HOME, SOFTWARE_HOME and package_home

2000-09-13 Thread Chris Withers
Evan Simpson wrote: > > f=open('%s/Products/%s.dtml' % (SOFTWARE_HOME,file)) > > E:\Zope\2.2.0\lib\python/Products/Squishdot/validArticle.dtml > >f=open('%s/Products/%s.dtml' % (INSTANCE_HOME,file)) > > 'E:\\Zope\\2.2.0/Products/Squishdot/validArticle.dtml' > > This looks correct

Re: [Zope-dev] Convert from HTML to DOC or from PDF to DOC.

2000-09-13 Thread Phil Harris
You could try converting to RTF. There are a few HTML->rtf converters around. - Original Message - From: Juan Javier Carrera Obrero To: [EMAIL PROTECTED] Sent: Wednesday, September 13, 2000 11:53 AM Subject: [Zope-dev] Convert from HTML to DOC or from PDF to DOC. Hi, We are trying to

Re: [Zope-dev] Custom dtml tag

2000-09-13 Thread Brett Carter
Andy - looking up 'this' in a dtml method or document won't work unless you expose it in your python product/tag definition. I'm talking about getting 'this' inside a dtml tag that I have defined myself (i.e. ). If you want 'this' available in dtml, write an external method and just return 'self

[Zope-dev] ZPatterns guestbook example

2000-09-13 Thread James Johnson
Hello, I ran across a previous post regarding a simple ZPatterns based example you were working on. Did you ever get it working? How about any other basic working example. I understand the concept I'm not sure on the implementation. What would help me the most is a simple step by step gui

[Zope-dev] Will the SkinScript How-to help me put together something that works?

2000-09-13 Thread James Johnson
I can't seem to make ZPatterns do anything. Can somebody help me out. I don't need code help just a basic how-to structure a working example using real objects, like dtml methods, sql methods or whatever. I really want to use and support the Zope and ZPatterns system. Until then I'm going t

[Zope-dev] Re: ZPatterns guestbook example

2000-09-13 Thread Peter Toneby
On Wed, Sep 13, 2000 at 12:23:52PM -0700, James Johnson wrote: > Hello, > I ran across a previous post regarding a simple ZPatterns based > example you were working on. Did you ever get it working? unfourtunatly no, since there are no simple examples that I have seen, and I haven't had time

[Zope-dev] HiperDOM & xmlc

2000-09-13 Thread Lalo Martins
We (I and Hiperlogica, a company I consult with) have been developing a template renderer with similar intent to xmlc (be based on XML/DOM, allow the template to be previewed and edited using tools not aware of the format, such as xHTML editors, and enforce presentation/logic separation). As the

[Zope-dev] Porting EMarket to ZPatterns...possible good example

2000-09-13 Thread James Johnson
I overlooked this posting somehow.  I've now actually stored something in a ZClass.  This seems to be a good working example. Thanks so much.  I will play with the rest and see what I come up with. I had to post it again just in case others missed it like I did. Thanks Phillip! OK. that he