Re: [Zope3-Users] Two content objects' simultaneous adding

2006-05-20 Thread Jean-Marc Orliaguet
Jonathan wrote: - Original Message - From: "baiju m" <[EMAIL PROTECTED]> I have two content objects (both are containers) but I cannot add one to another as give here : ... I don't use zope 3 (yet!) but a quick look at the above code seems to indicate that this is not a zope 3 issue

Re: [Zope3-Users] New Request Variable?

2006-05-19 Thread Jean-Marc Orliaguet
Jim Washington wrote: I have an expensive function (the result is a long list of IntIds) that I only want to call once in a request. It only gets calculated the first time it is called, and the results may be used anytime after that. But only for the current request. A subsequent request has

Re: [Plone-developers] Re: [Zope3-Users] Re: [z3-five] zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3

2006-04-11 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Monday 10 April 2006 08:50, Jean-Marc Orliaguet wrote: Stephan Richter wrote: On Sunday 09 April 2006 20:33, David Pratt wrote: The Z2 integration will be started soon at a sprint soon. Viewlets and portlets seem pretty synonymous and cpsskins

Re: [Zope3-Users] Re: [z3-five] zope.viewlet and zope.contentprovider - options for Zope 2 and Plone 3

2006-04-10 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Sunday 09 April 2006 20:33, David Pratt wrote: The Z2 integration will be started soon at a sprint soon. Viewlets and portlets seem pretty synonymous and cpsskins provides a way to manipulate portlets visually which is very nice. Viewlets are not portlets! Po

Re: [Zope3-Users] ZopeX3 Component Architecture in comparision to MVC - general question/example

2006-02-28 Thread Jean-Marc Orliaguet
Reinhold Strobl wrote: Hi, I know from http://philikon.de/files/zope3-for-zope2-developers.pdf that ZopeX3 Component Architecture is more/differs than/to Model-View-Controller. Model = Content in Zope View = Views in Zope but what about the controller? Where should I place the application log

Re: [Zope3-Users] What attributes are made persistent

2006-02-16 Thread Jean-Marc Orliaguet
Peter Bengtsson wrote: On 2/16/06, Jeff Shell <[EMAIL PROTECTED]> wrote: One could, but it's really not worth it. It's just the laws of Python and mutability and immutability :). (It took me years to understand those terms. I kept associating them with 'mutable' in the "can be made quiet" se

Re: [Zope3-Users] Simple Acquisition

2006-02-04 Thread Jean-Marc Orliaguet
David Johnson wrote: I have created a ZPT Page which I have no trouble accessing: http://localhost/index.html However, if I try to access it from the following URL, I see the contents of MyFolder instead of the index.html. http://localhost/MyFolder/index.html What is the proper way to acqu

Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Jean-Marc Orliaguet
Fermigier Stefane wrote: Gary Poster wrote: - Jean-Marc Orliaguet's relationship code, which is based on extrinsic triadic relationships, GPL, and used for CPSSkins; Cf. http://svn.z3lab.org/trac/z3lab/file/cpsskins/branches/jmo-perspectives/doc/peirce-relations.txt http://svn.z3la

Re: [Zope3-Users] Please Guido, pick me, pick me!

2006-02-02 Thread Jean-Marc Orliaguet
Stefane Fermigier wrote: Wade Leftwich wrote: Guido van Rossum is looking for a web app framework. http://blog.delaguardia.com.mx/index.php?op=ViewArticle&articleId=34&blogId=1 Zope is conspicuous by its absence from the discussion. Hardly a mention, and no advocacy at all. Is Zope just t

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Thursday 05 January 2006 08:28, Jean-Marc Orliaguet wrote: PS: note that "viewlets" are known outside the Zope3 world as being small tutorial movies: http://psptips.com/6/viewlets/ http://www.pmwdc.com/skies/ http://www.geek.com/tipstrix/qa

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote: Create content type 'Portlet' that could have TAL as its content and when watched in browser TAL should be redered. My code is below. You really should not call this a portlet. A portlet is very well defin

Re: [Zope3-Users] problem Z3+cpsskins

2006-01-03 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Saturday 31 December 2005 18:58, Hector Miuler Malpica Gallegos wrote: Hi friends, i have a problem actually use cpsskins of svn.z3lab.org and the zope3 of svn (svn.zope.org), whenever I want to create a subject shows the following error: You might have more

Re: [Zope3-Users] Re: ZCML, practicality, purity (was "Excellent perspective...")

2005-12-22 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: The problem with ZCML is not the language (XML). Writing the same description in python would not address such issues as: - when looking at a component, how can I know how it is wired inside the application without doing a grep on 100 files

Re: [Zope3-Users] Re: ZCML, practicality, purity (was "Excellent perspective...")

2005-12-22 Thread Jean-Marc Orliaguet
Shane Hathaway wrote: Wade Leftwich wrote: If ZCML (a/k/a The Right Way) is keeping fairly smart developers from trying Z3, then maybe we need an alternative (a/k/a What People Think They Want). Are you sure ZCML is The Right Way? I know its purpose (since I helped invent Zope 3): to comb

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

2005-10-31 Thread Jean-Marc Orliaguet
Wade Leftwich wrote: > Stephan Richter wrote: > >> >> >> Why not have those templates on the file system? Is there a need for >> users to modify those templates? > > > Yes, users with the job description "web producers", which is to say > people who can do HTML and a bit of scripting, but who do n

Re: [Zope3-Users] images in a content object

2005-09-27 Thread Jean-Marc Orliaguet
Duncan McGreggor wrote: > > On Sep 27, 2005, at 11:54 AM, Benji York wrote: > >> Duncan McGreggor wrote: >> >>> My problem is that I haven't figured out how to point to this image, >>> as it is part of the content object itself. Ideally, I would like to >>> be able to refer to it in a ZPT via a UR

Re: [Zope3-Users] Re: [Z3lab-checkins] r24502 - in z3lab/cpsskins/trunk: . browser/editor browser/skin elements/formats

2005-07-01 Thread Jean-Marc Orliaguet
Jim Fulton wrote: > Florent Guillaume wrote: > ... > >>> + >>> + >>> +def renderItems(content, start='', repeat='%s', separator='', >>> end='', **kw): >>> +if IMenuItems.providedBy(content): >>> +items_markup = [start] >>