Re: [Zope3-Users] Custom index implementation

2006-06-06 Thread Achim Domma

Tom Dossis wrote:


You need to specify an addMenuItem directive and associated view in
your package browser zcml to enable you to add your index objects via
the ZMI.  Look at zope/app/catalog/browser/configure.zcml as a starting
point, e.g.


Thanks for the hint and sorry for asking such obvious things. But I'm 
still a Zope beginner and digging into a new topic I sometimes forget 
what I've already learned. :-(


regards,
Achim
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: interface machinery

2006-06-06 Thread Philipp von Weitershausen
Warren Turkal wrote:
 On Friday 02 June 2006 14:52, Stephan Richter wrote:
 Yes, you can use zope.interface separately from the rest. You can also use
 zope.schema and zope.component without many other dependencies.
 
 Are there any examples of this type of usage?

(see all the other posts)

Note that installing zope.interface is fairly easy. You can simply
install it from an egg: http://download.zope.org/distribution/. Once
it's installed, you can use interfaces the way you're used to from Zope:

  from zope.interface import Interface

  class MyInterface(Interface):
  pass # etc...

If you want adaption to work, I suggest you install zope.component. It's
not required to make adaption work (twisted doeesn't use it), but it
makes things very easy.

Philipp

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Unable to get z3c with svn

2006-06-06 Thread Stéphane Brault
Hi,
 I'm interested by the z3c.javascript package, but I can't get it through svn 
(I'm using tortoisesvn).
 When I try I get :
 Error: PROPFIND request failed on '/z3c.javascript'  
 Error: PROPFIND of '/z3c.javascript': 301 Moved (http://svn.zope.org) 
 
 Any hint ?
 
 Thanks,
 
 Stéphane
 


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Unable to get z3c with svn

2006-06-06 Thread Bernd Dorn


On 06.06.2006, at 15:00, Stéphane Brault wrote:


Hi,
 I'm interested by the z3c.javascript package, but I can't get it  
through svn (I'm using tortoisesvn).

 When I try I get :
 Error: PROPFIND request failed on '/z3c.javascript'
 Error: PROPFIND of '/z3c.javascript': 301 Moved (http://svn.zope.org)


you have to use the svn protocol not http

URL: svn://svn.zope.org/repos/main/z3c.javascript/trunk/src/z3c

regards, Bernd




 Any hint ?

 Thanks,

 Stéphane



___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Currency Formatting - Does it work?

2006-06-06 Thread Stephan Richter
On Tuesday 06 June 2006 11:49, David Johnson wrote:
 Does currency formatting work?  When I use the feature in page templates
 I see a strange character where the US Dollar sign should be.  I've
 tried in other locales and it always seem to have this symbol. I would
 paste it here, but I dont' know how it will affect anyone's mail
 programs.

No, I forgot to replace the strange symbol with the currency in the formatter. 
It should be a fairly easy fix, but I always forget to do it.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: IEndRequestEvent question

2006-06-06 Thread Thierry FLORAC




On Tue, 2006-06-06 at 13:32 +0200, Philipp von Weitershausen wrote:


 My goal is to use request annotations to reference several objects that
 should be treated after the main request process is done, and then to
 subscribe to this event to fire these final modifications (so that, for
 example, IObjectModifiedEvent is not fired too many times). Is it the
 good approach ?

Why are you concerned about IObjectModifiedEvent being fired too many times?



Thanks for your previous explanations : it's clear in my mind, now !

My first idea with this problem was to say : a content object can be modified several times during a request execution, sometimes by other content objects and not only by simple editing forms (which automatically fire IObjectModifiedEvent), and I want some kind of expensive application logic (for example, reindexing) to be applied only once, when all modifications are done.
So the IEndRequestEvent was, to me, a good place to handle this kind of methods ; but your previous explanation show that I was wrong.
I also thought about using some kind of request annotations or volatile attributes, but as event handlers are fired synchronously, I thing that I can't know if there are more modifications to come before the end of the request or not.
In fact, I thing that what I should need is a kind of IBeforeEndRequestEvent, an event which would be fired before the end of the request, but when transactions and local utilities are still available...

Of course, any kind of complement would as always be very welcome...

Thanks,
Thierry


-- 
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Form-based login utility

2006-06-06 Thread Jegenye 2001 Bt (Miklós Prisznyák)
Hello,

Is there areusable site utility somewhere(or failing that just a howto recipe)forquickly providing a templatablelogin form?
Thanks,
 Miklós-- Miklós Prisznyák Principal Consultant, owner http://www.jegenye.com 
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users