[Zope3-dev] browserDefault uses '@@' for containers

2005-09-22 Thread Garrett Smith
Why does z/a/container/traversal/ContainerTraversal include '@@' in the default 
view name? This is not the case in SimpleComponentTraverser 
(z/a/publication/traversers). Is there something special about containers that 
their default view should be an explicit view lookup? Or should 
SimpleComponentTraverser also include '@@' in the default name?

 -- Garrett
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] zope.app.recorder not in 3.1c3

2005-09-22 Thread Gary Poster
I saw in the CHANGES for 3.1 that we Added the HTTP request  
recorder, which lets you inspect raw HTTP requests and responses. It  
can be used to create functional doctests without requiring third- 
party tools such as TCPWatch.


Is this zope.app.recorder?  I think so.  If so, it appears to be in  
the 3.1 branch, but not in the c3 release. :-/


While I'm delivering potentially bad/annoying news, using

zopectl logtail

in the release couldn't find the log file; you have to specify it, at  
which point any benefit over 'tail -F' evaporates (and also at which  
point the old behavior has changed, AFAIK).


I'm not necessarily suggesting we need a c4, but reporting.

Gary



___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] browserDefault uses '@@' for containers

2005-09-22 Thread Gary Poster


On Sep 22, 2005, at 1:36 PM, Garrett Smith wrote:

Why does z/a/container/traversal/ContainerTraversal include '@@' in  
the default view name? This is not the case in  
SimpleComponentTraverser (z/a/publication/traversers). Is there  
something special about containers that their default view should  
be an explicit view lookup? Or should SimpleComponentTraverser also  
include '@@' in the default name?


I believe that the idea is that the container traverser wants to  
specify that the default view name is a view, not an object in the  
container.  That is, if the default view is named index.html, and I  
have an object in the container named index.html, './index.html' will  
traverse to the object in the container while @@index.html will  
render the container view named 'index.html'.  Sometimes you *want*  
the over-ridable behavior (and so you can configure it that way), but  
the default configuration is to have the system honor the configured  
view.


An educated guess as to intent. :-)

Gary
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] browserDefault uses '@@' for containers

2005-09-22 Thread Fred Drake
On 9/22/05, Gary Poster [EMAIL PROTECTED] wrote:
 I believe that the idea is that the container traverser wants to
 specify that the default view name is a view, not an object in the
 container.  That is, if the default view is named index.html, and I
 have an object in the container named index.html, './index.html' will
 traverse to the object in the container while @@index.html will
 render the container view named 'index.html'.  Sometimes you *want*

That's right.  At one point it wasn't doing that (as best I recall),
so the default view was traversing when it shouldn't.  We decided to
change it specifically because it produced unexpected behavior.


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Repository for python developers

2005-09-22 Thread Mikhail Kashkin

Moscow, Russia, September 23th, 2005

We are happy to spread good news about `Key Solutions' 
http://keysolutions.ru/`_ new initiative. We have created a new public 
repository for python developers. The ulitimate goal of this project is 
to unite companies and people under the umbrella of 
Russian-speaking-python (Zope/Plone/Zope3/Twisted/etc) open source 
programmers community, so that we could jointly push forward new 
programs and technologies in Russia.


The repository powered by `subversion http://subversion.tigris.org/`_.

**Links**:

- `Press release in russian http://keysolutions.ru/News/subversion`_

- `Новость на русском http://keysolutions.ru/News/subversion`_

- `Subversion https://svn.keysolutions.ru/community/`_

About Key Solutions


Key Solutions is an open source company with primary focus in 
development of corporative CRM Internet/intranet systems and 
web-communities. The company promotes and supports Zope, Plone, Asterisk 
platforms in Russia.


To learn more about Key Solutions visit `eng.keysolutions.ru 
http://eng.keysolutions.ru/`_ and

`keysolutions.ru http://keysolutions.ru/`_

--
Mikhail Kashkin,
Key Solutions (http://keysolutions.ru/)
Director
Zope/Asterisk/Plone - Solutions/Consulting/Support
Plone на русском http://plone.org.ru/
Plone Foundation Member (http://plone.org/foundation/members/)

___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com