Re: [Zope-dev] Splitting up zope.app.container

2008-04-17 Thread Bernd Dorn


On 16.04.2008, at 18:34, Malthe Borch wrote:
The ``constraints`` module in zope.app.container seem to be usable  
outside a ZODB-application---ditto most of the interfaces.


If we want to support a nozodb-environment, it would be nice to not  
have to pull in ZODB just to get these frameworky definitions.


Is it package overkill to move these out to, say, zope.container?


hi malthe

+1 good idea

what we need most ist zope.app.container.interfaces.IContained
and the proxies





\malthe

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


--
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
skype: bernd.dorn





smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Heads up: Dependencies!

2008-04-13 Thread Bernd Dorn


On 12.04.2008, at 16:15, Roger Ineichen wrote:

Can anybody agree that the testing dependencies
should go to extra_requires ['test'] ?


i totally agree with you, we use extra_requires in our packages but  
tests_requires should also work.



--
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
skype: bernd.dorn





smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: straighting out the SQLAlchemy integration mess

2008-04-11 Thread Bernd Dorn


On 11.04.2008, at 10:09, Brian Sutherland wrote:
Unfortunately, it doesn't seem an option, right now, to avoid using  
ZCML
to setup database connections. So I'm not sure how you want to  
implement

your ideas?


+1

k, i didn't read the whole thread, but we (lovely systems) use  
zope.storm but i think its the same story somehow and we do all  
instance specific configuration in zcml - also database uris.
we have a base.zcml config for all instances and include this it and  
do all instance specific configuration in an instance specific zcml  
file. this file is then used with the site-definition otpion in  
zope.conf. i can see no reason why we should avoid zcml except in  
environments where there is no zcml at all.


although it is a few lines of code to get db uris from somewhere else,  
and this could also be application code


regards, bernd





smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] no color with testrunner under python2.5

2008-04-03 Thread Bernd Dorn

hi all

i have a testrunner configured with buildout like this

[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color']
eggs = someegg

with python2.4 i get colored output, with python2.5 under macos x  
leopard


does anyone have a clue what the cause is?

thx, bernd

--
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
skype: bernd.dorn





smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] no color with testrunner under python2.5

2008-04-03 Thread Bernd Dorn


On 03.04.2008, at 14:54, Benji York wrote:


If the only difference is running under Python 2.5 instead of 2.4,  
then I don't have any ideas.  I just tested 2.4 and 2.5 on Linux and  
both worked fine.


If you want to investigate, the place to start is in zope/testing/ 
testrunner.py at line 2417.



thx for the hint benji

on my python2.5 the _curses module was lacking, that was the problem,  
but as i see curses is not required just for --auto-color, --color  
works as expected




--
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
skype: bernd.dorn





smime.p7s
Description: S/MIME cryptographic signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [Checkins] SVN: zope.file/trunk/ Make a good package out of this package.

2007-11-07 Thread Bernd Dorn


On 02.11.2007, at 15:43, Benji York wrote:


Stephan Richter wrote:
zope.file was the *only* package of the 150+ I worked on that did  
not have extras.


I'm surprised.  I thought it was generally agreed upon not to do  
that. Darn.


no - afaik there is no agreement upon this, and imho it is not good  
to put extras in the general deps because one always ends up fetching  
all the zope packages as deps if using any zope.* package


-100 from me for removing extras




--
Benji York
Senior Software Engineer
Zope Corporation
___
Checkins mailing list
[EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/checkins


--
Lovely Systems, senior developer

phone: +43 5572 908060, fax: +43 5572 908060-77
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
skype: bernd.dorn



___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] z3 server+publication refactor for z2

2006-04-13 Thread Bernd Dorn


On 13.04.2006, at 11:55, Andreas Jung wrote:




--On 13. April 2006 11:46:20 +0200 Florent Guillaume [EMAIL PROTECTED]  
wrote:



Hi,

Sidnei has been working on the Zope 2 publication-refactor branch   
where
he's allowed the use of the Zope 3 Twisted-based server, and of  a  
Zope 3

based publication process.

I'd like to see this merge branched in Zope 2 trunk because I'd like
Zope 2.10 to be Twisted-based. What's missing from the branch   
preventing

this? What problems have been encountered?


The question is: how complete and stable is this stuff? Does it  
replace the

current implementation or is it an optional feature as in Zope 3.2?


twisted is the standard server in zope 3.2 - zserver is optional




If the implementation is half-backed then it will be a show- 
stopper, otherwise we need some confidence that it works as it  
should with breaking

something.

Andreas

--
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope  Plone development and consulting
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] What from zope.app are you using

2006-04-05 Thread Bernd Dorn


On 05.04.2006, at 17:29, Philipp von Weitershausen wrote:


 implementing this proposal on the
jim-adapter branch of Zope 3.

I would like to know what other zope.app packages your 3rd party
software is using. If thereare any other used than the ones  
mentioned in
 the proposal, we'll have to move them out of zope.app. I'd like to  
ask

for your help on that, otherwise future Zope 2 versions might not
anymore include the package you're using.


i use zope.app.cachedescriptors in zope2 for various projects

regards, bernd
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] i18n:translate - problem

2004-12-21 Thread Bernd Dorn
Krzysztof Kubacki wrote:
Hi,
 
I have the Zope 2.7.0 instaled under Linux OS.
I want to have my website in many languages in one Plone site. So I have 
installed Placeless Translation Service. I've made 2 .po files 
(cms_pl.po, cms_en.po) and compiled to .mo files (cms_pl.mo, cms_en.mo).
I want to change website language version based on varriable value in 
ZPT and this is the problem (I think).
 
When I do .po files with the same domain, e.g: Domain: CMS\n and they 
have different Language-Code: header e.g: Language-Code: pl\n and 
Language-Code: en\n Zope chooses language based on web browser 
settings :(. When I'm setting  xml:lang and lang attributtes it 
doesen't make effect.
i suppose you need a manual lang switch on your site ...
take a look at PlacelessTranslationService/Negotiator.py
you can set a cookie called 'pts_language'

 
There is second way. I can do 2 .po files with different Domain and 
choose the one depends on variable but I cant dynamicialy set  
i18n:domain attribute.
 
 
How to manage that?
 
Thanks in advance
Krzysztof Kubacki


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] apache reverse proxy zope 2.7a1 bug?

2003-07-11 Thread Bernd Dorn
Dieter Maurer wrote:

Bernd Dorn wrote at 2003-7-10 07:24 +0200:
  i currently installed the zope 2.7 alpha 1 release on my linux (rh9) 
  server and on my win2k developement machine
  
  when the zope instance is directly accessed everything works fine, also 
  the proxy access on the linux box works. but when i try to proxy zope 
  through apache on my windoze box i get a 502 http error:
  excerpt from the apache errror logs::
  
  [Wed Jul 09 13:44:01 2003] [warn] proxy: bad HTTP/1.1 header returned by 
  ... (GET)
  
  it seems that zope 2.7 sends some corrupted http headers on windoze

I would use a TCPLogger (I would use Shane's tcpwatch)
to analyse the communication between browser and Zope.
I expect Zope sends the same header whether the browser or Apache
sends the request.
If this were not true, I would put the TCPLogger between Apache
and Zope.
Dieter


thanks for your answer

i think i found the problem by the use of tcpwatch

the linux installation returns this header::

 [00:00.030 - server connected]
 HTTP/1.1 200 OK
 Server: Zope/(unreleased version, python 2.2.2, linux2) ZServer/1.1
 Date: Fri, 11 Jul 2003 11:15:12 GMT
 Content-Length: 3053
 Etag:
 Content-Type: text/html
which seems to be ok

but the windoze returns this::

 [00:00.020 - server connected]
 HTTP/1.1 200 OK
 Server: Zope/(Zope 2.7.0-a1
 , python 2.2.3, win32) ZServer/1.1
 Date: Fri, 11 Jul 2003 11:12:14 GMT
 Content-Length: 3053
 Etag:
 Content-Type: text/html
which imho is not ok, because the server field has linebreaks in it
probably a unix/dos linebreak issue?
hm, i will try to change the server signature somewhere as a temporary 
solution

but i think this should be fixed

though, my mozilla does not complain about it ..

tia, bernd



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] apache reverse proxy zope 2.7a1 bug?

2003-07-11 Thread Bernd Dorn
Bernd Dorn wrote:

Dieter Maurer wrote:

Bernd Dorn wrote at 2003-7-10 07:24 +0200:
  i currently installed the zope 2.7 alpha 1 release on my linux 
(rh9)   server and on my win2k developement machine
when the zope instance is directly accessed everything works 
fine, also   the proxy access on the linux box works. but when i try 
to proxy zope   through apache on my windoze box i get a 502 http error:
  excerpt from the apache errror logs::
[Wed Jul 09 13:44:01 2003] [warn] proxy: bad HTTP/1.1 header 
returned by   ... (GET)
it seems that zope 2.7 sends some corrupted http headers on windoze

I would use a TCPLogger (I would use Shane's tcpwatch)
to analyse the communication between browser and Zope.
I expect Zope sends the same header whether the browser or Apache
sends the request.
If this were not true, I would put the TCPLogger between Apache
and Zope.
Dieter


thanks for your answer

i think i found the problem by the use of tcpwatch

the linux installation returns this header::

 [00:00.030 - server connected]
 HTTP/1.1 200 OK
 Server: Zope/(unreleased version, python 2.2.2, linux2) ZServer/1.1
 Date: Fri, 11 Jul 2003 11:15:12 GMT
 Content-Length: 3053
 Etag:
 Content-Type: text/html
which seems to be ok

but the windoze returns this::

 [00:00.020 - server connected]
 HTTP/1.1 200 OK
 Server: Zope/(Zope 2.7.0-a1
 , python 2.2.3, win32) ZServer/1.1
 Date: Fri, 11 Jul 2003 11:12:14 GMT
 Content-Length: 3053
 Etag:
 Content-Type: text/html
which imho is not ok, because the server field has linebreaks in it
probably a unix/dos linebreak issue?
hm, i will try to change the server signature somewhere as a temporary 
solution

but i think this should be fixed

though, my mozilla does not complain about it ..

tia, bernd



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
just for the records ...

the problem is in lib/python/version.txt

which has a newline at the end of the file and therefore returns a 
newline, when i remove this newline it works

i hope some bugfixer reads this ...

App/version_txt.py should remove any linebreaks or just read the first line

much better:
the publisher should take care to handle linebreaks in header fields, 
additional lines just have to start with a space character

cheers, bernd



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] apache reverse proxy zope 2.7a1 bug?

2003-07-09 Thread Bernd Dorn
hi all

i currently installed the zope 2.7 alpha 1 release on my linux (rh9) 
server and on my win2k developement machine

when the zope instance is directly accessed everything works fine, also 
the proxy access on the linux box works. but when i try to proxy zope 
through apache on my windoze box i get a 502 http error:
excerpt from the apache errror logs::

[Wed Jul 09 13:44:01 2003] [warn] proxy: bad HTTP/1.1 header returned by 
... (GET)

it seems that zope 2.7 sends some corrupted http headers on windoze

the zope instance yust logs the get, and does not raise an error

I currently have all my zope instances proxied via apache by the use of 
ProxyPass and ProxyPassReverse

I'm quite shure that this is not an apache issue ...

thanks for any help

bernd





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] context bindings in python products

2001-06-06 Thread Bernd Dorn

i got it finally - jo

def test(self,REQUEST=None):
 test 
context = REQUEST.PARENTS[0]
return context.absolute_url()

the reason why:

in another project i used a python script which returns a specific property:
if the property in the current object has some specific value, lets say --
then the property is looked up in the parent object (recursively) till it
comes to
a special root object.
i use this to let users choose if they want to inherit the property from the
parent object - this is good for meta-tags in html
note that i dont want to let users delete/create properties, and zope only
aquires the
property from the parent if its not there.


now i want to include this function into my python product
so e needed a context object
its not implementet till now, but i think it works with the function above

cu bernd


- Original Message -
From: Toby Dickenson [EMAIL PROTECTED]
To: Chris McDonough [EMAIL PROTECTED]
Cc: Bernd Dorn [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 12:15 PM
Subject: Re: [Zope-dev] context bindings in python products


On Tue, 05 Jun 2001 15:56:45 -0400, Chris McDonough
[EMAIL PROTECTED] wrote:

context = self
container = self.aq_inner.aq_parent

No amount of aquisition trickery will give a method access to the dtml
context, which I *think* is what was asked for.

 the only thing i found was this:
 http://www.zope.org/Members/htrd/howto/FunctionTemplate
 but it seems very complicated in argument passing

Like DTMLMethods, all arguments get passed in the 'context'.

 am i the only one who needs this, or is it a sign for wrong coding
practice
 in zope?

Context-based programming is usually wrong, but not always. If you
explain what you are trying to achieve then we may be able to point
out a better alternative.

(some early drafts of the Zope book encouraged context-based
programing in scenarious where it was quite dangerous; Im not sure if
this is currently true)

Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn

hi

isn't there some mixin class to provide bindings to python products like in
python scripts?
so that i have some objects like: context, container ...

i searched through the zope site, but there is nothing which can do such
stuff

am i the only one who needs this, or is it a sign for wrong coding practice
in zope?

the only thing i found was this:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
but it seems very complicated in argument passing

wouldn't it be nice to have something like this

if there is nothing out there, has anybody some sugestions how to implement
it
so i would write it by myself

maybe with the REQUEST Class or so?

thanks in advance, bernd

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn

thx, but i tried this already

self always returns the instance of the class in which the method is
defined, instead of the container/object from which it is called

example:
two classes,
class x with method example(): return self
class y with no method and is a subobject of x

http://www.foo.bar/xInstance/yInstance/method
returns xInstance instead of yInstance
???

- Original Message -
From: Chris McDonough [EMAIL PROTECTED]
To: Bernd Dorn [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 9:56 PM
Subject: Re: [Zope-dev] context bindings in python products


 context = self
 container = self.aq_inner.aq_parent

 Bernd Dorn wrote:
 
  hi
 
  isn't there some mixin class to provide bindings to python products like
in
  python scripts?
  so that i have some objects like: context, container ...
 
  i searched through the zope site, but there is nothing which can do such
  stuff
 
  am i the only one who needs this, or is it a sign for wrong coding
practice
  in zope?
 
  the only thing i found was this:
  http://www.zope.org/Members/htrd/howto/FunctionTemplate
  but it seems very complicated in argument passing
 
  wouldn't it be nice to have something like this
 
  if there is nothing out there, has anybody some sugestions how to
implement
  it
  so i would write it by myself
 
  maybe with the REQUEST Class or so?
 
  thanks in advance, bernd
 
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn

this doesnt work either

my test funtion:

def test_htm(self):
 just test 
context = self.aq_parent
return context.absolute_url()

returns always the absolute_url of the parent object of the class instance

is there something wrong with my product??

it inherits from ofs.folder

i think i have to write context aware stuff in HTMLFile objects ? :-(





- Original Message -
From: Chris McDonough [EMAIL PROTECTED]
To: Bernd Dorn [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 10:20 PM
Subject: Re: [Zope-dev] context bindings in python products


 Oops, sorry... roughly,

 context = self.aq_parent
 container = self.aq_inner.aq_parent

 Bernd Dorn wrote:
 
  thx, but i tried this already
 
  self always returns the instance of the class in which the method is
  defined, instead of the container/object from which it is called
 
  example:
  two classes,
  class x with method example(): return self
  class y with no method and is a subobject of x
 
  http://www.foo.bar/xInstance/yInstance/method
  returns xInstance instead of yInstance
  ???
 
  - Original Message -
  From: Chris McDonough [EMAIL PROTECTED]
  To: Bernd Dorn [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Tuesday, June 05, 2001 9:56 PM
  Subject: Re: [Zope-dev] context bindings in python products
 
   context = self
   container = self.aq_inner.aq_parent
  
   Bernd Dorn wrote:
   
hi
   
isn't there some mixin class to provide bindings to python products
like
  in
python scripts?
so that i have some objects like: context, container ...
   
i searched through the zope site, but there is nothing which can do
such
stuff
   
am i the only one who needs this, or is it a sign for wrong coding
  practice
in zope?
   
the only thing i found was this:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
but it seems very complicated in argument passing
   
wouldn't it be nice to have something like this
   
if there is nothing out there, has anybody some sugestions how to
  implement
it
so i would write it by myself
   
maybe with the REQUEST Class or so?
   
thanks in advance, bernd
   
___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )
  
 
  ___
  Zope-Dev maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope-dev
  **  No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] context bindings in python products

2001-06-05 Thread Bernd Dorn

either way - thx

maybe such a bindings implementation is worth a proposal sometime ...

- Original Message -
From: Chris McDonough [EMAIL PROTECTED]
To: Bernd Dorn [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 11:18 PM
Subject: Re: [Zope-dev] context bindings in python products


 Bernd Dorn wrote:
 
  this doesnt work either
 
  my test funtion:
 
  def test_htm(self):
   just test 
  context = self.aq_parent
  return context.absolute_url()
 
  returns always the absolute_url of the parent object of the class
instance

 I think I understand what you mean.

 Yes, you're right.  To make it work differently, you're right in saying
 you need to create an HTMLFile instance (or another methodish thing).

 - C

 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] which development environment?

2001-04-20 Thread Bernd Dorn

to all zope gurus ...

wich development environment do you use on windoze

I tried a few, but debugging zope is kinda hard

what are your preferences when you write python products or extend zope ??

thx

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )