Re: [Zope3-Users] Updating preferences from ZPT

2005-06-23 Thread Stephan Richter
On Tuesday 14 June 2005 16:29, Florian Lindner wrote: > Do I need to use a view class? Of course! You cannot just paste a piece of ZPT and expect everything else to work as well. You also have to have a ZPT call that calls an "update" or similar method. > Which attribute do I use to update the

Re: [Zope3-Users] Updating preferences from ZPT

2005-06-18 Thread Florian Lindner
Am Dienstag, 14. Juni 2005 22:29 schrieb Florian Lindner: > What is the best way to redirect or directly output the template the view class is associated with? Ok, I redo my question. Just this part. How can I just ouput the template from a view class: class view: def __call__(self):

[Zope3-Users] Updating preferences from ZPT

2005-06-14 Thread Florian Lindner
Hello, I want to update user preferences from a ZPT. The user should hit "Update" and get redirected to the same page with the updates values. I've tried a form This was pasted from the site the preferences package autogenerates. It works so far, but changing fields have no effect. Do I