[Zope-Checkins] SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py Remove an unused import and provide another BBB one.

2006-05-23 Thread Philipp von Weitershausen
Log message for revision 68250: Remove an unused import and provide another BBB one. Changed: U Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py -=- Modified: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py

Re: [Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-23 Thread Wichert Akkerman
Previously Tres Seaver wrote: Zope2 uses them at the beginning of a path to indicate traversal from the root. -1 to dropping that case (it is the one which makes '/foo/bar' behave orthagonally). Havinng blank elements work as no-ops also makes them behave predictably: this is what command

[Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-23 Thread Philipp von Weitershausen
Tres, I've thought about this some more and chatted with Fred. Here's what I think: Zope2 uses them at the beginning of a path to indicate traversal from the root. Sure, in restrictedTraverse and the like. But not in TALES expressions. While you can start a TALES expression on a /, the

Re: [Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-23 Thread Chris Withers
Philipp von Weitershausen wrote: So, even though Chris Withers and you like the parallels to a Unix shell, they're not even reality as of Zope 2.9. Sorry, you're completely right and I'm mistaken, my apologies. In TALES you always start from an object, so I'm +1 on banning empty segments in

Re: [Zope-dev] Re: SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py Officially deprecate the BBB methods on the iterator and add a note

2006-05-23 Thread Chris Withers
Philipp von Weitershausen wrote: maintained in Zope 3. Plus, the goal is to use the Zope 3 implementation everywhere so there must be some advantages in the Zope 3 implementation over the Zope 2 one... otherwise we wouldn't be doing this... This logic is faulty. The merge is desirable because

[Zope-dev] Looking for Zope content management developers in Israel

2006-05-23 Thread Lior Rudnik
If you are in Israel and know Zope please contact me. Best regards, Lior Rudnik CTO, Logia. Mobile: +972-52-3098113Office: +972-9-9701669Fax: +972-9-9701821http://www.logiamobile.com___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope] RESPONSE.redirect not working

2006-05-23 Thread Jo Meder
Am 24.05.2006, 00:24 Uhr schriebte Andrew Hedges [EMAIL PROTECTED]: I'm at my wit's end. Any help is appreciated. Yes, I have worn Google out trying to figure this out. In my (yeah, yeah, I know) DTML method, I have structured things like so: dtml-call pyCheckSession --

Re: [Zope] RESPONSE.redirect not working

2006-05-23 Thread Andrew Hedges
Jo, THANK YOU! This worked (with a slight change to the dtml-return): dtml-unless pyCheckSession dtml-return login_html /dtml-unless I *thought* I had seen redirect work as I had had it before, but maybe I misunderstood what was happening. In any case, many thanks! -Andrew On

Re: [Zope] RESPONSE.redirect not working

2006-05-23 Thread Andrew Hedges
Actually, that is exactly what is happening. It's the current URL with the contents of login_html rendered. I changed it to the following and it worked: dtml-unless pyCheckSession dtml-return expr=1 /dtml-unless Thanks again for your help! -Andrew On May 23, 2006, at 5/23/2006

[Zope] apache rewrite rules redux

2006-05-23 Thread David Bear
the more I try to get this to work, the less I understand. Sorry to bug these groups again, but I still need a little help. I would like my zope content (and plone) available to both http adn https urls. I went to betabug/zope/witch and was able to generate the following rule sets. # see