Re: [Catalyst] TT via AJAX

2012-04-27 Thread Jason Galea
at the client..but if I do then back to square one.. ** ** ** ** *From:* Jason Galea [mailto:li...@eightdegrees.com.au] *Sent:* 27 April 2012 02:52 *To:* The elegant MVC web framework *Subject:* Re: [Catalyst] TT via AJAX ** ** ** ** On Fri, Apr 27, 2012 at 12:03 AM, Roland Philibert

Re: [Catalyst] TT via AJAX

2012-04-26 Thread Jason Galea
Hi Roland, On Wed, Apr 25, 2012 at 11:26 PM, Roland Philibert rphilib...@aptina.comwrote: Hello all, I’d like to render some HTML content being formatted from a TT view via AJAX. Can anybody recommend a way to do that please? ** ** The method I am using now for AJAX is REST

Re: [Catalyst] TT via AJAX

2012-04-26 Thread Jason Galea
html. ** ** Thanks R. ** ** *From:* Jason Galea [mailto:li...@eightdegrees.com.au] *Sent:* 26 April 2012 14:32 *To:* The elegant MVC web framework *Subject:* Re: [Catalyst] TT via AJAX ** ** ** ** Hi Roland, ** ** On Wed, Apr 25, 2012 at 11:26 PM, Roland

Re: [Catalyst] Catalyst::ActionRole::RequireSSL under development server

2012-04-18 Thread Jason Galea
On Tue, Apr 17, 2012 at 4:11 AM, Rippl, Steve rip...@woodlandschools.orgwrote: We're just upgrading to Catalyst 5.9 from 5.8, and therefore switching from the old Catalyst::Plugin::RequireSSL to Catalyst::ActionRole::RequireSSL. The old module would detect when is was running under the

Re: [Catalyst] Using Test::WWW::Mechanize::Catalyst on a test database

2012-02-16 Thread Jason Galea
On Thu, Feb 16, 2012 at 1:25 AM, Robert Rothenberg rob...@gmail.com wrote: I would like to use Test::WWW::Mechanize::Catalyst with an alternative database schema (since I want to test reading and writing on a database with the same schema but known data that is not the live database), but

Re: [Catalyst] nginx/FastCGI configuration issues

2012-02-15 Thread Jason Galea
On Thu, Feb 16, 2012 at 3:02 AM, Jesse Sheidlower jes...@panix.com wrote: location /incomings { include fastcgi_params; fastcgi_param SCRIPT_NAME /incomings/; fastcgi_param PATH_INFO $fastcgi_script_name; fastcgi_pass

Re: [Catalyst] Re: Using model layers between Catalyst and DBIC

2012-02-07 Thread Jason Galea
Bread::Board container from which I get my app.. have I gone walkabout!? https://github.com/lecstor/Lecstor https://github.com/lecstor/Lecstor-Shop-Catalyst comments welcome. cheers, J On Tue, Jan 10, 2012 at 12:16 AM, Jason Galea li...@eightdegrees.com.auwrote: On Mon, Jan 9, 2012

Re: [Catalyst] Basic Background Question, DBIx::Class

2012-02-05 Thread Jason Galea
Hi Rob, from the google cache for http://wiki.catalystframework.org/wiki/necessarybackgroundknowledge Here is where the two schools diverge. The older school (popularized by the Smalltalk language) holds that the *business* *logic* should go in the Model. The younger school (popularized by

Re: [Catalyst] fcgid configuration for catalyst

2012-02-02 Thread Jason Galea
Can you grab the app for the phrase PERL_ENV, and show us the top level application class, and whichever class contains PERL_ENV? t0m meant to say Can you grep the app for the phrase PERL_ENV, ..just to avoid any confusion.. PATH_INFO =

Re: [Catalyst] uri_for method is returning relative URLs

2012-01-28 Thread Jason Galea
On Fri, Jan 27, 2012 at 11:23 PM, Robert Rothenberg rob...@gmail.comwrote: On 21/01/12 21:49 Jason Galea wrote: On Jan 22, 2012 1:35 AM, Robert Rothenberg rob...@gmail.com mailto:rob...@gmail.com wrote: : : Ok, it's working now. Apparently including the default fastcgi_params, even

Re: [Catalyst] uri_for method is returning relative URLs

2012-01-21 Thread Jason Galea
sent by my android... On Jan 22, 2012 1:35 AM, Robert Rothenberg rob...@gmail.com wrote: On 18/01/12 12:36 Tomas Doran wrote: On 18 Jan 2012, at 12:03, Robert Rothenberg wrote: I'm relying on the default /etc/nginx/fastcgi.conf - which has the exact same values that the document says.

Re: [Catalyst] Re: Using model layers between Catalyst and DBIC

2012-01-09 Thread Jason Galea
On Mon, Jan 9, 2012 at 3:14 PM, Bill Moseley mose...@hank.org wrote: On Monday, January 2, 2012, Jason Galea wrote: I think I've added another layer but I'm not sure where you draw the line.. I have a model layer over DBIC pulling together related result classes under a single model class

Re: [Catalyst] Re: Using model layers between Catalyst and DBIC

2012-01-09 Thread Jason Galea
walkabout!? https://github.com/lecstor/Lecstor https://github.com/lecstor/Lecstor-Shop-Catalyst comments welcome. cheers, J On Tue, Jan 10, 2012 at 12:16 AM, Jason Galea li...@eightdegrees.com.auwrote: On Mon, Jan 9, 2012 at 3:14 PM, Bill Moseley mose...@hank.org wrote: On Monday, January 2

Re: [Catalyst] Using model layers between Catalyst and DBIC

2012-01-01 Thread Jason Galea
Hi Bill, On Mon, Jan 2, 2012 at 11:41 AM, Bill Moseley mose...@hank.org wrote: So, I'm looking at adding a separate model layer(s) (pattern #3 in link above), as is commonly suggested. My plan is to have one distribution that is our DBIC layer and then use that in a number of separate model

Re: [Catalyst] Using model layers between Catalyst and DBIC

2012-01-01 Thread Jason Galea
oh, I've also started playing with Bread::Board and its looking like my model layer consisting of the DBIC Schema and all my Sets will be pulled together into a single Bread::Board container. J On Mon, Jan 2, 2012 at 1:36 PM, Jason Galea li...@eightdegrees.com.auwrote: Hi Bill, On Mon, Jan 2

Re: [Catalyst] Re: Catalyst::Test Test::DBIx::Class

2011-12-04 Thread Jason Galea
wallclock secs ( 0.18 usr 0.04 sys + 34.14 cusr 4.98 csys = 39.34 CPU) cheers, J Cheers On Sun, Dec 4, 2011 at 10:49 AM, Jason Galea li...@eightdegrees.com.auwrote: On Sun, Dec 4, 2011 at 7:10 PM, Tomas Doran bobtf...@bobtfish.netwrote: On 4 Dec 2011, at 04:13, Jason Galea wrote: hmm

[Catalyst] Catalyst::Test Test::DBIx::Class

2011-12-03 Thread Jason Galea
Dear lazyweb.. not sure if this is staring me in the face.. If I'm using Catalyst::Test Test::DBIx::Class, with the latter starting up MySQL with a random socket location, how do I tell my Catalyst server how to connect to the MySQL instance? I'm also trying to get my tests running in parallel

[Catalyst] Re: Catalyst::Test Test::DBIx::Class

2011-12-03 Thread Jason Galea
hmm.. actually.. can I hand Catalyst::Test the schema I can get from Test::DBIx::Class? On Sun, Dec 4, 2011 at 1:56 PM, Jason Galea li...@eightdegrees.com.auwrote: Dear lazyweb.. not sure if this is staring me in the face.. If I'm using Catalyst::Test Test::DBIx::Class, with the latter

Re: [Catalyst] Catalyst::Plugin::AutoCRUD setup_components

2011-11-03 Thread Jason Galea
On Tue, Nov 1, 2011 at 10:00 PM, Jason Galea li...@eightdegrees.com.auwrote: On Tue, Nov 1, 2011 at 9:44 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Nov 2011, at 10:48, Jason Galea wrote: On Tue, Nov 1, 2011 at 7:38 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Nov 2011

Re: [Catalyst] Catalyst::Plugin::AutoCRUD setup_components

2011-11-01 Thread Jason Galea
On Tue, Nov 1, 2011 at 7:38 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Nov 2011, at 03:24, Jason Galea wrote: any suggestions? Can you show us the code that doesn't work when it's in your app? Hi t0m, thanks, I'll try to keep it relevant. If you don't see anything and you'e

Re: [Catalyst] Catalyst::Plugin::AutoCRUD setup_components

2011-11-01 Thread Jason Galea
On Tue, Nov 1, 2011 at 9:44 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Nov 2011, at 10:48, Jason Galea wrote: On Tue, Nov 1, 2011 at 7:38 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 1 Nov 2011, at 03:24, Jason Galea wrote: any suggestions? Can you show us the code

[Catalyst] Catalyst::Plugin::AutoCRUD setup_components

2011-10-31 Thread Jason Galea
Hi all, I'm trying to use Catalyst::Plugin::AutoCRUD but when correctly set up no actions are added to my app. After much hair pulling I found that my use of after 'setup_components' in my main Catalyst class was preventing setup_components in AutoCRUD from being called at all. After removing

Re: [Catalyst] Integrating multi-levelled meta-shopping-cart using Catalyst

2011-10-30 Thread Jason Galea
Hi Alec, yes, this can be done with Catalyst. I'm currently developing similar functionality a couple of applications. The complexity will depend on the similarity of functionality between the individual stores. Pre-condition: • More than 1 eCommerce store setup on this one Catalyst site •

Re: [Catalyst] Question on user role management

2011-05-17 Thread Jason Galea
correct? just stash the user and call roles on it as you did with the current user. Also yes I do have a many_to_many relationship in my user.pm for roles. On Tue, May 17, 2011 at 10:05 AM, Jason Galea li...@eightdegrees.com.au wrote: Hi Adam, have you tried using the roles method

Re: [Catalyst] HTML::FormHandler IDs not playing with JQuery

2011-04-02 Thread Jason Galea
On Tue, Mar 29, 2011 at 8:43 PM, Victor Churchill victorchurch...@gmail.com wrote: Trouble is I would like to use id=q1_select.0 as a JQuery selector to control the show/hide of 'child' questions, and the selector does not like the .0. I determined with a couple of manual tests that I can't

Re: [Catalyst] Best prcatice: same back-end, different UI

2011-03-08 Thread Jason Galea
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] redirect and ajax

2011-03-07 Thread Jason Galea
AFAIK you would need to return the uri to the browser, as your ajax response and redirect the browser using javascript. On Mon, Mar 7, 2011 at 10:24 PM, Cylon Toaster cylontoas...@gmx.de wrote: Hello, I use an ExtJS-form, which sends an AJAX-request to the server. Depending on the

Re: [Catalyst] Making secure session cookies (or, how do we make Explorer stop complaining about nonsecure content on a secure page?)

2011-02-20 Thread Jason Galea
/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au ___ List: Catalyst

Re: [Catalyst] Getting Error while running server script

2010-05-18 Thread Jason Galea
: - dbi:mysql:dbase_name - username - password -- Jason Galea Web Developer www.eightdegrees.com.au ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Subclass $c-log-debug(...) to prepend ${\$c-action}: ...

2010-01-18 Thread Jason Galea
/ -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] Catalyst::Test configuration questions

2009-10-26 Thread Jason Galea
{ MYAPP_CONFIG_LOCAL_SUFFIX } is set to testing, ConfigLoader will try and load myapp_testing.conf instead of myapp_local.conf. cheers, J -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au ___ List: Catalyst@lists.scsys.co.uk Listinfo

Re: [Catalyst] Re: generating and redirecting to pdfs

2009-10-26 Thread Jason Galea
On Sun, Oct 25, 2009 at 12:49 AM, Aristotle Pagaltzis pagalt...@gmx.dewrote: * Jason Galea li...@eightdegrees.com.au [2009-10-21 01:50]: $c-res-header( 'Content-Disposition' = 'attachment;filename='.$c-stash-{pdf_filename} ); This will break for filenames with spaces in them. For strict

Re: [Catalyst] generating and redirecting to pdfs

2009-10-23 Thread Jason Galea
' it was using a text editor). cool. ah, I did see/wonder about that. I've changed my code now. 'text/pdf' worked for me in my Lenny desktop but I had done any other testing.. thanks, J -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au

Re: [Catalyst] generating and redirecting to pdfs

2009-10-20 Thread Jason Galea
: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534

Re: [Catalyst] Re: Debian recommendation

2009-10-16 Thread Jason Galea
this for a year or so now and in that time I haven't had to spend more than 10 minutes ugrading or installing any module I've needed. ..just my 2c cheers, J -- Jason Galea Web Developer Ph 07 40556926 Mob 04 12345 534 www.eightdegrees.com.au ___ List: Catalyst

Re: [Catalyst] What is correct way to re-check user password for authenticated user?

2009-08-25 Thread Jason Galea
Oleg Kostyuk wrote: Hello subscribers, On some pages I need to re-check user password (to be more concrete - each time when user change any settings on user settings page). I can't compare passwords directly (something like: $form-{password} eq $c-user-password()), because in DB I have only

Re: [Catalyst] nginx configuration tute for catalyst

2009-07-15 Thread Jason Galea
Hi K, that'd be your nginx.conf. You should find it in /etc/nginx/ or maybe /usr/local/nginx all depending on how nginx was installed. cheers, J kakim...@tpg.com.au wrote: hi, all i am looking at http://dev.catalyst.perl.org/wiki/adventcalendararticles/2008/02-catalyst_and_nginx.

Re: [Catalyst] Catalyst::View::Email config error after Catalyst upgrade

2009-03-29 Thread Jason Galea
Hi David, setting default_view in my config appears to have fixed this for me.. (I have other, unrelated, issues now) default_view: MyApp::View::TT hope this helps.. cheers, J David Schmidt wrote: Hello everyone I've just upgraded Catalyst from 5.7015 to 5.71001. If I start my project

Re: [Catalyst] testing catalyst app - need context

2009-03-01 Thread Jason Galea
Hi Kate, have a look at http://search.cpan.org/~jkutej/Catalyst-Plugin-CommandLine-0.05/lib/Catalyst/Plugin/CommandLine.pm I've only used it once or twice and I don't know if it's considered best practice or not but it worked for me.. (I wanted easy access to Catalyst app config) cheers,