Re: [Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread harshad behere
Maurits van Rees wrote: After making change and updating sample page template - (English as primary language for both browsers) English - Reload this catalog German - Reload this catalog Czech - Reload this catalog Huh? You now state languages in the i18n domain. Don't y

Re: [Zope] retrieving a single column from database and giving it as hyper link fetching respective data

2008-04-10 Thread Andreas Jung
--On 11. April 2008 10:32:15 +0530 member madhangc <[EMAIL PROTECTED]> wrote: Dear all, I'm developing a biological database using Zope 2.6 and pgsql. Let me explain my issue with an example. There is a menu called Drug in my homepage, by clicking the menu the drug names along with their ty

Re: [Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-10 Thread Andreas Jung
--On 10. April 2008 21:04:40 -0700 Wes Modes <[EMAIL PROTECTED]> wrote: I upgraded to Zope 2.7.2 and all of my content can't be seen by Zope. Honestly I'm not sure what the previous version I was running was (nor am I sure how to find out). If you upgrade then you should upgrade to the lates

[Zope] retrieving a single column from database and giving it as hyper link fetching respective data

2008-04-10 Thread member madhangc
Dear all, I'm developing a biological database using Zope 2.6 and pgsql. Let me explain my issue with an example. There is a menu called Drug in my homepage, by clicking the menu the drug names along with their type in two different columns get displayed in the body. I can do things till that. My

[Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-10 Thread Wes Modes
I upgraded to Zope 2.7.2 and all of my content can't be seen by Zope. Honestly I'm not sure what the previous version I was running was (nor am I sure how to find out). Now, every page results in Site Error An error was encountered while publishing this resource. Resource not found Sorry, the

Re: [Zope] Problem with zopectl debug

2008-04-10 Thread Manuel Vazquez Acosta
Dieter Maurer wrote: > Manuel Vazquez Acosta wrote at 2008-4-7 15:21 -0400: >> Dieter Maurer wrote: >>> That is very strange: >>> >>> "zopectl debug" uses almost exactly the same startup sequence >>> as "zopectl fg" (at least until after the configuration). >>> Thus, if your Zope starts at al

[Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread Maurits van Rees
harshad behere, on 2008-04-10: > I also found workaound for MSIE behaviour, include heading call > "X-Is-Fallback-For: ?\n" in your .po file. For e.g - > "X-Is-Fallback-For: de-de\n". Ah yes, that is the correct solution here indeed. > After making change and updating sample page template

[Zope] Re: Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Josef Meile
The 'email' module is part of the standard Python distribution since generations. Well, I said "allowing or installing". I wasn't sure if it was and with allowing I meant by using allow_module or allow_class. I guess you can't just use this module without removing security assertions. I will try

Re: [Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread harshad behere
I tried changing domain in given example .po file (e.g. to "Domain=mydomain\n"), but it doesn't work even after doing "Reload catalog" for corresponding .po file object using PTS ZMI. I found reload catalog works if we modify message ids/text. Any idea how PTS manages this headers (like Doma

Re: [Zope] Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Tom Von Lahndorff
How is dtml more "error-prone" than python? I'd imagine that all depends on who's authoring it. > On Wed, Apr 9, 2008 at 11:59 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > > > > > --On 9. April 2008 22:40:01 +0200 Josef Meile <[EMAIL PROTECTED]> > > wrote: > > > > Dear list > > > > > > I'm

Re: [Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread harshad behere
Maurits van Rees wrote: harshad behere, on 2008-04-10: Maurits, Thanks for the reply and suggestions. I tried i18n:translate="", it works fine. But if I change domain (e.g i18n:domain="mydomain") it doesn't work. Is domain attribute is related to the domain specified in .po file, coz the

Re: [Zope] Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Tom Von Lahndorff
The email library should be available to use with a Script (Python) and can be done all within the ZMI. Otherwise maybe use dtml-try? On Wed, Apr 9, 2008 at 4:40 PM, Josef Meile <[EMAIL PROTECTED]> wrote: > Dear list > > I'm trying to send a multi-part email after having submitted a > form. In th

Re: [Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread harshad behere
Maurits van Rees wrote: In Firefox you can use the livehttpheaders extension to check those. I don't know if there is something similar to IE. In zope this information should be visible somewhere in the request object. To display the complete request in a page template for inspection you can p

Re: [Zope] Re: Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Andreas Jung
--On 10. April 2008 11:00:14 +0200 Josef Meile <[EMAIL PROTECTED]> wrote: I started shivering while reading your code. We would have written such code five or six years ago - because we had no other choice. Please use the standard 'email' module of Python...this just works and you don't need t

[Zope] Re: Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Josef Meile
> I started shivering while reading your code. We would have written such > code > five or six years ago - because we had no other choice. > Please use the standard 'email' module of Python...this just works > and you don't need to write such ugly and error-prone DTML > code. Yes, I know it is ugl

[Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread Maurits van Rees
harshad behere, on 2008-04-10: > Maurits, > > Thanks for the reply and suggestions. > > I tried i18n:translate="", it works fine. > > But if I change domain (e.g i18n:domain="mydomain") it doesn't work. Is > domain attribute is related to the domain specified in .po file, coz the > example .po fi

Re: [Zope] Help writing test where bobobase_modification_time changes

2008-04-10 Thread Chris Withers
Peter Bengtsson wrote: How can I solve this? Make one big transaction two without having to use transaction.get().commit() which I don't think I can use in unit tests as per Dieter's advice. I'd suggest monkeypatching bobobase_modification_time on the objects you're testing with. You're testin

Re: [Zope] Conditional dtml-boundary in dtml-sendmail

2008-04-10 Thread Chris Withers
Andreas Jung wrote: I started shivering while reading your code. We would have written such code five or six years ago - because we had no other choice. Please use the standard 'email' module of Python...this just works and you don't need to write such ugly and error-prone DTML code. There's