Re: [Catalyst] Additional scripts accessing the Model and Config?

2012-06-08 Thread Thomas Klausner
Hi! On Fri, Jun 08, 2012 at 02:05:31PM -0400, Luis Muñoz wrote: But still, I would like to have access to the configuration data (for instance, how to setup the database/ldap/whatever Model, etc). Does that happen as well when using the class method? We pack our config (which basically is

Re: [Catalyst] Should I create a new view for rendering a pdf in browser?

2011-11-09 Thread Thomas Klausner
Hi! On Wed, Nov 09, 2011 at 03:59:50PM +0100, Jens Gassmann wrote: I use Catalyst::View::Wkhtmltopdf - maybe Prince is better, but it is not open source like wkhtml. Also Catalyst::View::Wkhtmltopdf supports Template Toolkit and could render your Templates without much modifications. If

Re: [Catalyst] fetching a model instance from a model instance

2011-10-27 Thread Thomas Klausner
Hi! On Thu, Oct 27, 2011 at 08:53:12AM +0200, Dimitar Petrov wrote: Your should put your confirmAndGetUser method into MyApp::Schema::ResultSet::User, like: package MyApp::Schema::Result::User; ^^ shouldn't that be MyApp::Schema::ResultSet::User ? --

Re: [Catalyst] Where to put use

2009-02-18 Thread Thomas Klausner
Hi! On Wed, Feb 18, 2009 at 10:51:06AM +, Dermot wrote: One of my controller is starting to use a lot of other modules like File::Find...etc but they are usually confined to one subroutine or method. It's most common to see all the use statements at the top of the package but I have

[Catalyst] How much chain?

2008-07-11 Thread Thomas Klausner
... do I need to hang myself? I'm (finally) playing around with chained, and like it very much. But now I have some sort of design question, on which I'd like to collect some feedback: Say, you want to edit things. The general way of editing is the same for most things, only the thingies you

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-16 Thread Thomas Klausner
Hi! On Thu, May 15, 2008 at 10:20:23AM -0400, John Goulah wrote: Since these fix tests, will these modules get patched and released with this applied? Hm, actually I only notified Leon about the patches. I will also submit the patches directly to Andy (for WWW::Mechanize) --

Re: [Catalyst] Anybody who fancies some LWP poking ...

2008-05-15 Thread Thomas Klausner
Hi! On Sun, May 11, 2008 at 07:10:27PM +0100, Leon Brocard wrote: 2008/5/10 Daniel McBrearty [EMAIL PROTECTED]: I'd like Leon's opinion on this. Forwarding to him again. I understand many bits of it but have given up trying to get it working. I would love a patch which passes tests on

Re: [Catalyst] uri_for problem

2008-03-05 Thread Thomas Klausner
Hi! On Wed, Mar 05, 2008 at 10:50:07AM +0100, Emmanuel Quevillon wrote: I am trying to build some url from TT using uri_for sub but I encounter some problem with it. When in my tt I have : [%- ourl = Catalyst.uri_for('/search?stype=seqidquery=') -%] when I click on it, I get an url that

Re: [Catalyst] [ANNOUNCE] New plugin: Catalyst::Plugin::Assets

2008-01-31 Thread Thomas Klausner
Hi! On Mon, Jan 21, 2008 at 09:20:54PM -0800, Robert Krimen wrote: On Jan 20, 2008 7:59 PM, Matt S Trout [EMAIL PROTECTED] wrote: You seem to be using an 'assets' config key; please change this to 'Plugin::Assets' and deprecate the old one. We're currently moving the 'core' plugins over