[Zope3-Users] How to register multiple view for the same content class

2007-09-28 Thread Yuan HOng
Hi, I thought this would be a simple case for Zope3, but after one whole day I am not able to find a clean solution. Must be missing something. Suppose I have a BookShelf which contains lots of Books. The view for BookShelf will show a list of Books contained in the shelf, and when the user

[Zope3-Users] Re: [Zope] Static Zope 3 APIDOC available!

2007-09-28 Thread Baiju M
Stephan Richter wrote: Hi everyone, I am happy to announce that the second Foliage sprint task is completed. Julian Bonilla, Graham Stratton and I worked on the outstanding issues on creating a functional version of the APIDOC, which comes with Zope. Thanks to Jens Vagelpohl, the static

[Zope3-Users] Re: [Zope3-dev] Re: [Zope] Static Zope 3 APIDOC available!

2007-09-28 Thread David Pratt
Very nice. Many thanks for this. Regards, David Baiju M wrote: Stephan Richter wrote: Hi everyone, I am happy to announce that the second Foliage sprint task is completed. Julian Bonilla, Graham Stratton and I worked on the outstanding issues on creating a functional version of the

[Zope3-Users] zopeproject auto create instance

2007-09-28 Thread Michael Ang
Hi, I am new to zope3 and zopeproject. I have a question, how do I create an instance of my (IContainer) class when initial startup of a zopeproject? For Plone, I can inject in Extensions/Install.py. Hope you understand my question, thanks. :]Michael

[Zope3-Users] Plone Conference 2007 Registration Closes October 5th!

2007-09-28 Thread vincenzo barone
Don't miss this fantastic event, hurry up, register now before the deadline! Plone Conference 2007 Registration Closes October 5th! Only one week left !!! With over 300 people already registered for Plone Conference 2007, we're going to close registration on October 5th at 11:59PM (Italian

[Zope3-Users] Re: Grok or raw Zope?

2007-09-28 Thread Michael Ang
You mention need a bug tracking system, a support platform for our customers, a knowledge base for our employees and customers, an many other applications... very CMS to me. :]Michael Matias Surdi wrote: We Don't want a CMS. We need a framework to build an application which can grow with

Re: [Zope3-Users] How to register multiple view for the same content class

2007-09-28 Thread Frank Burkhardt
Hi, On Fri, Sep 28, 2007 at 05:33:56PM +0800, Yuan HOng wrote: On 9/28/07, Frank Burkhardt [EMAIL PROTECTED] wrote: You just need another browser:page here. Name it 'in-shelf-view' and use something like div tal:replace=structure book/@@in-shelf-view / to embed it. Thanks,

Re: [Zope3-Users] How to register multiple view for the same content class

2007-09-28 Thread Yuan HOng
On 9/28/07, Frank Burkhardt [EMAIL PROTECTED] wrote: You just need another browser:page here. Name it 'in-shelf-view' and use something like div tal:replace=structure book/@@in-shelf-view / to embed it. Thanks, that works. So all was missing is the '@@' notation to tell TALES to look up

Re: [Zope3-Users] How to register multiple view for the same content class

2007-09-28 Thread Frank Burkhardt
Hi, On Fri, Sep 28, 2007 at 03:19:10PM +0800, Yuan HOng wrote: [snip] Is it possible to register two different views for the Book, one for display in shelf, another for the detailed view? The one for the detailed view is simply a BrowerPage, but how to do the book-in-shelf view? Exactly

[Zope3-Users] Static Zope 3 APIDOC available!

2007-09-28 Thread Stephan Richter
Hi everyone, I am happy to announce that the second Foliage sprint task is completed. Julian Bonilla, Graham Stratton and I worked on the outstanding issues on creating a functional version of the APIDOC, which comes with Zope. Thanks to Jens Vagelpohl, the static APIDOC is now available at:

[Zope3-Users] Re: zopeproject auto create instance

2007-09-28 Thread Philipp von Weitershausen
Michael Ang wrote: Hi, I am new to zope3 and zopeproject. I have a question, how do I create an instance of my (IContainer) class when initial startup of a zopeproject? For Plone, I can inject in Extensions/Install.py. Hope you understand my question, thanks. Write an

Re: [Zope3-Users] Re: Grok or raw Zope?

2007-09-28 Thread Robert-Reinder Nederhoed
Plone is not just a CMS. Since Plone is built on Zope, you can develop extensions as you would in Zope. I'm no Plone expert, but our company chose Plone and my colleagues implemented custom functionality when needed. You will have to know how to integrate your new components (Zope Products) with

[Zope3-Users] Re: ftp server and zopeproject?

2007-09-28 Thread Philipp von Weitershausen
Myles English wrote: I am getting on so well with what I have now as a result of virtualenv and zopeproject0.4 that I don't want to break it by mistake so I am asking people who know. On the sandbox I had before, I edited zope.conf to start an ftp server as well as http on startup. This was

[Zope3-Users] Buildout recipe to create config file from contents in buildout.cfg?

2007-09-28 Thread Derek Richardson
I am using hexagonit.recipe.cmmi to install pound (www.apsis.ch/pound) in front of zope. After I cmmi, I need to install a config file. I'd like to include the pound config file in buildout.cfg, like the zcml section in zc.zope3recipes:application. Is there a simple recipe for making a file out

[Zope3-Users] Installing a run script in bin/ after using cmmi

2007-09-28 Thread Derek Richardson
After I install pound using cmmi, I want to create a run script in bin/. This should be easy - the script should be boilerplate and not require mods for individual installs. I can use the os command recipe to put it in bin/. My question: where is best to store the script? Does it belong

Re: [Zope3-Users] How to register multiple view for the same content class

2007-09-28 Thread Yuan HOng
On 9/28/07, Frank Burkhardt [EMAIL PROTECTED] wrote: You could use a view as dispatcher which then would be traversed like object/@@view: class MyDispatcher(object): def __call__(self): realview=zapi.getMultiAdapter((self.context,self.context.__parent__,self.request))

[Zope3-Users] ATDocument-like content component

2007-09-28 Thread Yuan HOng
Hi, Does there exists for Zope3 a content component for creating/editing HTML pages through the Web, preferably with the ability to upload images related to the HTML document? Something similiar to ATDocument for Plone/Zope2? -- Hong Yuan 大管家网上建材超市 装修装潢建材一站式购物 http://www.homemaster.cn