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

pgpgA0LiXPEuk.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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 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 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 cross posts or HTML encoding!  **
> > (Related lists -
> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >   http://mail.zope.org/mailman/listinfo/zope-dev )
> >
> >
>
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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 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 cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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)

-aj

pgpLYGZ6KWi0x.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[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 cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )