Re: [Catalyst] Apache's IfDefine

2009-04-16 Thread Ben Vinnerd
Thanks Charlie. That will do me :) Ben Charlie Garrison wrote: Good morning, On 15/04/09 at 1:24 PM +0100, Ben Vinnerd ben-catal...@vinnerd.com wrote: I pass a flag to Apache when i start it up, e.g. -Dhello. Any ideas how i can check this from within a Catalyst app? If using

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Tomas Doran
On 16 Apr 2009, at 07:32, Alexander Tamm wrote: Tomas Doran wrote: Take a look at Catalyst::Plugin::Cache. The docs are a bit crap (patches welcome!), but it'll do what you want, and has nice features to give you curried accessors for things etc.. Well, that's just it... I've read the

Re: [Catalyst] Advice Needed on Masking Sensitive Content from Logs

2009-04-16 Thread Tomas Doran
On 16 Apr 2009, at 00:27, Ewan Edwards wrote: snip As you can see, I've taken the opportunity to mask the password from the log too. My question is: is there a better, or more Catalyst-approved way of accomplishing this? This seemed to be the most direct/simple way, but it would have

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Graeme Lawton
Also Catalyst::Plugin::Cache::Store::FastMmap is now deprecated as you can use it without store, and should see a slight performance improvement. Graeme 2009/4/16 Tomas Doran bobtf...@bobtfish.net: On 16 Apr 2009, at 07:32, Alexander Tamm wrote: Tomas Doran wrote: Take a look at

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Tomas Doran
On 16 Apr 2009, at 08:54, Graeme Lawton wrote: Also Catalyst::Plugin::Cache::Store::FastMmap is now deprecated as you can use it without store, and should see a slight performance improvement. Erm, the configuration which was shown doesn't use C::P::Cache::Store::FastMMap. Also, I guess

RE: [Catalyst] Web parts

2009-04-16 Thread Kyoko Shikamata
Thank you for your advice! (I notice you have a .jp email address, so I'll mention that I'll be giving a Catalyst talk in Akihabara on April 21st, by the way. http://japan.perlassociation.org/event/jpa-seminar-01 -- the JPA is translating my slides) I'll join the your seminar. I'm looking

[Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread jagdish eashwar
Hi, I have been able to work through all of Jason Kohles' tutorial except the part about saving changes back in the database. The 'New Person' and 'Discard Changes' in the tool bar are working, but the 'Save Changes' is not. I have checked several times for any typing mistakes that I might have

Re: [Catalyst] Keep getting checksum mismatch problems each time I regenerate my schema files

2009-04-16 Thread John Romkey
On Apr 16, 2009, at 12:41 AM, kakim...@tpg.com.au wrote: I keep getting a checksum mismatch problems each time I regenerate my schema files. What's the most common fault and solution? I really don't know why.. Look in the schema file. You see this line? # DO NOT MODIFY THIS OR ANYTHING

Re: [Catalyst] Tutorial for cache?

2009-04-16 Thread Peter Karman
Alexander Tamm wrote on 04/16/2009 01:32 AM: Tomas Doran wrote: Take a look at Catalyst::Plugin::Cache. The docs are a bit crap (patches welcome!), but it'll do what you want, and has nice features to give you curried accessors for things etc.. Well, that's just it... I've read the docs

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread Peter Karman
jagdish eashwar wrote on 04/16/2009 05:55 AM: Hi, I have been able to work through all of Jason Kohles' tutorial except the part about saving changes back in the database. The 'New Person' and 'Discard Changes' in the tool bar are working, but the 'Save Changes' is not. I have checked

Re: [Catalyst] PAR file - can't build it . Prolly documentation is out of date?

2009-04-16 Thread James R. Leu
Hello Tomas and kakimoto, Please see my response inline.. On Thu, Apr 16, 2009 at 08:46:15AM +0100, Tomas Doran wrote: On 16 Apr 2009, at 06:57, kakim...@tpg.com.au wrote: Hi there, I refered to http://catalyst.infogami.com/cookbook/par. I can't seem to find the line,

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread jagdish eashwar
Hi Peter, Thanks for writing in. It is really not my code at all. I have taken it all from the tutorial. I thought that people will get a better perspective if I referred them to the tutorial. Nevertheless, I am pasting code from the advent.js file below. ( I have made a few inconsequential

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread W. Tyler Gee
Is there a javascript error when you hit save or is it getting to the server? Where is your actual problem? On Thu, Apr 16, 2009 at 5:30 AM, jagdish eashwar jagdish.eash...@gmail.comwrote: Hi Peter, Thanks for writing in. It is really not my code at all. I have taken it all from the tutorial.

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread Peter Karman
jagdish eashwar wrote on 04/16/2009 10:30 AM: [% META title = 'Advent AJAX Grid' %] script type = text/javascript var posturl = '[% Catalyst.uri_for(/people_data_submit) %]'; var gridurl = '[% Catalyst.uri_for(/people_data) %]'; Should probably be: var posturl = '[%

Re: [Catalyst] Catalyst::Plugin::Session::State::Cookie and HttpOnly flag

2009-04-16 Thread Scott Thomson
On Tue, Apr 14, 2009 at 7:50 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 14 Apr 2009, at 10:58, Scott Thomson wrote: Currently Catalyst::Plugin::Session::State::Cookie doesn't allow configuration of the HttpOnly flag, it looks trivial to add, so basically I'm wondering whether this idea

Re: [Catalyst] PAR file - can't build it . Prolly documentation is out of date?

2009-04-16 Thread kakimoto
Quoting Tomas Doran bobtf...@bobtfish.net: On 16 Apr 2009, at 06:57, kakim...@tpg.com.au wrote: Hi there, I refered to http://catalyst.infogami.com/cookbook/par. I can't seem to find the line, catalyst_files();. I don't know what you're talking about - as that phrase

Re: [Catalyst] PAR file - can't build it . Prolly documentation is out of date?

2009-04-16 Thread kakimoto
Tomas, I must have missed the memo about PAR not being recommend. Is there a discussion thread I can read about it? Thank you, James! Yes, I would like to read more about the discussion thread (if it exists). Interesting.. K. akimoto ___

Re: [Catalyst] Keep getting checksum mismatch problems each time I regenerate my schema files

2009-04-16 Thread kakimoto
Hello, John thank you for your response. Quoting John Romkey rom...@apocalypse.org: On Apr 16, 2009, at 12:41 AM, kakim...@tpg.com.au wrote: I keep getting a checksum mismatch problems each time I regenerate my schema files. What's the most common fault and solution? I really

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread jagdish eashwar
No, 'c.uri_for' doesn't seem to work. With 'Catalyst.uri_for', I am at least able to fetch records from the database. If I change it to 'c.uri_for', even that stops. On Thu, Apr 16, 2009 at 9:59 PM, Peter Karman pe...@peknet.com wrote: jagdish eashwar wrote on 04/16/2009 10:30 AM: [% META

Re: [Catalyst] Jason Kohles' tutorial on ExtJs editable data grids and Catalyst

2009-04-16 Thread jagdish eashwar
Hi, No I don't get any javascript error in the error log when I hit 'save', and it doesn't save the changes in the database either. Just nothing happens. On Thu, Apr 16, 2009 at 9:34 PM, W. Tyler Gee geek...@gmail.com wrote: Is there a javascript error when you hit save or is it getting to the