RE: [Zope] overriding __str__ method?

2000-10-10 Thread Dieter Maurer
Seb Bacon writes: > I know how to create a form that does what I want (update properties, > whatever). What I don't know is how to include it as part of the rendered > content programmatically. At the moment users have to go to > www.widgets.com/manage_content, log in, and see a set of forms

Re: [Zope] overriding __str__ method?

2000-10-09 Thread Dieter Maurer
Seb Bacon writes: > ... "manage_content" to enable editing all relevant aspects > Now I want a way to give the user access to this screen. I could do a new > version of the folders tree view (manage_menu), but what I'd really like to > do is have a button next to each of these elements (

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Peter Sabaini
so if i'm not mistaken you want to be able to include an object instance with say and, depending on the user being authenticated, have that object render with "edit this" button or without? overriding the __str__ method can afaik only be done inside a python product (read the python product tut

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Seb Bacon
Thanks for the reply, > Either I don't understand the problem or you're making it too > complicated. I think both, but mostly the latter ;) Explanation MK II: I know how to create a form that does what I want (update properties, whatever). What I don't know is how to include it as part of th

Re: [Zope] overriding __str__ method?

2000-10-08 Thread Tim Cook
Seb Bacon wrote: > My strategy: > Each element that I want the user to be able to edit is a ZClass with a > manage_content method. This provides the custom management view (e.g. > combines properties and title/data into a single form). > Now I want a way to give the user access to this screen.

[Zope] overriding __str__ method?

2000-10-08 Thread Seb Bacon
Hi, What I'd really like to do is have inline content-management. I don't know if I'm completely up the wrong tree, and some advice would be much appreciated. My reason: Correct me if I'm wrong, but the zope security model does not allow me exclude an authenticated user from knowing that an app