[Zope3-Users] How do I get the value of security proxied attributes from a view template

2007-08-24 Thread Yuan HOng
Hi, list, I am just trying to migrate a existing application from Zope2 to Zope3, and had to feel around for my ways to do things correctly. I have following view.pt snippet: Item Name specification: Price: The template is registered like this: What I get is output looking this: 卡朗妮专供

[Zope3-Users] Database authentication service

2007-08-24 Thread Yuan HOng
Hi, everyone, This must be novice question: Is there a package providing relational database based authentication service for zope 3 already lying around somewhere or do I have write one? And how does one connect a login form with the authentication service? In Zope 2 one can have lots products

Re: [Zope3-Users] How do I get the value of security proxied attributes from a view template

2007-08-24 Thread Andreas Reuleaux
On Fri, Aug 24, 2007 at 09:45:57PM +0800, Yuan HOng wrote: > Hi, list, > > I am just trying to migrate a existing application from Zope2 to > Zope3, and had to feel around for my ways to do things correctly. > > I have following view.pt snippet: > > Item Name > specification: > Price: > > The

RE: [Zope3-Users] Database authentication service

2007-08-24 Thread Doyon, Jean-Francois
There's a pluggable system ... Look in: zope/app/authentication/README.txt Or online: http://svn.zope.org/*checkout*/zope.app.authentication/trunk/src/zope/app/authentication/README.txt?rev=77044 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yuan HOng

[Zope3-Users] Containers and ZODB

2007-08-24 Thread Drew Smathers
I'm new to zope3 and have been writing an application backed by a relational database. I wanted to created a IContainer implementation which essential provides a view of items in the database, but there is no need for to make the container instances manageable through the ZMI or persistent in eith

[Zope3-Users] Overriding cssClass on all input widgets

2007-08-24 Thread Greg Baker
I'm trying to make a skin for my program, but am having trouble getting the input forms converted over. I have a skin created by a graphic artist, my problem now is figuring out how to change the cssClass attribute for all my widgets. Currently my forms are registered like this: where .i

Re: [Zope3-Users] Containers and ZODB

2007-08-24 Thread Christophe Combelles
Drew Smathers a écrit : I'm new to zope3 and have been writing an application backed by a relational database. I wanted to created a IContainer implementation which essential provides a view of items in the database, but there is no need for to make the container instances manageable through the

Re: [Zope3-Users] Containers and ZODB

2007-08-24 Thread Fred Drake
On 8/24/07, Christophe Combelles <[EMAIL PROTECTED]> wrote: > My advice would be to use a simple persistent object and store some stuffs in > it > (sql query?), so you can easily traverse to it and to its view. As long as the object doesn't store any data in the ZODB, there's no reason to store i

Re: [Zope3-Users] Containers and ZODB

2007-08-24 Thread Drew Smathers
> You don't really need to implement a container, you could just write a non > persistent object (not derived from Persistent), and create a view on it. > But the next problem is to be able to traverse to this object, since traversal > starts from the root of the zodb. I thought a Container was a

Re: [Zope3-Users] Overriding cssClass on all input widgets

2007-08-24 Thread Adam Groszer
Hello Greg, You can do your own widgets where you just override the cssClass property, then in an overrides.zcml you register them instead of the stock widgets. See zope.app.form.browser/configure.zcml. An alternative way could be to create a new zope skin and adapdt your css according to what the