Re: [Zope] Progam To Write To PT

2007-12-05 Thread Andreas Jung
--On 5. Dezember 2007 15:53:58 -0400 Victor Subervi <[EMAIL PROTECTED]> wrote: I will need to create it first. Using your formula, would this be correct? my_folder/manage_addProduct/PageTemplates/manage_addPageTemplateForm(id = "my_id") Don't mix Python notation with TAL expressions. -aj

Re: [Zope] Accessing Zope REQUEST data from a Python module

2007-12-05 Thread Andreas Jung
--On 5. Dezember 2007 19:35:22 -0500 Ken Winter <[EMAIL PROTECTED]> wrote: I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing class and method definitions). From within a script, a

[Zope] Accessing Zope REQUEST data from a Python module

2007-12-05 Thread Ken Winter
I'm customizing a product. To do what I'm trying to do, I need to be able to access REQUEST data from within a Python module (not a script; a .py file containing class and method definitions). >From within a script, a line like req = context.REQUEST does the job just fine. But when I p

Re: [Zope] Progam To Write To PT

2007-12-05 Thread Victor Subervi
I will need to create it first. Using your formula, would this be correct? my_folder/manage_addProduct/PageTemplates/manage_addPageTemplateForm(id = "my_id") TIA, Victor On Dec 5, 2007 3:28 PM, Eric Bréhault <[EMAIL PROTECTED]> wrote: > Hello, > > is there any particular reason why you cannot mak

Re: [Zope] Progam To Write To PT

2007-12-05 Thread Eric Bréhault
Hello, is there any particular reason why you cannot make your program write its output in the ZODB and then access this content from a regular page template to display it properly ? Eric BREHAULT On Dec 5, 2007 8:19 PM, Victor Subervi <[EMAIL PROTECTED]> wrote: > Hi; > How do I programmaticall

Re: [Zope] Progam To Write To PT

2007-12-05 Thread Andreas Jung
--On 5. Dezember 2007 15:19:06 -0400 Victor Subervi <[EMAIL PROTECTED]> wrote: Hi; How do I programmatically write to a page template? That is, I have a program on server and I want to write from that to PT in Zope. Documentation? your_zope_pagetemplate_object.pt_edit(text, content_type)

[Zope] Progam To Write To PT

2007-12-05 Thread Victor Subervi
Hi; How do I programmatically write to a page template? That is, I have a program on server and I want to write from that to PT in Zope. Documentation? TIA, Victor ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cros

[Zope] temporary exclude page from ram-cache

2007-12-05 Thread Jaroslav Lukesh
Hi all, I have RAM-cached page that looks for data from SQLdb. For error suppression (yea, I use MSSQL which make sometime unbelievable SQL error with the same errorless query) I use try-except wrapper, but in some cases page is cached without db results for a long time. I know how to inva

Re: [Zope] Re: pointers on predicting ZODB size based on size of files to be imported?

2007-12-05 Thread michael nt milne
Thanks for the reply. Yes we would be packing and backing up each day, so changes made to the db wouldn't be that much of an issue. I guess the best way to do this is to just test using various file types and record the changes to the ZODB. On Dec 5, 2007 12:06 PM, Raphael Ritz <[EMAIL PROTECTED]>

[Zope] Re: pointers on predicting ZODB size based on size of files to be imported?

2007-12-05 Thread Raphael Ritz
michael nt milne wrote: Hi Is there any documentation anywhere or advice on being able to estimate the size of a potential Zope ZODB instance based on the size of a current site? For example if you were to have a site of say 5 gb consisting of HTML pages, graphics, images, pdfs, word docs, ex

[Zope] Re: Frustrated with Python and Frameworks. Zope

2007-12-05 Thread Yuri
Some sort of rating system and comments about Zope products would be nice; like Joomla does with its extensions. For example: http://extensions.joomla.org/component/option,com_mtree/task,viewlink/lin k_id,1508/Itemid,35/ I can't say how much time I have wasted investigating dead-end or poor