Re: [Catalyst] Web hosting?

2007-12-17 Thread Shane McEwan
G'day! Jumpline are offering 12 months free VDS hosting at the moment using this coupon: https://ssl.jumpline.com/order/?c=3UFWOTHC I'm just about to have a go setting up my first hosted Catalyst app on there to see if it works. I figure if I can't get it going in their environment at least I'm

[Catalyst] sending email with attachment

2007-12-17 Thread Michael Higgins
How are others out there doing this? My application serves a .pdf file directly, but I'd like to send as an email attachment to the account as well. Looking at Catalyst/View/Email/Template.pm in the 'TO DO' section, There needs to be a method to support attachments... So, are there any

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Daniel McBrearty
The chained thing is probably the single most useful thing in cat IMO (if it's possible to even make such a dumb call ;) The way I have come to see it (it took a while, reading discussions here helped me grasp this) is that the way you design your URI space is very very fundamental to design of a

[Catalyst] Create and store new cookie

2007-12-17 Thread Emmanuel Quevillon
Hi list, I would like to be able to create and store new cookie(s) for user display options for my application. I am currently using C::P::Session::Store::Cooke to store the user session but I would like to add a new cookie. I am trying by setting in one of my Controller sub a cookie like

RE: [Catalyst] sending email with attachment

2007-12-17 Thread Hartmaier Alexander
It's a view, not a plugin! View::Email can send attachments, for View::Email::Template you need to create the MIME part with MIME::Creator yourself atm. Patches are welcome ;-) -Alex -Original Message- From: Ash Berlin [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 4:48 PM

Re: [Catalyst] sending email with attachment

2007-12-17 Thread J. Shirley
On Dec 17, 2007 8:44 AM, Hartmaier Alexander [EMAIL PROTECTED] wrote: It's a view, not a plugin! View::Email can send attachments, for View::Email::Template you need to create the MIME part with MIME::Creator yourself atm. Patches are welcome ;-) -Alex -Original Message-

[Catalyst] Permission Denied??

2007-12-17 Thread Emily Heureux
Hi, I have an instance of an object in my Catalyst application called $MP_Model. I have been using it successfully to call its methods until today, when I received a 'permission denied' message: Caught exception in Play::Controller::Maths-m_summarypg Cannot open file:Permission denied and from

Re: [Catalyst] no role configuration found -- authorization: dbic and DBI::Schema::Loader

2007-12-17 Thread Ashley Pond V
I backed up to a simple test script, got easier to find errors, and found the trouble with what I was doing. __PACKAGE__-many_to_many(roles = 'user_roles', 'name'); needed to be __PACKAGE__-many_to_many(roles = 'user_roles', 'role'); and a corresponding many_to_many in Role.pm

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Christopher H. Laco
I'm still holding hopes for: Chained('../') -=Chris signature.asc Description: OpenPGP digital signature ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Zbigniew Lukasiak
On Dec 17, 2007 4:03 PM, Daniel McBrearty [EMAIL PROTECTED] wrote: The chained thing is probably the single most useful thing in cat IMO (if it's possible to even make such a dumb call ;) The way I have come to see it (it took a while, reading discussions here helped me grasp this) is that

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Matt S Trout
On Mon, Dec 17, 2007 at 07:31:21AM -0800, John Napiorkowski wrote: Yeah, the main configuration is definitely the right place to be maintain centralized routing and to more cleanly separate the URI namespace. Just that as you say, it's not clear to people when they first start probably

Re: [Catalyst] RE: Permission Denied??

2007-12-17 Thread Matt S Trout
On Mon, Dec 17, 2007 at 10:32:55AM -0800, Emily Heureux wrote: Never mind, it doesn't have to do with Catalyst. You also forgot to start a new threaad so nobody saw the original message anyway. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] retrieving multiple values from forms

2007-12-17 Thread Andrew Rodland
On Monday 17 December 2007 03:01:53 pm Matt S Trout wrote: On Sat, Dec 15, 2007 at 01:10:52PM -0600, Andrew Rodland wrote: See the perldoc for Catalyst::Request -- the 'param' method comes in handy here. @values = $c-req-param('whatever'); No it doesn't. That method is there for

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread John Napiorkowski
--- Matt S Trout [EMAIL PROTECTED] wrote: On Mon, Dec 17, 2007 at 07:31:21AM -0800, John Napiorkowski wrote: Yeah, the main configuration is definitely the right place to be maintain centralized routing and to more cleanly separate the URI namespace. Just that as you say, it's not

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Daniel McBrearty
I'd love to *get* reaction, but last time I tried (admittedly a long time back) I had to scrape my brains off the ceiling ... (and I don't really have enough to go round for that kind of thing) ... ___ List: Catalyst@lists.scsys.co.uk Listinfo:

[Catalyst] Re: retrieving multiple values from forms

2007-12-17 Thread A. Pagaltzis
* Andrew Rodland [EMAIL PROTECTED] [2007-12-17 22:40]: On Monday 17 December 2007 03:01:53 pm Matt S Trout wrote: On Sat, Dec 15, 2007 at 01:10:52PM -0600, Andrew Rodland wrote: See the perldoc for Catalyst::Request -- the 'param' method comes in handy here. @values =

Re: [Catalyst] Re: retrieving multiple values from forms

2007-12-17 Thread Andrew Rodland
On Monday 17 December 2007 05:27:46 pm A. Pagaltzis wrote: The *sane* thing is neither. The sane thing is to have *TWO* methods, one that *always* returns a scalar, and one that *always* returns a list. (Or rather, an arrayref, because if it’s just a list, it is easy to improperly treat it

Re: [Catalyst] [OT] ASP.NET MVC#

2007-12-17 Thread Matt S Trout
On Mon, Dec 17, 2007 at 08:39:29PM +, Zbigniew Lukasiak wrote: Yeah - some time ago I proposed to add an EndPoint attribute and get rid of the CaptureArgs one that is not very intuitive (and use Args in both cases). I don't remember seeing the code - if you update your patch to work

[Catalyst] Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm

2007-12-17 Thread Michael Higgins
PANIC!!! So, the gentoo overlay installation is altered like: dev-perl/Catalyst-Authentication-Store-DBIx-Class !dev-perl/Catalyst-Plugin-Authentication-Store-DBIx-Class !dev-perl/Catalyst-Plugin-Authentication-Store-DBIC Okay... no more 'Plugin' or 'DBIC' anymore, it seems. Then I did find

Re: [Catalyst] Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm

2007-12-17 Thread Michael Higgins
On Mon, 17 Dec 2007 21:03:52 -0800 Michael Higgins [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 20:09:23 -0800 Michael Higgins [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 20:47:20 -0700 Jay K [EMAIL PROTECTED] wrote: Hi Michael, Unfortunately the Tutorial is a bit out of