Re: [Catalyst] Simple question about "use Catalyst"

2015-10-19 Thread David Schmidt
My guess, it makes sure you run at least v5.80 possibly because older versions are not supported anymore. I am sure someone will correct me if I am wrong. http://perldoc.perl.org/functions/use.html "If the VERSION argument is present between Module and LIST, then the use will call the VERSION

Re: [Catalyst] Catalyst authentication w/ CAS

2015-09-09 Thread David Schmidt
Have you looked at the test application of the CAS module? https://metacpan.org/source/KKANE/Catalyst-Authentication-Credential-CAS-0.05/t/lib/MyApp/lib/MyApp.pm On 9 September 2015 at 05:40, Baron Fujimoto wrote: > Hello, > > ObWarning: Total Catalyst noob

Re: [Catalyst] Where best to store database connection information?

2015-02-16 Thread David Schmidt
the catalyst configloader can load more then just one file. by default it loads myapp.conf if a file named myapp_local.conf exists it is loaded aswell. docs:

Re: [Catalyst] How to get default()-like behavior outside of the Root controller

2015-02-09 Thread David Schmidt
On 9 February 2015 at 10:59, Dmitry L. dim0...@gmail.com wrote: I'd rather split one application into several (admin app, survey app, etc) and join its via middleware. I wrote a blog article a few months ago:

Re: [Catalyst] Catalyst 5.90080 on CPAN!

2015-01-19 Thread David Schmidt
you could install new versions of CPAN modules into a local::lib directory and run your testsuite afterwards to see if the upgrade works for you. if it doesnt work simply delete the local::lib directory and you all updates are undone. https://metacpan.org/pod/local::lib another option that I

Re: [Catalyst] Help on Catalyst::Plugin::RunAfterRequest

2014-10-06 Thread David Schmidt
If you run a long-running process inside of your webserver process the process will not be available to handle new web requests anymore. you probably want a job-queue of some sort. http://stackoverflow.com/questions/25277158/run-asynchronous-methods-in-catalyst-perl

Re: [Catalyst] Catalyst Unicode

2014-01-31 Thread David Schmidt
https://metacpan.org/pod/release/JJNAPIORK/Catalyst-Runtime-5.90053/lib/Catalyst/Upgrading.pod#Catalyst::Plugin::Unicode::Encoding-is-now-core and in your test script, im pretty sure if you are using unicode chars in your perl code you have to use utf8 in it. also, use warnings instead of perl

Re: [Catalyst] Can't detach from root / create action object

2013-11-27 Thread David Schmidt
You should tell us what you want to achieve. I want to pass an action to detach() is not a proper problem description. The documentation is pretty clear on what is expected. https://metacpan.org/pod/Catalyst#c-detach-action-arguments $c-detach( $action [, \@arguments ] ) $c-detach( $class,

Re: [Catalyst] Catalyst starter template

2013-09-03 Thread David Schmidt
Quite late but when I read your email again i had to think of this other module which does a similiar thing and thought I'd mention it here. https://github.com/marcelgruenauer/CatalystX-Crudite CatalystX-Crudite is a framework for writing Catalyst-based CMS web applications. It includes

Re: [Catalyst] Adding CaptureArgs for the whole controller?

2013-04-02 Thread David Schmidt
By using one action that captures args and all other actions chain from. something like this: https://github.com/davewood/catalystx-resource/blob/master/lib/CatalystX/Resource/Controller/Resource.pm On 2 April 2013 22:07, Alex Povolotsky tark...@over.ru wrote: Hello! I'm implementing some

Re: [Catalyst] I'm loosing the plot here? - Controller behaviour that makes no sense

2012-10-31 Thread David Schmidt
Tomas asked for the debug output of the failing response. You pasted only the server startup debug output. On 31 October 2012 10:46, Craig Chant cr...@homeloanpartnership.com wrote: Sorry IRC? I did post the debug and output , has this email not been received? -Original Message-

Re: [Catalyst] Global 'helper' methods

2012-10-30 Thread David Schmidt
Perhaps it is feasible for you to bypass object inflation. 1) DBIx::Class is not built for speed, it's built for convenience and ease of use, but sometimes you just need to get the data, and skip the fancy objects.

Re: [Catalyst] Can't get view / template to work ?

2012-10-30 Thread David Schmidt
On 31 October 2012 00:00, Tomas Doran bobtf...@bobtfish.net wrote: On 30 Oct 2012, at 16:52, Craig Chant wrote: I seem stuck with implementing my first view / template. I have a controller Login.pm I ran the view helper script ‘create view HTML HTML::template’ This can't possibly have

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread David Schmidt
Though while we are on the subject of Catalyst plug-ins, I do get this message in the devel server output when it's started. [warn] Deprecated 'static' config key used, please use the key 'Plugin::Static::Simple' instead I've looked at the main application MyApp.pm in the lib folder and

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread David Schmidt
As for the Data::Dumper information you requested, you will need to give me more guidance because I can't get it to output anything? Firstly I cannot find the context variable '$c' , there is a '$ctx' , I assume this is what was meant? I added dump($env); dump($ctx-request-uri);

Re: [Catalyst] How to update data of already logged-in user?

2012-07-11 Thread David Schmidt
The object returned by $c-user is not what you are looking for. I assume you are using DBIC. Get the real user object with $c-user-get_object() http://search.cpan.org/~bobtfish/Catalyst-Plugin-Authentication-0.10021/lib/Catalyst/Authentication/User.pm#get_object(_) cheers david On 11 July

Re: [Catalyst] Can't get value from model

2012-06-13 Thread David Schmidt
Hi Kenneth, that's a DBIC question anyways, what is the output of ... if ( $dept ) { warn REF: . ref $dept . DEPT_ID: . $dept-department_id; } else { warn No dept found; } ... after your query? On 13 June 2012 22:54, Kenneth S Mclane ksmcl...@us.ibm.com wrote: I am trying to get

Re: [Catalyst] Can't get value from model

2012-06-13 Thread David Schmidt
On 13 June 2012 23:34, Kenneth S Mclane ksmcl...@us.ibm.com wrote: David Schmidt davew...@gmx.at wrote on 06/13/2012 04:15:57 PM: From: David Schmidt davew...@gmx.at To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: 06/13/2012 04:16 PM Subject: Re: [Catalyst

Re: [Catalyst] DBIx::Class::ResultSet::all(): DBI Exception: DBD::DB2::db prepare_cached failed: [IBM][CLI Driver][DB2/AIX64] SQL0204N DBUSERNAME.ACCOUNT_VIEW is an undefined name.

2012-04-26 Thread David Schmidt
$rs-all returns an array so you should call it in list context like this. $c-stash( accounts = [ $c-model('ORANGES::AccountView')-all ] ); no idea if that changesyour error msg but it is a start. david On 26 April 2012 21:05, Kenneth S Mclane ksmcl...@us.ibm.com wrote: I do not understand

Re: [Catalyst] Remove Catalyst and start over?

2012-03-23 Thread David Schmidt
run moose-outdated. moose-outdated is a tool that ships with Moose to help you spot dependency problems On 23 March 2012 18:06, Robyn Jonahs learn.catal...@gmail.com wrote: Hi, I am new to perl and Catalyst. I am working with an Os X 10.6 system with perl perl 5, version 12, subversion 3

Re: [Catalyst] $C - uri_for containing current path in catalyst 5.90010

2012-03-08 Thread David Schmidt
I tested your code sub exampleRedirect :Path(/oldPath) Args(0) { my ( $self, $c ) = @_; my %data = %{ $c-req-params }; my $url = $c-uri_for( $self-action_for('newSub'), \%data ); $c-response-redirect( $url , 301 ); $c-log-debug(': ' . $url); } sub newSub

Re: [Catalyst] $C - uri_for containing current path in catalyst 5.90010

2012-03-08 Thread David Schmidt
forgot to include my catalyst version [info] Foo powered by Catalyst 5.90010 On 8 March 2012 20:49, David Schmidt davew...@gmx.at wrote: I tested your code sub exampleRedirect :Path(/oldPath) Args(0) {    my ( $self, $c ) = @_;    my %data = %{ $c-req-params };    my $url =  $c-uri_for

Re: [Catalyst] Setting flash for tests

2012-02-18 Thread David Schmidt
Do you know about CatalystX::SimpleLogin it does exactly what you described and probably is thoroughly tested. as far as the testing is concerned i'd simply test the entire procedure as it would take place in a real workflow. 1) GET /site_that_needs_login 2) check result is a redirect to

Re: [Catalyst] Listing all actions in app

2012-02-16 Thread David Schmidt
If you start your app in debug mode you get a list of all actions. or ... # catalyst.pl Foo # cd Foo # vim list_actions.pl 1 #!/usr/bin/env perl 2 use strict; 3 use warnings; 4 use v5.10.1; 5 use FindBin qw/$Bin/; 6 use lib $Bin/lib; 7 use Data::Dumper; 8 use Foo; 9 10 my $app

Re: [Catalyst] Catalyst::TraitFor::Controller::Sendfile

2012-01-09 Thread David Schmidt
://cpansearch.perl.org/src/MAROS/CatalystX-I18N-1.09/lib/CatalystX/I18N/TraitFor/Response.pm But will that cause overhead for each request instance creation? On 11 December 2011 13:57, Tomas Doran bobtf...@bobtfish.net wrote: On 11 Dec 2011, at 12:27, David Schmidt wrote: https://github.com

Re: [Catalyst] YA CRUD module

2011-12-22 Thread David Schmidt
I came across another issue. CatalystX::Resource injects a controller into the app. the controller extends Catalyst::Controller. If I want to use Catalyst::ActionRole::ACL to deal with Authorization on my resources the controller needs to extend C::C::ActionRole. Should I extend from

Re: [Catalyst] YA CRUD module

2011-12-22 Thread David Schmidt
(02:28:32 PM) phenny: davewood: 21 Dec 16:54Z t0m tell davewood there isn't really a smarter way yet, I'd just always extend that base class I am going to use ActionRole::MatchRequestMethod so C::C::ActionRole is a requirement anyways now. thanks. On 22 December 2011 14:21, David Schmidt davew

Re: [Catalyst] Reasonable way to get $c-config into Result class?

2011-12-12 Thread David Schmidt
http://wiki.catalystframework.org/wiki/wikicookbook/configpass2schema I hope that solves your problem. I am in a bit of a hurry and didn't read your mail very carefully david On 13 December 2011 01:49, will trillich w...@serensoft.com wrote: We have a Catalyst app where incidents can have

[Catalyst] Catalyst::TraitFor::Controller::Sendfile

2011-12-11 Thread David Schmidt
https://github.com/davewood/catalyst-traitfor-controller-sendfile/blob/master/lib/Catalyst/TraitFor/Controller/Sendfile.pm I want to continue working on it and have a few questions. - Is it still needed? - What should be changed? - any input regarding missing tests?

Re: [Catalyst] YA CRUD module

2011-12-10 Thread David Schmidt
wallclock secs ( 0.02 usr 0.21 sys + 10.34 cusr 6.65 csys = 17.22 CPU) Result: PASS time for a devel release :) https://github.com/davewood/CatalystX-TraitFor-Controller-Resource documentation needs some cleaning up though On 6 December 2011 22:41, David Schmidt davew...@gmx.at wrote: I added quite

Re: [Catalyst] YA CRUD module

2011-12-06 Thread David Schmidt
at (eval 8) line 2. On 5 December 2011 16:04, David Schmidt davew...@gmx.at wrote: I updated my code so it does pretty much what CatalystX::SimpleLogin does. Namely to inject a Controller then applying or removing traits. Unlike SimpleLogin I want to be able to inject many Controllers. here

Re: [Catalyst] YA CRUD module

2011-12-05 Thread David Schmidt
wrote: On 4 Dec 2011, at 23:46, David Schmidt wrote: just thought i'll keep you up to day so you dont waste time trying to help with a problem i already solved. Turns out the error cause was in one of the roles. It required a method declared in the same role. This has to be a Moose bug

Re: [Catalyst] YA CRUD module

2011-12-05 Thread David Schmidt
December 2011 11:58, Tomas Doran bobtf...@bobtfish.net wrote: On 4 Dec 2011, at 23:46, David Schmidt wrote: just thought i'll keep you up to day so you dont waste time trying to help with a problem i already solved. Turns out the error cause was in one of the roles. It required a method

Re: [Catalyst] YA CRUD module

2011-12-04 Thread David Schmidt
bobtf...@bobtfish.net wrote: On 31 Oct 2011, at 14:49, David Schmidt wrote: It's about time I publish my first CPAN module and it happens to be yet another CRUD module. Feedback greatly appreciated. I haven't looked at this in depth - but it generally looks nice (other than lack of tests

Re: [Catalyst] Catalyst and XMLRPC

2011-11-05 Thread David Schmidt
I believe this is the way to go ... http://search.cpan.org/~bphillips/Catalyst-Action-REST-0.93/lib/Catalyst/Controller/REST.pm On 4 November 2011 14:30, Jose Luis Martinez jlmartinez-lists-catal...@capside.com wrote: El 04/11/2011 13:59, Dmitry L. escribió: Catalyst::Cookbook and found advice

[Catalyst] YA CRUD module

2011-10-31 Thread David Schmidt
It's about time I publish my first CPAN module and it happens to be yet another CRUD module. Feedback greatly appreciated. https://github.com/davewood/CatalystX-TraitFor-Controller-Resource One thing I have yet to do is writing tests. :) david ps: there is

Re: [Catalyst] Setting Model Class Variable from Catalyst Config

2011-03-28 Thread David Schmidt
On Mon, Mar 28, 2011 at 6:49 PM, Derek Wueppelmann dwuep...@gmail.com wrote: I want to be able to setup a configuration variable in my Catalyst config that will then be set as the value for one of my model's class variables. I have a model that will want to use a base path to store some files,

Re: [Catalyst] Formhandler and Auth

2011-03-07 Thread David Schmidt
On Mon, Mar 7, 2011 at 1:03 AM, Eric Berg eb...@bergbrains.com wrote: On 3/4/11 11:03 AM, Gerda Shank wrote: On 3/4/11 8:23 AM, Eric Berg wrote: I'm trying to do some progressive engagement by allowing one of my forms to be filled out before a user is required to log in, but once the form is

Re: [Catalyst] Formhandler and Auth

2011-03-04 Thread David Schmidt
On Fri, Mar 4, 2011 at 2:23 PM, Eric Berg eb...@bergbrains.com wrote: I'm trying to do some progressive engagement by allowing one of my forms to be filled out before a user is required to log in, but once the form is filled, I need them to log in so that I can get the user ID, which is part

Re: [Catalyst] In HTML::FormHandler search form (no DB schema) -- how to populate a SELECT field via DBIx::Class?

2011-01-20 Thread David Schmidt
On Thu, Jan 20, 2011 at 11:20 AM, Alexander Hartmaier alexander.hartma...@t-systems.at wrote: Why not solve it the exact same way? Defined a schema attribute an pass your schema when constructing the form object. Maybe you only want to pass the country rs instead, whatever fits your needs

Re: [Catalyst] Retrieve all users belong to a category and all its sub categories

2010-12-09 Thread David Schmidt
On Thu, Dec 9, 2010 at 9:37 AM, linuxsupport lin.supp...@gmail.com wrote: I have 3 tables, users, user_cat, and cat, table structure and relationship are setup as follows. User.pm __PACKAGE__-add_columns(   id,   { data_type = integer, is_nullable = 0 },   username,   { data_type = text,

Re: [Catalyst] Transferring control via root/auto

2010-12-07 Thread David Schmidt
On Tue, Dec 7, 2010 at 4:53 PM, Thompson r...@matsch.com wrote: Here is my problem, If a user logs in for the 1st time I want to force them to change their password.  I have a specific action in my Users controller to handle that.  What I'm having a problem with is (redirecting or forwarding

Re: [Catalyst] One controller from other

2010-12-04 Thread David Schmidt
On Sat, Dec 4, 2010 at 4:00 PM, linuxsupport lin.supp...@gmail.com wrote: Hi, How can I access one controller from other? I have 2 controllers called Myapp::Controller::User and Myapp::Controller::Admin In Myapp::Controller::User I have following method. sub user_list :Path Args:(0) {   

Re: [Catalyst] Custom 404 Error Page

2010-12-04 Thread David Schmidt
On Sat, Dec 4, 2010 at 5:30 PM, linuxsupport lin.supp...@gmail.com wrote: Hi, I want to implement custom error page for 404. I want to show a particular page when user sends a request to non-existence page instead of displaying Page not found (default). Many thanks

Re: [Catalyst] One controller from other

2010-12-04 Thread David Schmidt
, 2010 at 1:25 AM, David Schmidt davew...@gmx.at wrote: On Sat, Dec 4, 2010 at 4:00 PM, linuxsupport lin.supp...@gmail.com wrote: Hi, How can I access one controller from other? I have 2 controllers called Myapp::Controller::User and Myapp::Controller::Admin In Myapp::Controller

Re: [Catalyst] Which Form Validation Libs?

2010-11-30 Thread David Schmidt
another great module which from my perception is used the most lately is HTML::FormHandler http://search.cpan.org/~gshank/HTML-FormHandler-0.32005/ greetings david On Tue, Nov 30, 2010 at 9:24 AM, Mike Raynham catal...@mikeraynham.co.uk wrote: On 30/11/10 03:34, Eric Berg wrote: I see that

Re: [Catalyst] Multiple chain sources?

2010-11-22 Thread David Schmidt
On Mon, Nov 22, 2010 at 6:15 AM, Matthew Braid catal...@mdb.id.au wrote: Hi all, Just wondering - is it possible for an action to have multiple chain paths? I'd like my site to have a path like /user/N/profile (/user/N being a chain path, /profile being an end node off that path), but also

Re: [Catalyst] Multiple chain sources?

2010-11-22 Thread David Schmidt
On Mon, Nov 22, 2010 at 9:24 AM, David Schmidt davew...@gmx.at wrote: On Mon, Nov 22, 2010 at 6:15 AM, Matthew Braid catal...@mdb.id.au wrote: Hi all, Just wondering - is it possible for an action to have multiple chain paths? I'd like my site to have a path like /user/N/profile (/user/N

Re: [Catalyst] Trouble using Catalyst::Controller::FormBuilder

2010-11-10 Thread David Schmidt
On Wed, Nov 10, 2010 at 2:37 PM, Eric Berg eb...@bergbrains.com wrote: I'm trying to get Catalyst::Controller::FormBuilder to work, but am running into some problems.  Per the docs, the config should be like this: use base 'Catalyst::Controller::FormBuilder'; But my class is from a brand-new

[Catalyst] error handling (Chain where ajax and non-ajax actions chain off)

2010-11-09 Thread David Schmidt
Hello list Both ajax and non-ajax actions chain off the same action (base_with_id). If an error occurs (like the resource doesn't exist) I detach to '/error404' in my Root Controller. I just introduced the ajax stuff and before that 'error404' simply rendered an error template. Now I'd like to

Re: [Catalyst] error handling (Chain where ajax and non-ajax actions chain off)

2010-11-09 Thread David Schmidt
On Tue, Nov 9, 2010 at 11:38 AM, Eden Cardim edencar...@gmail.com wrote: David == David Schmidt davew...@gmx.at writes:    David Hello list Both ajax and non-ajax actions chain off the same    David action (base_with_id). If an error occurs (like the resource    David doesn't exist) I detach

Re: [Catalyst] myapp_test.pl - running code from the command line

2010-11-03 Thread David Schmidt
On Wed, Nov 3, 2010 at 5:08 AM, Jonathon Soong j...@investmentscience.com.au wrote: Hi guys I am new to Catalyst and have a question :) I'd like the ability to run some of the code of my website from the command line ( a cron job ). Usually this would be achieved by a person logging into

Re: [Catalyst] myapp_test.pl - running code from the command line

2010-11-03 Thread David Schmidt
On Wed, Nov 3, 2010 at 7:40 AM, Jonathon Soong j...@investmentscience.com.au wrote: Hi What kind of code do you actually want to run? Perhaps it would be smarter to put that code into the model and then run a perl script from cron that makes use of that model thus bypassing the HTML

Re: [Catalyst] Has anyone read the book Catalyst 5.8 : The Perl MVCFramework yet?

2010-10-26 Thread David Schmidt
On Tue, Oct 26, 2010 at 8:03 AM, Octavian Rasnita orasn...@gmail.com wrote: IMHO the dispatching is a very important chapter for a web framework, especially for Catalyst that has so many things to offer in this field. And another important thing is to show how Catalyst works alone, without an

[Catalyst] Error handling in Template render

2010-09-30 Thread David Schmidt
If an exception is thrown it's usually put into the $c-error array. When this error happens during rendering this doesn't seem to be the case and I am trying to find out what Catalyst is doing. In my example forward('render') causes the body to be filled with an error array. This is the body

[Catalyst] Re: Error handling in Template render

2010-09-30 Thread David Schmidt
On Thu, Sep 30, 2010 at 8:27 AM, David Schmidt davew...@gmx.at wrote: If an exception is thrown it's usually put into the $c-error array. When this error happens during rendering this doesn't seem to be the case and I am trying to find out what Catalyst is doing. In my example forward

Re: [Catalyst] Reuse of controllers

2010-09-20 Thread David Schmidt
On Mon, Sep 20, 2010 at 4:33 AM, John Romkey rom...@apocalypse.org wrote: On Sep 19, 2010, at 10:02 PM, Pavel A. Karoukin wrote: I started to play more often with Catalyst framework and found that I often need to re-use some controllers logic. What the best DRY way to deal, for example, with

Re: [Catalyst] User management with Catalyst (with email and URLs)

2010-08-26 Thread David Schmidt
On Thu, Aug 26, 2010 at 10:46 AM, daniel.brunkho...@dataport.de wrote: Dear list members, I guess what I am trying to do is a pretty common task for web developers. So I am very astonished that a couple of hours spent searching the Internet didn’t provide me with a good starting point for my

Re: [Catalyst] User management with Catalyst (with email and URLs)

2010-08-26 Thread David Schmidt
-confirmation process? Cheers, Daniel. -Ursprüngliche Nachricht- Von: David Schmidt [mailto:davew...@gmx.at] Gesendet: Donnerstag, 26. August 2010 11:13 An: The elegant MVC web framework Betreff: Re: [Catalyst] User management with Catalyst (with email and URLs) On Thu, Aug 26

Re: [Catalyst] User management with Catalyst (with email and URLs)

2010-08-26 Thread David Schmidt
On Thu, Aug 26, 2010 at 4:34 PM, Bill Moseley mose...@hank.org wrote: On Thu, Aug 26, 2010 at 4:10 AM, David Schmidt davew...@gmx.at wrote: 1) user enters mailaddress and hits submit 2) you generate a digest 3) store digest + mailaddress in model I currently collect info and store

Re: [Catalyst] Catalyst-Plugin-Params-Nested rt 59604

2010-07-28 Thread David Schmidt
On Wed, Jul 28, 2010 at 1:40 AM, Evan Carroll m...@evancarroll.com wrote: Is C:P:P:N still maintained? I filed a bug on CPAN, next day I heard a request for a patch. I provided a patch, and I haven't heard anything back. If any one is maintaining it? Can I get co-maint to apply my patch.

Re: [Catalyst] Handling expired sessions gracefully

2010-07-09 Thread David Schmidt
On Fri, Jul 9, 2010 at 4:55 AM, Toby Corkindale toby.corkind...@strategicdata.com.au wrote: On 09/07/10 00:53, Steve wrote: I've looked in the archives and tutorials but can't seem to find examples of handling expired sessions gracefully. I'm admittedly weak in the area of error checking, but

[Catalyst] Dealing with file uploads

2010-07-01 Thread David Schmidt
Hello list, I updated my wiki cookbook entry today and think the outcome is pretty neat. While it still can be improved here and there I think it's partially advanced stuff for a newbie like me. It contains what I learned about catalyst in the past weeks and I hope it's okay to get a bit more

Re: [Catalyst] Repeatedly creating sessions

2010-06-24 Thread David Schmidt
-- David Schmidt | http://www.fm5.at ___ 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@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Log::Log4perl::Catalyst or Catalyst::Log::Log4perl ?

2010-06-13 Thread David Schmidt
/opw2010/zen-maintenance/ greetings david -- David Schmidt | http://www.fm5.at ___ 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] unrecognized characters

2010-06-13 Thread David Schmidt
://search.cpan.org/dist/Catalyst-Plugin-Unicode/lib/Catalyst/Plugin/Unicode.pm -- David Schmidt | http://www.fm5.at ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] A point of confusion/frustration on chained actions

2010-05-20 Thread David Schmidt
___ 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@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- David Schmidt | http

[Catalyst] REST Controller + ajax(jquery) with file upload

2010-05-18 Thread David Schmidt
Hello everybody, I am experimenting with Catalyst::Controller::REST and jquery. The goal is to create a Controller that handles media resources (= upload a file + text input). Catalyst::Controller::Resources pretty much does what I want. Problem: Since I cannot seem to upload a file with a

Re: [Catalyst] HTML editor plugin

2010-02-03 Thread David Schmidt
On Wed, Feb 3, 2010 at 2:32 PM, Denny 2...@denny.me wrote: On Wed, 2010-02-03 at 07:02 -0600, Paul Falbe wrote: I'm looking to create a little app to edit/create HTML strings to store in a mysql table.  These strings are going to be displayed on a web page for annoucements for a youth baseball

Re: [Catalyst] Login as another user ...

2010-01-18 Thread David Schmidt
On Mon, Jan 18, 2010 at 11:34 AM, Kiffin Gish kiffin.g...@planet.nl wrote: As system administrator who has root access to everything, I want to be able to login as another user from my dashboard page. What's the best way to achieve this? I tried $c-authenticate without a password, but this

Re: [Catalyst] Enabling debug mode with fastcgi..

2010-01-18 Thread David Schmidt
: 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/ -- David Schmidt | http://www.fm5.at ___ List: Catalyst

Re: [Catalyst] C::P::Authentication, force user authentication

2009-12-29 Thread David Schmidt
-set_authenticated( $user, $realmname ) (given that it works, never tested it) Id go with the latter for at least its documented. -- David Schmidt | http://www.fm5.at ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

[Catalyst] C::P::Authentication, force user authentication

2009-12-28 Thread David Schmidt
Hello When a user lost his password I send a digest by email. If he enters this digest I want to automatically authenticate the user so he can edit his password. I only found this method but it says in the docs you shouldn't use it in your code as it is an internal function only.

Re: [Catalyst] C::P::Authentication, force user authentication

2009-12-28 Thread David Schmidt
On Mon, Dec 28, 2009 at 4:53 PM, J. Shirley jshir...@gmail.com wrote: On Mon, Dec 28, 2009 at 7:13 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 28 Dec 2009, at 09:16, Ben van Staveren wrote: Warning: I use this myself, it seems to work, but it's a hack. YMMV. Standard disclaimer applies.

[Catalyst] Deploying with apache/fastcgi

2009-12-19 Thread David Schmidt
Hello list I followed the deployment instructions in the cat book to run my app on apache2 with fastcgi. I do get a 500 internal error msg and the appache error log says: [Sat Dec 19 10:25:47 2009] [error] [client 78.142.165.159] FastCGI: incomplete headers (0 bytes) received from server

[Catalyst] Re: Deploying with apache/fastcgi

2009-12-19 Thread David Schmidt
On Sat, Dec 19, 2009 at 11:38 AM, David Schmidt davew...@gmx.at wrote: Hello list I followed the deployment instructions in the cat book to run my app on apache2 with fastcgi. I do get a 500 internal error msg and the appache error log says: [Sat Dec 19 10:25:47 2009] [error] [client

Re: [Catalyst] does detach cancel forward

2009-11-07 Thread David Schmidt
site: http://dev.catalyst.perl.org/ -- David Schmidt | http://www.fm5.at ___ 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

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

2009-03-29 Thread David Schmidt
On Sat, Mar 28, 2009 at 12:59 PM, David Schmidt davew...@gmx.at wrote: Hello everyone I've just upgraded Catalyst from 5.7015 to 5.71001. If I start my project development server it loads but upon requesting any page I get the error: Caught exception in MyApp::View::myEmail-process Can't

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

2009-03-29 Thread David Schmidt
On Sun, Mar 29, 2009 at 3:00 PM, Jason Galea li...@eightdegrees.com.au wrote: 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

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

2009-03-28 Thread David Schmidt
Hello everyone I've just upgraded Catalyst from 5.7015 to 5.71001. If I start my project development server it loads but upon requesting any page I get the error: Caught exception in MyApp::View::myEmail-process Can't send email without a valid email structure at

Re: [Catalyst] Catalyst::Controller::DBIC::Transaction Integration

2009-03-16 Thread David Schmidt
, Carl Franks fireart...@gmail.com wrote: 2009/3/16 David Schmidt davew...@gmx.at: Hello list, I need to put all DBIC Operations in an action into a transaction and thought the use of http://search.cpan.org/~druoso/Catalyst-Controller-DBIC-Transaction-0.3/lib/Catalyst/Controller/DBIC

Re: [Catalyst] command in Catalyst tute part 4 for generating schema files (static creation) using DBIx::Class::TimeStamp needs to be updated

2009-03-15 Thread David Schmidt
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- David Schmidt | http://www.fm5.at ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman

Re: [Catalyst] Re: OT: Better TT pager?

2009-01-22 Thread David Schmidt
=[% c.request.uri_with( page = pager.last_page() )-%] gt;gt;/a [% END -%] /div div [% IF pager.total_entries() 0 -%] [% pager.total_entries() -%] pictures found | Showing page b[% pager.current_page() -%]/b of [% pager.last_page() -%] [% END -%] /div Works fine so far. david -- David

Re: [Catalyst] edit has_many relation with FormFu

2008-10-27 Thread David Schmidt
: position with friendly greetings David Schmidt What does the rest of formfu_create.yml contain? I've seen the same problem. I vaguely recall needing a model_config section in the formfu config, something like this (as a perl hash): { type = 'Fieldset', legend='Plant Zones

Re: [Catalyst] edit has_many relation with FormFu

2008-10-27 Thread David Schmidt
On Mon, Oct 27, 2008 at 10:23 AM, David Schmidt [EMAIL PROTECTED] wrote: Hello and thanks for your reply. I tried adding model_config before but it didn't change anything. Here is a full formfu_create.yml listing: indicator: submit elements: - type: Text name: title label: Title

[Catalyst] edit has_many relation with FormFu

2008-10-24 Thread David Schmidt
name: picture_id - type: Text label: Position name: position with friendly greetings David Schmidt -- David Schmidt | http://www.fm5.at ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman