Re: [Zope] MailBoxer

2006-10-19 Thread Andreas Jung



--On 19. Oktober 2006 16:40:58 +0200 Daniel Raible <[EMAIL PROTECTED]> wrote:


is it possible to use Mailboxer to send emails to all registered users -


First, Zope does not provide a user registration where users have an email
property. So what do you have in mind? Using CMF, Plone?

Second, Mailboxer is a mailinglist system and not the right choice.
Anyway...sending out emails to a list of user can easily be done by using 
the Mailhost API..write a form that passes the data to a script and the 
script will all the Mailhost..that's almost trivial.


-aj


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


[Zope] MailBoxer

2006-10-19 Thread Daniel Raible
is it possible to use Mailboxer to send emails to all registered users -
if yes how is this being accomplished?
is it a good/bad idea? are there better solutions?
thanks
-dr

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


Re: [Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Pablo Ziliani

Jonathan wrote:

- Original Message - From: "Pablo Ziliani" <[EMAIL PROTECTED]>
I'm having some trouble tying to get an object from a given path. I'm 
using virtual hosts, so according to Dieter's great documentation[1], 
REQUEST.resolve_url should do it. However no matter how creative I 
get making up urls, I always get a "Different namespace." ValueError.
Looking at the source of resolve_url[2] I can see that it tries to 
ensure being at the same namespace (?) seeing if REQUEST.script is at 
the beginning of the passed url. So the actual problem is that this 
attribute always returns "http://127.0.0.1:8080"; in my (2.9.4-final) 
Zope instance, quite independently from my requested url.


So: should I be using some other method instead? (if so, I guess my 
reference is wrong or outdated). Which one?
Do I need any special configuration to make REQUEST.script returns my 
virtual environment?

Any additional suggestion?

In case the real url after apache's rewrite is relevant, PATH_INFO 
and PATH_TRANSLATED are showing something like:
'/VirtualHostBase/http/www.mydomain.com:80/sites/mysite/VirtualHostRoot/foo/bar.py' 



To have a quick look at the urls that are easily available within the 
REQUEST namespace create a dtml method in the 'end' folder that contains:






Then point your browser at this method (eg. 
http://www.mywebsite.com/folderA/folderB/tstmethod) and see what comes up.


Thanks Jonathan for replying, I already have something like that on my 
server and part of the info I gave in my previous post was actually 
taken from it. Unfortunately however, I don't think this debug 
information can leave me any closer to my goal of fetching an object 
from an arbitrary path.


Once you have located a variable that gives you what you need, you can 
easily access it via something like:  REQUEST['URL0'] or 
REQUEST['BASE3']. If the path (url) you need is not located within the 
REQUEST namespace then you may need to work-around the problem... one 
possibility is to create property field on the 'top' level folder that 
contains the base url you need.  You can than access this property 
field to build the required url.
Again, thanks for your effort, however is not my script who should 
access any of these fields (it would actually be BASE0) but the method 
resolve_url of the REQUEST object which is out of my scope. BTW, I did 
implemented a workaround to this some time before (which I can't find 
now...), but my point was knowing if I was right using this resolve_url 
(even though this was not working) or there was something else available 
out of the box.


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

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


Re: [Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Jonathan


- Original Message - 
From: "Pablo Ziliani" <[EMAIL PROTECTED]>

To: "Zope" 
Sent: Thursday, October 19, 2006 8:54 PM
Subject: [Zope] Resolving a url from a path in a virtual host environment



Hi guys,

I'm having some trouble tying to get an object from a given path. I'm 
using virtual hosts, so according to Dieter's great documentation[1], 
REQUEST.resolve_url should do it. However no matter how creative I get 
making up urls, I always get a "Different namespace." ValueError.
Looking at the source of resolve_url[2] I can see that it tries to ensure 
being at the same namespace (?) seeing if REQUEST.script is at the 
beginning of the passed url. So the actual problem is that this attribute 
always returns "http://127.0.0.1:8080"; in my (2.9.4-final) Zope instance, 
quite independently from my requested url.


So: should I be using some other method instead? (if so, I guess my 
reference is wrong or outdated). Which one?
Do I need any special configuration to make REQUEST.script returns my 
virtual environment?

Any additional suggestion?

In case the real url after apache's rewrite is relevant, PATH_INFO and 
PATH_TRANSLATED are showing something like:

'/VirtualHostBase/http/www.mydomain.com:80/sites/mysite/VirtualHostRoot/foo/bar.py'


To have a quick look at the urls that are easily available within the 
REQUEST namespace create a dtml method in the 'end' folder that contains:






Then point your browser at this method (eg. 
http://www.mywebsite.com/folderA/folderB/tstmethod) and see what comes up.


Once you have located a variable that gives you what you need, you can 
easily access it via something like:  REQUEST['URL0'] or REQUEST['BASE3']. 
If the path (url) you need is not located within the REQUEST namespace then 
you may need to work-around the problem... one possibility is to create 
property field on the 'top' level folder that contains the base url you 
need.  You can than access this property field to build the required url.


hth

Jonathan 



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

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


[Zope] Resolving a url from a path in a virtual host environment

2006-10-19 Thread Pablo Ziliani

Hi guys,

I'm having some trouble tying to get an object from a given path. I'm 
using virtual hosts, so according to Dieter's great documentation[1], 
REQUEST.resolve_url should do it. However no matter how creative I get 
making up urls, I always get a "Different namespace." ValueError.
Looking at the source of resolve_url[2] I can see that it tries to 
ensure being at the same namespace (?) seeing if REQUEST.script is at 
the beginning of the passed url. So the actual problem is that this 
attribute always returns "http://127.0.0.1:8080"; in my (2.9.4-final) 
Zope instance, quite independently from my requested url.


So: should I be using some other method instead? (if so, I guess my 
reference is wrong or outdated). Which one?
Do I need any special configuration to make REQUEST.script returns my 
virtual environment?

Any additional suggestion?

In case the real url after apache's rewrite is relevant, PATH_INFO and 
PATH_TRANSLATED are showing something like:

'/VirtualHostBase/http/www.mydomain.com:80/sites/mysite/VirtualHostRoot/foo/bar.py'

TIA,
Pablo

[1] : Quoting 
http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html#c37ac15c11b4:
"Unless your site uses /virtual hosts/ (or the virtual hosting tools for 
a different purpose) restrictedTraverse is almost the inverse of 
absolute_url. [...] The true inverse of absolute_url is the method 
resolve_url of the request object."
[2] 
http://svn.zope.org/Zope/trunk/lib/python/ZPublisher/HTTPRequest.py?rev=68751&view=markup

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

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


Re: [Zope] Zope 2.9 vs Zope 2.10 and Unicode problems

2006-10-19 Thread eXt
On Thursday 19 October 2006 14:55, Doyon, Jean-Francois wrote:
> Any ideas?
http://www.zope.org/Collectors/Zope/2204 and... one more bug but I don't 
remember it's number. Please search zope3-five mailing list archives for zope 
2.10 and UnicodeDecodeErrors.


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


Re: [Zope] How to do...

2006-10-19 Thread Dieter Maurer
Garito wrote at 2006-10-18 20:27 +0200:
> 
>How can I create an accessor to read (not to write) and preprocess all 
>properties?

If you are only willing to write a single method that should do for
all properties, then you will need to use "__getattr__".


You remember I have warned you: "__getattr__" is difficult and error prone!

   Even me, I have spend hours to understand why I get occasional
   "__getattr__" infinite loops...
   And I know, in principle, all the potential caveats...

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


Re: [Zope] external method strangeness

2006-10-19 Thread Dieter Maurer
garry saddington wrote at 2006-10-18 18:13 +0100:
> ...
>import psycopg, string, re, subprocess
>def scholarpack_xml_transform(source):
>f=open('/opt/scholarpack/ancillary/source.xml','w')
>f.write(source) 
>f.close

The line above looks buggy: missing "()".
> ...
>do=curs.execute(transformed1)
>do

The line above looks doubtfull: no effect

>conn.commit()
>conn.close
>
>I get a programming error thrown from the conn.commit() line and the
>method fails.


Almost surely, "postgres" does not like the command your have generated.

   It is quite picky with binary data...



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


Re: [Zope] How to do...

2006-10-19 Thread Jonathan


- Original Message - 
From: "Garito" <[EMAIL PROTECTED]>

To: "Chris Withers" <[EMAIL PROTECTED]>
Cc: "Lista Zope Internacional" 
Sent: Thursday, October 19, 2006 8:46 AM
Subject: Re: [Zope] How to do...



Chris Withers escribió:

Garito wrote:

object.Property2 and retrieve the data with the current locale

For spanish locale I would like to retrieve 18-10-2006


Rather than torturing yourself with all this weirdness, maybe you should 
look at using Zope 3's locale support in your app, whether it's zope 2 or 
zope 3...


cheers,

Chris

Sure, but I don't need only localization, I need to preprocess the 
properties before read them


Is this possible?


I am not sure what you mean when you say you want to preprocess the 
properties before reading them.  There are 2 possible cases (that I can 
think of) in which preprocessing could occur:


1) in response to a user request, you access the stored data, process the 
data, then display the data.  However, you are still 'reading' the data 
before you can process it.


2) you need to process stored data as a result of some external or timed 
event (ie. not in response to a user request).  In this case you use 
cron/wget/stepper/etc. to activate a routine which accesses the stored data, 
processes the data, saves the data (either overwriting the old data or 
creating a new data element).  However, you are still 'reading' the data 
before you can process it.


Before you can process data you need to 'read' (access) the data.  If you 
mean something different when you say 'read' let us know, it may eliminate 
some confusion!


Jonathan 



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

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


[Zope] Zope 2.9 vs Zope 2.10 and Unicode problems

2006-10-19 Thread Doyon, Jean-Francois
Hello,

I just upgraded from Zope 2.9.4 to Zope 2.10 and am running into the common 
type of error:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 295: 
ordinal not in range(128)

I've tracked it down to the fact that in Zope 2.10 it looks like the result of 
tag:replace tags (like the img/tag TAL), returns a unicode string:

u''

(In Zope 2.9.4 this was a normal string)

This creates a problem because the PT is in ISO-8859-1 and contains french 
accents in non unicode strings, such as in the  tags.

 

Which looks like this by the time StringIO.getvalue() sees it:



So I now end up with the UnicodeDecodeError :(

How would I got about making sure that either my HTML ends up in unicode 
strings, or making sure the tal:replace (and possibly others?) don't use 
unicode strings?  Both these things are probably rooted deep in the zope 2 or 
zope 3 code?

My locale is set to en_CA and the default charset is iso-8859-1 ...

Any ideas?

Thanks in advance!

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de 
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing/Centre Canadien de télédétection
Natural Resources Canada/Ressources Naturelles Canada
http://atlas.gc.ca
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to do...

2006-10-19 Thread Garito

Chris Withers escribió:

Garito wrote:

object.Property2 and retrieve the data with the current locale

For spanish locale I would like to retrieve 18-10-2006


Rather than torturing yourself with all this weirdness, maybe you 
should look at using Zope 3's locale support in your app, whether it's 
zope 2 or zope 3...


cheers,

Chris

Sure, but I don't need only localization, I need to preprocess the 
properties before read them


Is this possible?

--
Mis Cosas
http://blogs.sistes.net/Garito


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

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


RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
Indeed, but it wouldn't help if I wanted to tell a "Document" from a
"Map Text" from a "Topic Text" for example in my case.  Those are
various content types that would all show up as text/html. 

-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED] 
Sent: October 19, 2006 8:15 AM
To: Doyon, Jean-Francois; zope@zope.org
Subject: RE: [Zope] Zope and Log File Analysis



--On 19. Oktober 2006 08:07:37 -0400 "Doyon, Jean-Francois" 
<[EMAIL PROTECTED]> wrote:

> H, but said headers wouldn't be sufficient, unless I set custom 
> ones for each (CMF, in my case) content type.

Why wouldn't that help? A logged header "image/gif" or "image/jpeg" is
clearly an indicator for an image? Isn't it?

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


Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Philip Kilner
Hi,

Doyon, Jean-Francois wrote:
> Ah yes, indeed, I could do custom logging ... But then I'd have to worry 
> about the performance impact, the fact that because these logs would be 
> custom, I'd need custom analysis tools as well (unless I can make it 
> compatible somehow?) ... And so on ...
> 
> We'd much rather stick with more standard solutions!
> 

Have you seen: -

http://www.zope.org/Members/sbrauer/Webalizer-CT/README


-- 

Regards,

PhilK

"Say what you mean. Bear witness. Iterate." —John M. Ford
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Andreas Jung



--On 19. Oktober 2006 08:07:37 -0400 "Doyon, Jean-Francois" 
<[EMAIL PROTECTED]> wrote:



H, but said headers wouldn't be sufficient, unless I set custom ones
for each (CMF, in my case) content type.


Why wouldn't that help? A logged header "image/gif" or "image/jpeg" is 
clearly an indicator for an image? Isn't it?


-aj

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


RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
H, but said headers wouldn't be sufficient, unless I set custom ones
for each (CMF, in my case) content type.  Otherwise it'd mostly be
text/html, which wouldn't be much help.  I already use the whole
Apache/ReverseProxy setup, so when I talk about this, I do mean Apache
log files BTW.

I'll look at that idea though, I'd have to see if there are tools that
provide analysis of http headers somehow.

Thanks,
J.F.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Jung
Sent: October 19, 2006 6:38 AM
To: Sascha Ottolski; zope@zope.org
Subject: Re: [Zope] Zope and Log File Analysis



--On 19. Oktober 2006 12:34:28 +0200 Sascha Ottolski
<[EMAIL PROTECTED]> wrote:

> Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois:
>> The big problem I have is determining "file types" without having 
>> "file extensions", since many objects are name with a simple id that 
>> doesn't contain a typical file extension.
>>
>> This makes it supremely difficult to determine viewing statistics 
>> based on content type for example ... Or determining what should be 
>> concidered a "page view", and so on.
>
> one not so elegant solution to log real page views only: create your 
> own logger, and call it somewhere in you master template (probably 
> close to the end of it so logging doesn't happen if there was an 
> exception before that point).

The elegant solution is to run Apache in front of Zope as reverse proxy
and using Apaches CustomLog/Logformat option. The %...o option allows
you to log any HTTP header.

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


RE: [Zope] Zope and Log File Analysis

2006-10-19 Thread Doyon, Jean-Francois
Ah yes, indeed, I could do custom logging ... But then I'd have to worry about 
the performance impact, the fact that because these logs would be custom, I'd 
need custom analysis tools as well (unless I can make it compatible somehow?) 
... And so on ...

We'd much rather stick with more standard solutions!

Thanks for the idea though ...

J.F. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sascha Ottolski
Sent: October 19, 2006 6:34 AM
To: zope@zope.org
Subject: Re: [Zope] Zope and Log File Analysis

Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois:
> The big problem I have is determining "file types" without having 
> "file extensions", since many objects are name with a simple id that 
> doesn't contain a typical file extension.
>
> This makes it supremely difficult to determine viewing statistics 
> based on content type for example ... Or determining what should be 
> concidered a "page view", and so on.

one not so elegant solution to log real page views only: create your own 
logger, and call it somewhere in you master template (probably close to the end 
of it so logging doesn't happen if there was an exception before that point).


Cheers, Sascha

--
Lalisio GmbH                                          www.lalisio.com

Puschkinstraße 1                             fon +49-(0)361/541 43 80
99084 Erfurt                                 fax +49-(0)361/541 43 79
                                                 [EMAIL PROTECTED]

+
AKTUELLER HINWEIS (Oktober 2006)

Wussten Sie schon, dass Lalisio ab sofort den Dokumentenlieferdienst CISTI in 
seine Literatursuchmaschine einbindet? Sobald Sie über unsere 
Literatursuchmaschine in den Datenbanken Ingenta oder Projekt MUSE relevante 
Artikel finden, können Sie die bibliographischen Daten per Mausklick an CISTI 
übermitteln und Kopien der Artikel bestellen. 

Testen Sie unser Angebot unter www.lalisio.com!
+
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Andreas Jung



--On 19. Oktober 2006 12:34:28 +0200 Sascha Ottolski 
<[EMAIL PROTECTED]> wrote:



Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois:

The big problem I have is determining "file types" without having
"file extensions", since many objects are name with a simple id that
doesn't contain a typical file extension.

This makes it supremely difficult to determine viewing statistics
based on content type for example ... Or determining what should be
concidered a "page view", and so on.


one not so elegant solution to log real page views only: create your own
logger, and call it somewhere in you master template (probably close to
the end of it so logging doesn't happen if there was an exception
before that point).


The elegant solution is to run Apache in front of Zope as reverse proxy and 
using Apaches CustomLog/Logformat option. The %...o option allows you to 
log any HTTP header.


-aj

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


Re: [Zope] Zope and Log File Analysis

2006-10-19 Thread Sascha Ottolski
Am Mittwoch, 18. Oktober 2006 22:03 schrieb Doyon, Jean-Francois:
> The big problem I have is determining "file types" without having
> "file extensions", since many objects are name with a simple id that
> doesn't contain a typical file extension.
>
> This makes it supremely difficult to determine viewing statistics
> based on content type for example ... Or determining what should be
> concidered a "page view", and so on.

one not so elegant solution to log real page views only: create your own 
logger, and call it somewhere in you master template (probably close to 
the end of it so logging doesn't happen if there was an exception 
before that point).


Cheers, Sascha

-- 
Lalisio GmbH                                          www.lalisio.com

Puschkinstraße 1                             fon +49-(0)361/541 43 80
99084 Erfurt                                 fax +49-(0)361/541 43 79
                                                 [EMAIL PROTECTED]

+
AKTUELLER HINWEIS (Oktober 2006)

Wussten Sie schon, dass Lalisio ab sofort den Dokumentenlieferdienst 
CISTI in seine Literatursuchmaschine einbindet? Sobald Sie über 
unsere Literatursuchmaschine in den Datenbanken Ingenta oder Projekt 
MUSE relevante Artikel finden, können Sie die bibliographischen Daten
per Mausklick an CISTI übermitteln und Kopien der Artikel bestellen. 

Testen Sie unser Angebot unter www.lalisio.com!
+
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] How to do...

2006-10-19 Thread Chris Withers

Garito wrote:

object.Property2 and retrieve the data with the current locale

For spanish locale I would like to retrieve 18-10-2006


Rather than torturing yourself with all this weirdness, maybe you should 
look at using Zope 3's locale support in your app, whether it's zope 2 
or zope 3...


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

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

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