Re: [Catalyst] Best Practices - an application.

2006-09-18 Thread Kieren Diment
On 18/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: sub default : Private { my ( $self, $c ) = @_; # Hello World# $c-response-body( $c-welcome_message ); $c-forward('View::TT');} Don'tforward to View::TT in your default action, that's for end : Private, and doesn't need to be done at all if

Re: [Catalyst] Strange error

2006-09-18 Thread Thomas Klausner
Hi! On Fri, Sep 15, 2006 at 10:47:56AM -0500, Jonathan Rockway wrote: I didn't see a reply to this, so could you please run your app in the debugger and give us a backtrace? Is this a reproduceable bug, or random? If reproduceable, how does one produce the bug? If not, any It appears to be

Re: [Catalyst] Strange error

2006-09-18 Thread Matt S Trout
Thomas Klausner wrote: Hi! On Fri, Sep 15, 2006 at 10:47:56AM -0500, Jonathan Rockway wrote: I didn't see a reply to this, so could you please run your app in the debugger and give us a backtrace? Is this a reproduceable bug, or random? If reproduceable, how does one produce the bug? If

Re: [Catalyst] problem with FormBuilder + TT2

2006-09-18 Thread Ash Berlin
Moritz Sisenop wrote: Hello! I am using FormBuilder, CGI::FormBuilder::Source::File, and TT2. I set the template in the source file: template: type: TT2 template: customers/signup.tt2 And get the following error: undef error - Fatal: file error - customers/signup.tt2: not found

[Catalyst] Redirect and Firefox / Safari

2006-09-18 Thread Jason Crummack
Hi all, I'm using c$-response-redirect in the auto handler of my controller as part of an authentication process but I'm seeing ~ 7 second delays on the redirect in Firefox / Safari browsers, IE works fine for once :-). After further investigation I've found out it only seems to happen when

Re: [Catalyst] problem with FormBuilder + TT2

2006-09-18 Thread John Napiorkowski
-- Ash Berlin [EMAIL PROTECTED] wrote: Moritz Sisenop wrote: Hello! I am using FormBuilder, CGI::FormBuilder::Source::File, and TT2. I set the template in the source file: template: type: TT2 template: customers/signup.tt2 And get the following error: undef error -

Re: [Catalyst] unable to download the catalyst

2006-09-18 Thread Matt S Trout
John Napiorkowski wrote: --- [EMAIL PROTECTED] wrote: hi to every one Iam unable to install the catalyst(Catalyst-Runtime-5.7001.tar.gz). while iam trying to install it is showing this error. ERROR: perl: Version 5.8.0 is installed, but we need version = 5.008001 at

Re: [Catalyst] Strange error

2006-09-18 Thread Jonathan Rockway
It looks like the site is even more broken now, so I'm going to download the code and see if I can reproduce the bug. This will have to wait until tonight (GMT-0600), but I'll keep you posted. Regards, Jonathan Rockway Thomas Klausner wrote: Hi! On Fri, Sep 15, 2006 at 10:47:56AM -0500,

Re: [Catalyst] Strange error

2006-09-18 Thread Thomas Klausner
Hi! On Mon, Sep 18, 2006 at 10:05:01AM -0500, Jonathan Rockway wrote: It looks like the site is even more broken now, so I'm going to download woha, that's what you get for doing changes 2 minuted before having to leave... (+Debug vs -Debug) Now it should work again... the code and see if

[Catalyst] Trouble with Chained Actions and Redirects?

2006-09-18 Thread John Napiorkowski
Hi, I have a controller with some chained actions. One of the actions (not an endpoint) will redirect given a certain value for the arguments. However I find that this doesn't stop the chain from completing. I still get a line about the redirect in the log, but the endpoint in that chain still

Re: [Catalyst] Trouble with Chained Actions and Redirects?

2006-09-18 Thread Ash Berlin
John Napiorkowski wrote: Hi, I have a controller with some chained actions. One of the actions (not an endpoint) will redirect given a certain value for the arguments. However I find that this doesn't stop the chain from completing. I still get a line about the redirect in the log, but

Re: [Catalyst] $c-res-redirect and $c-detach

2006-09-18 Thread John Napiorkowski
--- Ash Berlin [EMAIL PROTECTED] wrote: John Napiorkowski wrote: --- Matt S Trout [EMAIL PROTECTED] wrote: John Napiorkowski wrote: Hi, I have a controller with some chained actions. One of the actions (not an endpoint) will redirect given

Re: [Catalyst] $c-res-redirect and $c-detach

2006-09-18 Thread Bogdan Lucaciu
On Mon, 2006-09-18 at 15:44 -0700, John Napiorkowski wrote: Doing a $c-detach('/end') after the redirect was suggested to me, although I find this can give an error since my default end action looks for a template which is this case doesn't exist. Using the DefaultEnd plugin

Re: [Catalyst] $c-res-redirect and $c-detach

2006-09-18 Thread John Napiorkowski
--- Bogdan Lucaciu [EMAIL PROTECTED] wrote: On Mon, 2006-09-18 at 15:44 -0700, John Napiorkowski wrote: Doing a $c-detach('/end') after the redirect was suggested to me, although I find this can give an error since my default end action looks for a template which is

Re: [Catalyst] $c-res-redirect and $c-detach

2006-09-18 Thread John Napiorkowski
--- Bogdan Lucaciu [EMAIL PROTECTED] wrote: On Mon, 2006-09-18 at 15:44 -0700, John Napiorkowski wrote: Doing a $c-detach('/end') after the redirect was suggested to me, although I find this can give an error since my default end action looks for a template which is

[Catalyst] Question on Authorization

2006-09-18 Thread Nagarajan M
Hi,I have a question on catalyst Authorization. I am having a table which contains both user name and role defined. (one user will have one role only) unlike the example given in the tutorial (three tables user, role, user_role). In my case what should be the yml file or what are the

Re: [Catalyst] Best Practices - an application.

2006-09-18 Thread mnichols
Kieren Diment [EMAIL PROTECTED] writes: On 18/09/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: sub default : Private { my ( $self, $c ) = @_; # Hello World # $c-response-body( $c-welcome_message ); $c-forward('View::TT'); } Don't forward to View::TT in your

Re: [Catalyst] Best Practices - an application.

2006-09-18 Thread mnichols
[EMAIL PROTECTED] writes: Last night I stumbled across a dojo widget that allows a dialog popup to show up called Dialog. I think I'll post my two relevant files ./root/static/javascript/dmu.js and ./root/servers.tt in their current form. This seems to fit the bill pretty well, so I'm going to

Re: [Catalyst] problem with FormBuilder + TT2

2006-09-18 Thread Moritz Sisenop
When I try$c-path_to(qw/root customers signup.tt2/)there is no Catalyst error message anymore. Just a TT one: Not a GLOB reference at /usr/local/lib/perl/5.8.7/Template/Provider.pm line 647. I didn't trywhatJohnrecommendedsinceIwanttokeepmyformdescriptionsandtt-templatesindifferentdirs. Instead