Re: [Zope3-Users] View with template

2005-10-30 Thread Dominik Huber
Frank Burkhardt wrote: Hi, a short introduction first: I'm Frank Burkhardt, working at the Max Planck Institute in Germany. My employer wants a new website to replace the old one (www.cbs.mpg.de - yes, it looks really really ugly). We chose Zope3 to implement it. Maybe there will be one or two

[Zope3-Users] MessageBoard tutorial deprecation warnings

2005-10-30 Thread Brad Allen
The messageboard tutorial in the Zope 3 Developer's Handbook doesn't seem to work for me. I'm using the copy from svn co svn://svn.zope.org/repos/main/book/trunk The SVN url listed in the book didn't work, but I'm not sure this is the right one. Anyway, I'm using the "step13" folder, and when

Re: [Zope3-Users] Validation of schemas?

2005-10-30 Thread baiju m
On 10/31/05, Stephan Richter <[EMAIL PROTECTED]> wrote: > On Sunday 30 October 2005 04:45, Adam Summers wrote: > > How do I implement a validation rule that says either email or phone > > have to exist, but not necissarily both. > > You do that using invariants. Look at zope.interface/README.txt fo

Re: [Zope3-Users] Help us! Calling a Python Script from ZPT

2005-10-30 Thread Wade Leftwich
Stephan Richter wrote: On Saturday 29 October 2005 20:50, Wade Leftwich wrote: Stephan Richter wrote: On Saturday 29 October 2005 11:35, Paolo Cilmo wrote: I need to develop a site using ZMI (Zope2 typical using) and especially i want to develop this applications: We do not support TTW de

Re: [Zope3-Users] Help us! Calling a Python Script from ZPT

2005-10-30 Thread Stephan Richter
On Saturday 29 October 2005 20:50, Wade Leftwich wrote: > Stephan Richter wrote: > > On Saturday 29 October 2005 11:35, Paolo Cilmo wrote: > >>I need to develop a site > >>using ZMI (Zope2 typical using) and especially i want > >>to develop this applications: > > > > We do not support TTW developme

Re: [Zope3-Users] Validation of schemas?

2005-10-30 Thread Stephan Richter
On Sunday 30 October 2005 04:45, Adam Summers wrote: >     How do I implement a validation rule that says either email or phone > have to exist, but not necissarily both. You do that using invariants. Look at zope.interface/README.txt for details. Regards, Stephan -- Stephan Richter CBU Physics

[Zope3-Users] Complex Adapter Requirements - Named Adapters?

2005-10-30 Thread James Allwyn
Hi, My project has an IAccommodation object type, representing a generic housing unit, from which we subclass several types of housing (ISharedHouse, IFamilyHouse, ILargerDevelopment,...). Now, we need to recognise various "standards" in relation to these accommodation units - these are standard

Re: [Zope3-Users] catalog indexing adapter interfaces

2005-10-30 Thread Alen Stanisic
> Alen Stanisic wrote: > I noticed that if I adapted a persistent content type and created a > catalog with index on one of the fields provided by the adapter > interface, the indexing worked for all of my content that was there at > time of catalog creation. But any new content objects created af

Fwd: [Zope3-Users] How to publicly add object to Zope component

2005-10-30 Thread Martin Margo
Hello Thanks very much for your pointer. I finally figure it out Basically in my $ZOPE_HOME/lib/python//browser/configure.zcml, I add <--- my own custom permission in permissions.zcml That is how you can modify the permission for adding view (/+/Add...) Martin 2005/10/28, Martin Mar

[Zope3-Users] Validation of schemas?

2005-10-30 Thread Adam Summers
Hi there, Using the buddy demo as an example, with the following interface: class IBuddy(zope.interface.Interface): """Provides access to basic buddy information""" fullname = TextLine(title=_("Name")) email = TextLine(title=_("Email Address")) phone = TextLine