Re: [Zope] Changing Properties With ZPT

2005-08-10 Thread Sascha Ottolski
Am Mittwoch, 10. August 2005 16:31 schrieb Dyyryath: > An example is probably in order. Take the following code: > > TITLE HERE > TITLE HERE why not using the same name in the python expression? :-) TITLE HERE just beware that the path expression template/title might do some magic for you, like

Re: [Zope] Changing Properties With ZPT

2005-08-10 Thread Dyyryath
Thanks for the reply, Andreas. Actually, I probably didn't properly explain my question. I do realize that the template is an object and that all I need to do is access the template's API to modify it's properties (though, I admit I'm a newbie here). My problem is that the only way I can find to

Re: [Zope] Changing Properties With ZPT

2005-08-10 Thread Andreas Jung
--On 9. August 2005 21:37:11 -0400 Dyyryath <[EMAIL PROTECTED]> wrote: I'm trying to figure out how I can change the properties of a template with ZPT. For example, let's say I've got a Page Template with a property called 'name' and I want to change it in response to something in the HTTP r

[Zope] Changing Properties With ZPT

2005-08-09 Thread Dyyryath
I'm trying to figure out how I can change the properties of a template with ZPT. For example, let's say I've got a Page Template with a property called 'name' and I want to change it in response to something in the HTTP request: SOME CODE TO CHANGE THE PROPERTY TO EQUAL context.REQUEST['name']