Re: [Catalyst] storing a list of items into the session

2008-03-24 Thread Yves Räber
Hi, Try this. replace : [% FOR mandator = Catalyst.session.mandators %] by : [% WHILE (mandator = Catalyst.session.mandators.next) %] Yves. On Sun, 2008-03-23 at 17:52 +0100, Pierre Moret wrote: Hi, I'm fairly new to Catalyst, so please excuse me if my questions are a bit...

[Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Alex Povolotsky
Hello! Having completed UTF-8 quest successfully, I've tried to do I18N and found the same double-UTF-encoding trouble. I've put UTF-8 strings into I18N/ru.po file,and configured Plugin:I18N Plugin::I18N: maketext_options: Decode: 0 Encoding: utf-8 (Decode: 1 did not make a

[Catalyst] fix config right before database connect?

2008-03-24 Thread Alex Povolotsky
Hello! I'm running several instances of Catalyst app (for every developer and production) on the same box; I'm thinking of automatically patch database name loaded from config file to allow separate copies of databases to coexist transparently. What should I override to fix config AFTER

Re: [Catalyst] Re: Django's tipping point article

2008-03-24 Thread Paul Makepeace
It's just you. http://downforeveryoneorjustme.com/antoniocangiano.com On Mon, Mar 24, 2008 at 1:35 AM, Lance A. Brown [EMAIL PROTECTED] wrote: Hmmm. Maybe not? Server go boom? :-) --[Lance] Paul Makepeace said the following on 3/23/2008 8:48 PM: Interesting claim that Django is about

Re: [Catalyst] fix config right before database connect?

2008-03-24 Thread David Wright
Hi, Hello! I'm running several instances of Catalyst app (for every developer and production) on the same box; I'm thinking of automatically patch database name loaded from config file to allow separate copies of databases to coexist transparently. We have the same multi-instance set up,

Re: [Catalyst] Django’s tipping point article

2008-03-24 Thread Kaare Rasmussen
Interesting claim that Django is about to hit a tipping point. Author compares against Rails with a variety of somewhat finger-in-the-wind metrics like IRC and Groups subscription and message volumes. I'd be curious to see how Catalyst stacks up. Google: 436.000 for django framework 384.000

[Catalyst] Code question about Path dispatch type

2008-03-24 Thread Bill Moseley
I noticed that register_path uses URI-canonical: sub register_path { my ( $self, $c, $path, $action ) = @_; $path =~ s!^/!!; $path = '/' unless length $path; $path = URI-new($path)-canonical; unshift( @{ $self-{paths}{$path} ||= [] }, $action); return 1; } I'm confused,

Re: [Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Alex Povolotsky
Knut-Olav Hoven wrote: On Monday 24 March 2008 08:08:06 Alex Povolotsky wrote: Hello! Having completed UTF-8 quest successfully, I've tried to do I18N and found the same double-UTF-encoding trouble. I've put UTF-8 strings into I18N/ru.po file,and configured Plugin:I18N Plugin::I18N:

Re: [Catalyst] storing a list of items into the session

2008-03-24 Thread Pierre Moret
Yves Räber wrote: Hi, Try this. replace : [% FOR mandator = Catalyst.session.mandators %] by : [% WHILE (mandator = Catalyst.session.mandators.next) %] Yves. Thanks Yves, but I already had tried this. Doesn't work either. Given Guillermo's explanations, that's normal. I've now

Re: [Catalyst] fix config right before database connect?

2008-03-24 Thread Ryan D Johnson
David Wright [EMAIL PROTECTED] writes: I'm running several instances of Catalyst app (for every developer and production) on the same box; I'm thinking of automatically patch database name loaded from config file to allow separate copies of databases to coexist transparently. We have the

Re: [Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Alex Povolotsky
Andrew Rodland wrote: On Monday 24 March 2008 02:08:06 am Alex Povolotsky wrote: Hello! Having completed UTF-8 quest successfully, I've tried to do I18N and found the same double-UTF-encoding trouble. I've put UTF-8 strings into I18N/ru.po file,and configured Plugin:I18N Plugin::I18N:

Re: [Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Alex Povolotsky
Knut-Olav Hoven wrote: On Monday 24 March 2008 14:33:47 Alex Povolotsky wrote: Knut-Olav Hoven wrote: On Monday 24 March 2008 08:08:06 Alex Povolotsky wrote: Hello! Having completed UTF-8 quest successfully, I've tried to do I18N and found the same double-UTF-encoding trouble.

Re: [Catalyst] Plugin::I18N and UTF-8

2008-03-24 Thread Alex Povolotsky
Knut-Olav Hoven wrote: On Monday 24 March 2008 14:33:47 Alex Povolotsky wrote: Knut-Olav Hoven wrote: On Monday 24 March 2008 08:08:06 Alex Povolotsky wrote: Hello! Having completed UTF-8 quest successfully, I've tried to do I18N and found the same double-UTF-encoding trouble.

[Catalyst] 3 days left for PostgreSQL Conference

2008-03-24 Thread Joshua D. Drake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Online registration ends for PostgreSQL Conference East on March 26th at 5:00pm PST. PostgreSQL Conference: East is being held at the Univerisity of Maryland, College Park in the CSIC building. The conference series is designed to be a geographically

[Catalyst] external javascript files

2008-03-24 Thread Jennifer Ahn
hello! i'm tyring to call my external javascript library under myapp/root/src/myjavascript.js in my tt2 file by placing this line at the top of the tt2 file: script language=Javascript src=/myjavascript.js type=text/javascript/script is this the right way to use an external javascript file

Re: [Catalyst] external javascript files

2008-03-24 Thread Ashley
On Mar 24, 2008, at 2:43 PM, Jennifer Ahn wrote: i'm tyring to call my external javascript library under myapp/root/ src/myjavascript.js in my tt2 file by placing this line at the top of the tt2 file: script language=Javascript src=/myjavascript.js type=text/ javascript/script The language

RE: [Catalyst] external javascript files

2008-03-24 Thread Mesdaq, Ali
I think in your case it would be /src/myjavascript.js Thanks, -- Ali Mesdaq (CISSP, GIAC-GREM) Security Researcher II Websense Security Labs http://www.WebsenseSecurityLabs.com -- -Original Message- From:

Re: [Catalyst] external javascript files

2008-03-24 Thread Tobias Kremer
On 24.03.2008, at 22:43, Jennifer Ahn wrote: i'm tyring to call my external javascript library under myapp/root/ src/myjavascript.js in my tt2 file by placing this line at the top of the tt2 file: script language=Javascript src=/myjavascript.js type=text/ javascript/script is this the right