[Zope3-Users] Re: AJAX (was Uploading files)

2006-06-01 Thread Balazs Ree
On Thu, 01 Jun 2006 15:36:59 +0200, Marco Mariani wrote: > Stephan Richter wrote: > >>> Just curious... what is it about AJAX that you hate? The >>> implementation? The concept? Something else? >> >> About everything. JS has no good development tools, it is impossible to >> do decent debugging a

[Zope3-Users] Re: multivalued fields and sources

2006-06-01 Thread Sam Stainsby
On Thu, 01 Jun 2006 16:05:53 -0400, Stephan Richter wrote: > I think providing widgets for missing source fields would be fantastic. I've already done this - see changes in Zope 3.3. Now I'm trying to get AJAXish things happening with widgets ... with some success! __

Re: [Zope3-Users] How to prevent several notifications of events ?

2006-06-01 Thread Thierry FLORAC
On Thu, 2006-06-01 at 12:27 +0200, Florent Guillaume wrote: Thierry FLORAC wrote: > I've build a simple adapter that modifies context properties through > annotations ; everything works fine. > In several cases, when some attributes are updated, I do a > "notify(ObjectModifiedEvent(self.conte

Re: [Zope3-Users] request.principal and render/update

2006-06-01 Thread Pete Taylor
no problem anymore, that was a while back. it's been working correctly for quite some time. if you check the later posts, I did exactly what you suggest, and use session credentials. it then had an issue where it assumed that the form always called the fields "login" and "password" so I overrod

[Zope3-Users] Re: IObjectModifiedEvent

2006-06-01 Thread Marco Mariani
Philipp von Weitershausen wrote: > > >>> from zope.lifecycleevent.interfaces import ObjectModifiedEvent > > >>> from zope.event import notify > > >>> notify(ObjectModifiedEvent(myobj)) I see, thanks. I missed the notify() because I override handle_edit_action() without calling super(), and

Re: [Zope3-Users] i18n questions

2006-06-01 Thread Lennart Regebro
On 6/1/06, Stephan Richter <[EMAIL PROTECTED]> wrote: Yes, the PO file format is totally independent of Zope and Python. However, the directory structure is not independent of which i18n implementation you have. ;) Five and Zope3 uses the same one, though: /LC_MESSAGES/.mo I think Plone uses

Re: [Zope3-Users] Couple of Zope 3 screencasts, input solicited

2006-06-01 Thread Stephan Richter
On Monday 15 May 2006 15:36, Paul Everitt wrote: > Hi all.  I did a couple of screencasts for Zope 3: > >    http://zeapartners.org/scl/2006/04/25/z3-install/index.html >    http://zeapartners.org/scl/2006/04/25/z3-helloworld/index.html > > The first one is primarily a way for me to remember how to

Re: [Zope3-Users] zope 3 book messageboard example..

2006-06-01 Thread Stephan Richter
On Thursday 30 March 2006 13:16, Alec Flett wrote: > So everything looks right to me - I wish I could offer more! I consider > myself a reasonably skilled Python developer but this is my first foray > into Zope The code looks okay. Unfortunately, the messageboard code was written for Zope 3.0 and

Re: [Zope3-Users] Re: directlyProvides and formlib

2006-06-01 Thread Stephan Richter
On Thursday 01 June 2006 16:32, luis wrote: > well... there was a follow-up on this thread... > it seems like (if the object doesnt provide ILocation), the marker > interfaces are not attached to the object itself, but to a ContainedProxy > object which wraps the real object, and that makes problem

Re: [Zope3-Users] ILoginPassword anyone?

2006-06-01 Thread Stephan Richter
On Tuesday 28 March 2006 20:55, David Johnson wrote: > Does anyone have an ILoginPassword/BasicAuthAdapter implementation?  I > posted earlier, but no-one responded. I am stumped on this one. > > I implemented the example from Phillip's book with no success.  Various > attempts to correct the appar

[Zope3-Users] Re: directlyProvides and formlib

2006-06-01 Thread luis
Hi, Stephan Richter wrote: > The code looks good. Are you really sure IMarker is not provided? Maybe > another piece of code calls directlyProvides(), which would override this > call. You should pretty much always use alsoProvides, since it does not > delete the existing directly provided inte

Re: [Zope3-Users] formlib validator

2006-06-01 Thread Stephan Richter
On Sunday 23 April 2006 11:27, David Johnson wrote: > I'm using formlib and trying to implement a validator on a new-use sign up > form. It seems to work unless I provide my own widget errors.  Below is my > validator. The code is being executed (I can see my debug code).  Any > ideas? What am I no

Re: [Zope3-Users] Generating loginForm with formlib

2006-06-01 Thread Stephan Richter
On Thursday 20 April 2006 09:38, Florian Lindner wrote: > but formlib generates the two fields with name="form.login" therefore the > session credentials plugin is able to extract the credentials. > > How can I use formlib to generate a login form? I think we used a custom written form. ;-) But yo

Re: [Zope3-Users] A Question about the "Hostname" in the Zope3 Server

2006-06-01 Thread Stephan Richter
On Tuesday 09 May 2006 09:33, Helman R. Valencia B. wrote: > When I Start a Zope 2.7.5, the Hostname is the same of my computer, and > when I Start a Zope 3.2.0 the Hostname is "localhost" (reserved word). Is > possible to change that name in Zope 3.2.0? because in the Intranet I can't > access the

Re: [Zope3-Users] Zope, WebDAV, MS Word

2006-06-01 Thread Stephan Richter
On Monday 08 May 2006 04:36, Achim Domma wrote: > Is there still a problem with Zope 3, WebDAV and Windows? Any hint how > to edit objects via Microsoft Word or OpenOffice Writer? Zope 3 and Zope 2's implementation of WebDAV are somewhat different. Recently Michael Kerrin has worked on WebDAV, so

Re: [Zope3-Users] Static vocabulary

2006-06-01 Thread Stephan Richter
On Sunday 30 April 2006 13:52, Florian Lindner wrote: > I want to define an vocabulary schema field with a fixed sets of values. > How can I do that? How can I define it directly in ZCML? I would not define such thing in ZCML, use Python instead: from zope.schema import vocabulary vocab = vocabu

Re: [Zope3-Users] Access subfolder's files object's metadata thru tal macros

2006-06-01 Thread Stephan Richter
On Tuesday 25 April 2006 01:19, Nicolas Legault wrote: > >   file:filename >   desc:description > > > Is there someone who can tell me the correct way to do this ? When you iterate over a dictionary/mapping such as a folder, you iterate over its keys, not its values. Thus, item is just a stri

Re: [Zope3-Users] getUtility outside of the zope.app

2006-06-01 Thread David Pratt
Hi Stephan. For sure! Thanks for your reply. Regards, David Stephan Richter wrote: On Friday 26 May 2006 09:11, David Pratt wrote: Hi. For the use of interfaces outside of zope.app, does getUtility have any value? Many thanks. getUtility is provided by zope.component. If you use zope.interf

Re: [Zope3-Users] Re: Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Alek Kowalczyk
Philipp von Weitershausen wrote: [EMAIL PROTECTED] wrote: Hi, I need to send some rich-text (HTML) mail, containing information based on many objects. It would be nice to render it using ZPT provided by Zope instead of manual creation of HTML text. Can I (ab)use ZPT for such purpo

Re: [Zope3-Users] directlyProvides and formlib

2006-06-01 Thread Stephan Richter
On Sunday 23 April 2006 19:42, luis wrote: > I'm having problems getting interface.directlyProvides to work... > > does anyone know why the following code doesn't work (file is created, but > it doesnt provide the IMarker interface...) The code looks good. Are you really sure IMarker is not provid

Re: [Zope3-Users] callback errors?

2006-06-01 Thread Stephan Richter
On Thursday 20 April 2006 14:12, Joseph Turian wrote: > [Posting this to twisted and zope3 user, since I'm not sure which is > more germane] > > I just install zope 3.2.0 on Gentoo. > I then manually configured a zope instance in /var/lib/zope/zope-3.2.0/ > When I access the zope server at 192.168.

Re: [Zope3-Users] Overriding zope.conf in zope.app.twisted.main

2006-06-01 Thread David Pratt
Stephan Richter wrote: On Friday 21 April 2006 13:11, David Pratt wrote: I hoping to feed the configuration data as dictionary or similar instead of providing a config option and file path. Many thanks. I think the startup machinery depends on the options object. You basically would have to w

Re: [Zope3-Users] Object Widgets

2006-06-01 Thread Stephan Richter
On Tuesday 18 April 2006 10:44, Marco Mariani wrote: > Should I set form_fields['photo'].custom_widget ? To what? You have several choices, though this is a good one. I am not sure that there is an ImageWidget, but I think there is a file one. In one of my latest projects, we wrote some custom c

Re: [Zope3-Users] multivalued fields and sources

2006-06-01 Thread Stephan Richter
On Saturday 15 April 2006 23:36, Sam Stainsby wrote: > From looking the Zope 3 code, I suspect that the full set of widgets is > not yet available for sources? That's correct. You are very brave using sources. I still have not understood them. I happily use vocabularies, still. ;-) > Or have I g

Re: [Zope3-Users] Understanding authentication

2006-06-01 Thread Stephan Richter
On Saturday 15 April 2006 15:28, Achim Domma wrote: > Is there a simple example on how to setup a sub-site with a PAU and to > allow login to a principal from this PAU. I think the major problem here is that you user is not allowed to traverse from "main" to "demo1". Give the user at least enough

Re: [Zope3-Users] request.principal and render/update

2006-06-01 Thread Stephan Richter
On Wednesday 12 April 2006 12:54, Pete Taylor wrote: > i have built a credentials plugin and an authenticator plugin, and set > them up in my PAU.  i built the credentials plugin such that if no > credentials a recieved in the request, it checks the cookies for the > expected credentials, and if th

Re: [Zope3-Users] Blobs and filestream iterator

2006-06-01 Thread Stephan Richter
On Wednesday 12 April 2006 12:27, David Pratt wrote: > Hi. I had written a repository product in zope2 for blobs. I am looking > at bringing this into Z3 at the moment and looking for equivalent for > stream iterator of zpublisher. In Zope 3 you can now return IResult objects. The publisher then k

Re: [Zope3-Users] Best structure for a large schema

2006-06-01 Thread Stephan Richter
On Wednesday 12 April 2006 11:44, David Pratt wrote: > In any case. Thought I'd ask since I am concerned about the efficiency > of storage and speed of access both. If rdf access was fast then it > would be great but this had not been the case. I just thought there may > be some other ideas on this

Re: [Zope3-Users] Overriding zope.conf in zope.app.twisted.main

2006-06-01 Thread Stephan Richter
On Friday 21 April 2006 13:11, David Pratt wrote: > I hoping to feed the configuration data as dictionary or similar instead > of providing a config option and file path. Many thanks. I think the startup machinery depends on the options object. You basically would have to write code that creates

Re: [Zope3-Users] formlib problem

2006-06-01 Thread Stephan Richter
On Friday 14 April 2006 11:00, Stéphane Brault wrote: >  I'm trying to use formlib but I get a problem : >  Traceback (most recent call last): >    File "", line 1, in -toplevel- >      print MyForm(None, request)() >    File "", line 6, in __call__ >      widgets = form.setUpWidgets(self.form_fiel

Re: [Zope3-Users] Found a (perhaps obvious) page template speedup

2006-06-01 Thread Stephan Richter
On Sunday 16 April 2006 15:17, Jeff Rush wrote: > Perhaps most of you already know this but it bit me this week.  For my > project I've noticed some sluggish presentation of pages, and a lot of > container queries flying around for very simple pages.  It turns out to be > Javascript code (singleBra

Re: [Zope3-Users] ftest: No registered publisher found for (GET/)

2006-06-01 Thread Stephan Richter
On Sunday 16 April 2006 10:57, Egon Frerich wrote: > >     ConfigurationError: No registered publisher found for (GET/) > > Can someone tell me what is missing? I have never encountered this problem. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. studen

Re: [Zope3-Users] custom tuple widget

2006-06-01 Thread Stephan Richter
On Wednesday 29 March 2006 05:46, Marco Mariani wrote: > The custom widget will then render all the tree in a javascript object > (dictionary of dictionaries of dictionaries) which will fill and change > the dropdown menus accordingly. As an improvement, the tree nodes can be > retrieved by XmlHttp

Re: [Zope3-Users] security on file objects prevents accessing "read" in other methods

2006-06-01 Thread Stephan Richter
On Tuesday 28 March 2006 11:13, Joel Moxley wrote: > What's the best way to pass around a file object with open permissions? Either declare the file as a rock or do the following: Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web

Re: [Zope3-Users] ZPT traverser for finding site

2006-06-01 Thread Stephan Richter
On Tuesday 28 March 2006 09:19, Florian Lindner wrote: > is there a ZPT traverser for finding the nearest site in Zope3? > > register > > because registrationForm is registered in my object which forms the site. No there is not. Use the view class to look up the site using zope.app.component.hook

Re: [Zope3-Users] Question about batching

2006-06-01 Thread Stephan Richter
On Friday 24 March 2006 00:04, José Ernesto Guzmán Villeda wrote: > Hello, I used to use the module  ZTUtils for Batching  in zope 2, but now > we don't have that possibility in Zope3, is there any other module to work > with batching? So far no standard batching module has been provided. But writ

[Zope3-Users] Re: Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: > [EMAIL PROTECTED] wrote: >> Hi, I need to send some rich-text (HTML) mail, containing information >> based on many objects. It would be nice to render it using ZPT >> provided by Zope instead of manual creation of HTML text. >> >> Can I (ab)use ZPT for such purpos

[Zope3-Users] Re: Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Philipp von Weitershausen
[EMAIL PROTECTED] wrote: > Hi, I need to send some rich-text (HTML) mail, containing information > based on many objects. It would be nice to render it using ZPT > provided by Zope instead of manual creation of HTML text. > > Can I (ab)use ZPT for such purpose? I need to design ZPT template and >

[Zope3-Users] Re: IObjectModifiedEvent

2006-06-01 Thread Philipp von Weitershausen
Marco Mariani wrote: > I've never used events. > > I've subscribed to modification events on my objects: > > handler=".events.modifiedObject" /> > > > > Unfortunately, modifiedObject() only gets called when new children are > inserted (IMyObject provides IContainer) > > I do

Re: [Zope3-Users] how work with thread with Twisted-instance?

2006-06-01 Thread Stephan Richter
On Monday 01 May 2006 17:04, Garanin Michael wrote: > I use Zope3-trunk (with 'Twisted'-instance). I want use > 'thread.get_ident' for identify requests (and use with 'zope.thread'), > but 'thread.get_ident' always return one value and 'zope.thread' return > always one result. Why? How i can do 'id

Re: [Zope3-Users] Container base classes

2006-06-01 Thread Stephan Richter
On Wednesday 26 April 2006 15:16, Jachin Rupe wrote: > Assuming I know enough now to start working on a "real" project,   > should I be sticking with the stuff in the "persistent" package?  Are   > there other persistent objects hiding somewhere else in the API I   > should be aware of? Most devel

Re: [Zope3-Users] Re: Starting thread in object deserialize

2006-06-01 Thread Stephan Richter
On Sunday 16 April 2006 13:39, Alek Kowalczyk wrote: > I'll try to explain that a wee bit more, here is the Use Case: > > I have an IMonitorsContainer containing IMonitor(s). > When a user creates new Monitor instance (using "Add Monitor" on the > web), the created Monitor should start thread and p

Re: [Zope3-Users] Security in Code, example, why does this work?

2006-06-01 Thread Stephan Richter
On Sunday 09 April 2006 09:21, Reinhold Strobl wrote: > So can code always access everything, or not? Filesystem Python code is always trusted. Thus you have no security inside methods. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - We

Re: [Zope3-Users] Re: ZODB - root and transaction

2006-06-01 Thread Stephan Richter
On Wednesday 05 April 2006 10:07, Reinhold Strobl wrote: > I want in a utility class to get access with the current (!) database of > the zope 3 application. > In views, this is no problem, since I have the context variable, but this > is not ture for utilities... There are several possible soluti

Re: [Zope3-Users] rdb permission

2006-06-01 Thread Stephan Richter
On Friday 12 May 2006 17:59, David Johnson wrote: > How are permissions determined in rdb connections?  I have added a rdb > entry to my overrides.zcml problem, and it seems to picking up a > "zope.ManageContent" security.  I'm not sure why, how, or where.  My > anonymous users cannot access it the

Re: [Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Andreas Jung
--On 1. Juni 2006 16:49:54 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote: --On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote: Hi, I need to send some rich-text (HTML) mail, containing information based on many objects. It would be nice to render it using ZPT provided by Zope instead o

Re: [Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Stephan Richter
On Thursday 01 June 2006 10:32, [EMAIL PROTECTED] wrote: > Can I (ab)use ZPT for such purpose? I need to design ZPT template and write > corresponding View object. How to wire together the ZPT template and > corresponding View object to render a HTML message and send it using mail > utility? > > Co

[Zope3-Users] IObjectModifiedEvent

2006-06-01 Thread Marco Mariani
I'm using 3.3 beta 1. I've never used events. I've subscribed to modification events on my objects: Unfortunately, modifiedObject() only gets called when new children are inserted (IMyObject provides IContainer) I do NOT get an event for changing an attribute on a MyObject instance or for

Re: Re : [Zope3-Users] Uploading files

2006-06-01 Thread Tarek Ziadé
Stéphane Brault wrote: >Thanks Stephan, > could you indicate me another way to upload files ? > > Stéphane > >- Message d'origine >De : Stephan Richter <[EMAIL PROTECTED]> >À : zope3-users@zope.org; Stéphane Brault <[EMAIL PROTECTED]> >Envoyé le : Jeudi, 1 Juin 2006, 2h53mn 32s >Obj

Re: [Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread Andreas Jung
--On 1. Juni 2006 16:32:35 +0200 [EMAIL PROTECTED] wrote: Hi, I need to send some rich-text (HTML) mail, containing information based on many objects. It would be nice to render it using ZPT provided by Zope instead of manual creation of HTML text. Can I (ab)use ZPT for such purpose? I need t

[Zope3-Users] Render ZPT template to send rich-text HTML mail

2006-06-01 Thread thealx
Hi, I need to send some rich-text (HTML) mail, containing information based on many objects. It would be nice to render it using ZPT provided by Zope instead of manual creation of HTML text. Can I (ab)use ZPT for such purpose? I need to design ZPT template and write corresponding View object.

Re : [Zope3-Users] Uploading files

2006-06-01 Thread Stéphane Brault
Thanks Stephan, could you indicate me another way to upload files ? Stéphane - Message d'origine De : Stephan Richter <[EMAIL PROTECTED]> À : zope3-users@zope.org; Stéphane Brault <[EMAIL PROTECTED]> Envoyé le : Jeudi, 1 Juin 2006, 2h53mn 32s Objet : Re: [Zope3-Users] Uploading

Re: [Zope3-Users] Cut + Paste Bug?

2006-06-01 Thread David Johnson
Thanks. That's exactly what I ended up doing! On Thu, 2006-06-01 at 09:58 -0400, Stephan Richter wrote: > On Monday 15 May 2006 16:15, David Johnson wrote: > > I copied a Pluggable Authentication Utlity from one folder to another. > > However, the plugins were not copied. As a result, I cannot edi

Re: [Zope3-Users] Cut + Paste Bug?

2006-06-01 Thread Stephan Richter
On Monday 15 May 2006 16:15, David Johnson wrote: > I copied a Pluggable Authentication Utlity from one folder to another. > However, the plugins were not copied. As a result, I cannot edit the > copied utility.  Now I'm stuck with a broken pluggable authentication > utility.  If I try to edit it t

Re: [Zope3-Users] ComponentLookupError

2006-06-01 Thread Stephan Richter
On Monday 15 May 2006 18:39, Jachin Rupe wrote: > TypeError: ('Could not adapt', 0x3b3a6f0>, ) > > I think this is saying that it can't adapt my Person object to the   > IPerson interface. > > Am I still missing something? No, your code looks good. I do not see, why Person cannot adapt IPerson; b

Re: [Zope3-Users] AJAX (was Uploading files)

2006-06-01 Thread Marco Mariani
Stephan Richter wrote: >> Just curious... what is it about AJAX that you hate? The implementation? >> The concept? Something else? > > About everything. JS has no good development tools, it is impossible to do > decent debugging and testing. (No, I do not consider the browser-based > debugger a

Re: [Zope3-Users] i18n questions

2006-06-01 Thread Marco Mariani
Stephan Richter wrote: >> - How do a write/register a negotiator that choose a language based on >> an attribute of the user object and then falls back to normal browser >> negotiation if that attribute isn't present? > > Just implement the right interface and register it. This is not too hard an

Re: [Zope3-Users] How to use catalog.searchResults

2006-06-01 Thread Stephan Richter
On Saturday 20 May 2006 11:04, Florian Lindner wrote: > How to use it? I would strongly suggest looking into hurry.query from z3-base. It is very easy to use. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Developm

Re: [Zope3-Users] AJAX (was Uploading files)

2006-06-01 Thread Stephan Richter
On Thursday 01 June 2006 09:01, Jonathan wrote: > Just curious... what is it about AJAX that you hate? The implementation? > The concept? Something else? About everything. JS has no good development tools, it is impossible to do decent debugging and testing. (No, I do not consider the browser-bas

Re: [Zope3-Users] getUtility outside of the zope.app

2006-06-01 Thread Stephan Richter
On Friday 26 May 2006 09:11, David Pratt wrote: > Hi. For the use of interfaces outside of zope.app, does getUtility have > any value? Many thanks. getUtility is provided by zope.component. If you use zope.interface and zope.component in another project, you surely can make use of it. Read the *

Re: [Zope3-Users] redirect in a ContainerTraverser

2006-06-01 Thread Stephan Richter
On Sunday 28 May 2006 11:30, gawel wrote: > This work fine but is there an easy way to do this ? Well, writing a view is one way. Another way is writing dynamically generated content components, like LocalFS does in Zope 2. You can also write a custom traverser that dynamically generates callabl

Re: [Zope3-Users] AJAX (was Uploading files)

2006-06-01 Thread Jonathan
- Original Message - From: "Stephan Richter" <[EMAIL PROTECTED]> While I hate AJAX with a passion, you could certainly do this. If JS has a way to access a local file once it has been selected, then you can use the XmlHttpRequest class to PUT the file on the server, for example. I cer

Re: [Zope3-Users] i18n questions

2006-06-01 Thread Stephan Richter
On Wednesday 31 May 2006 04:29, Chris Withers wrote: > - Can my existing .pot and .po files be used? Yes, the PO file format is totally independent of Zope and Python. > - Are ZPT's marked up in the same way as they were in Zope 2? The Zope 2 people backported the Zope 3 code, so yes. :-) > - H

Re: [Zope3-Users] Uploading files

2006-06-01 Thread Stephan Richter
On Tuesday 30 May 2006 09:30, Stéphane Brault wrote: >  for my application I mainly use sqlos and jsonserver, which means that I > don't use much standard Zope components, I need to let users upload a file > which I parse to update the database. I don't see how to upload files with > AJAX. Is there

Re: [Zope3-Users] How to manually define an object's provided interfaces?

2006-06-01 Thread Stephan Richter
On Monday 29 May 2006 06:56, Frank Burkhardt wrote: > Unfortunately, there is no 'provide' method on interfaces :-( . > > Now the questions: > > 1. Is the list of a content object's provided interfaces stored > persistently in the Zodb? Yes. > 2. Is it according to Zope-, Python-, ... philosophy

Re: [Zope3-Users] Call a Python method from a ZPT

2006-06-01 Thread Stephan Richter
On Monday 29 May 2006 13:49, Paolo Cilmo wrote: >  In Zope3, i made the same product (package). From a ZPT page (in ZMI), i > can call a method of Poll if the method don't take arguments, for example > with: >   >   >  where poll1 is an istance of Poll package and it is in the same folder of > the

[Zope3-Users] Re: How to prevent several notifications of events ?

2006-06-01 Thread Florent Guillaume
Thierry FLORAC wrote: I've build a simple adapter that modifies context properties through annotations ; everything works fine. In several cases, when some attributes are updated, I do a "notify(ObjectModifiedEvent(self.context))" so that several subscribers are called. My problem is then that i

Re: [Zope3-Users] Create RSS feed

2006-06-01 Thread Tarek Ziadé
Rupert Redington wrote: >Tarek Ziadé wrote: > > >>Achim Domma wrote: >> >> >> >>>Hi, >>> >>>I want to provide an RSS for a content object which is a site. Seems >>>to me, like this should be a generic functionality so I wonder if >>>there is already some product which I did not found!? >>> >

Re: [Zope3-Users] Create RSS feed

2006-06-01 Thread Rupert Redington
Tarek Ziadé wrote: > Achim Domma wrote: > >> Hi, >> >> I want to provide an RSS for a content object which is a site. Seems >> to me, like this should be a generic functionality so I wonder if >> there is already some product which I did not found!? >> >> regards, >> Achim >> >> __

Re: [Zope3-Users] Create RSS feed

2006-06-01 Thread Tarek Ziadé
Achim Domma wrote: > Hi, > > I want to provide an RSS for a content object which is a site. Seems > to me, like this should be a generic functionality so I wonder if > there is already some product which I did not found!? > > regards, > Achim > > ___ > Z