[Catalyst] Hangs in RenderView in end

2009-06-28 Thread Gunnar Strand
Hi, I am new to the Catalyst framework and am running Catalyst on Kubuntu Linux using the built-in server with the TT view and DBIC database backend. My problem is that sometimes the end sub in Root.pm hangs. All it has is the RenderView action (as generated by Catalyst), so I assume that is

Re: [Catalyst] Hangs in RenderView in end

2009-06-28 Thread Gunnar Strand
On 28 Jun 2009, at 07:35, Gunnar Strand wrote: [debug] Rendering template users/create_form.tt2 [info] Request took 795.658106s (0.001/s) .+---. | Action | Time

Re: [Catalyst] Hangs in RenderView in end

2009-06-28 Thread Gunnar Strand
Is there any way of running the server in a debugger or to turn tracing on? Can I send a signal to it to get it to dump a stack trace somehow? Any attempt I've made so far just results in nothing or segmentation faults. [...] I don't understand why you're seeing segfaults. What version of

Re: [Catalyst] Hangs in RenderView in end

2009-07-02 Thread Gunnar Strand
command line and prompts for data. KR, Gunnar From: Gunnar Strand gunnarstr...@yahoo.com To: The elegant MVC web framework catalyst@lists.scsys.co.uk Sent: Monday, June 29, 2009 6:39:41 AM Subject: Re: [Catalyst] Hangs in RenderView in end Is there any way

Re: [Catalyst] Hangs in RenderView in end

2009-07-08 Thread Gunnar Strand
fault. hmmm... When you mention TT.pm, do you mean the local TT.pm found in myApp/View/TT.pm or is it the TT.pm belonging to the Template Toolkit package? thanks Regards, Gordon Yeong 2009/7/3 Gunnar Strand gunnarstr...@yahoo.com mailto:gunnarstr

Re: [Catalyst] I18N with quotation marks

2009-07-08 Thread Gunnar Strand
Ton Voon skrev: On 2 Jul 2009, at 09:35, Ton Voon wrote: Does everyone agree this makes sense? If so, any objections if I add this to http://dev.catalystframework.org/wiki/best_practices? I've added a section at http://dev.catalystframework.org/wiki/best_practices now. This includes

Re: [Catalyst] Themes, skins, templates and componentized UI?

2009-07-08 Thread Gunnar Strand
John Napiorkowski skrev: - Original Message From: Gunnar Strand gunnarstr...@yahoo.com [...] I imagine, for instance, a collection of widgets (button, drop-down-list, text field etc) which are reused in the TT templates. A component would then use these widgets as building

Re: [Catalyst] Themes, skins, templates and componentized UI?

2009-07-08 Thread Gunnar Strand
Zbigniew Lukasiak skrev: On Mon, Jul 6, 2009 at 9:55 PM, Gunnar Strandgunnarstr...@yahoo.com wrote: Hi, I am a little new in the web design area. I'm trying to design an application where the view part must be simple to replace by whomever installs it, with elements of their own design.

Re: [Catalyst] I18N with quotation marks

2009-07-08 Thread Gunnar Strand
Cosimo Streppone skrev: Gunnar Strand gunnarstr...@yahoo.com wrote: Ton Voon skrev: Final question: How do you internationalise a bit of text that does want some markup within it? For instance, I want something that outputs: Click a href=/abouthere/a for the about page. Wouldn't you

Re: [Catalyst] Hangs in RenderView in end

2009-07-09 Thread Gunnar Strand
Tomas Doran skrev: On 6 Jul 2009, at 05:33, Gunnar Strand wrote: Wow, that's a fairly unexpected gotcha. Any chance of a doc patch to make it easier for the next poor soul who gets stuck on this? Sure. Where would you like it? A 'NOTES' or 'CAVEATS' section in the POD for Catalyst::View

[Catalyst] Dynamic authorization

2009-07-09 Thread Gunnar Strand
Hi, Most of the authorization schemes appear to aim to allow authorization based on type, so that a certain group of users are allowed to CRUD a specific type of resource, eg. Albums or Artists etc. If a user has access to albums/update then the user can change any album. I have looked at

[Catalyst] How to do pass-through login?

2009-07-09 Thread Gunnar Strand
Hi, I am looking for a way to send users to the login screen if they are trying to access a restricted path, and if the login is valid, the original request should just continue like this: 1. myapp - GET /member/only 2. myapp - /login_form 3. myapp - POST /login 4. myapp - /member/only I

Re: [Catalyst] Dynamic authorization

2009-07-09 Thread Gunnar Strand
Tomas Doran skrev: Gunnar Strand wrote: The table would then be consulted whenever a resource is accessed, and the lookup would be put in a central place, if possible. I've implemented a :Restricted action which handles authentication, and that is where I would try to add

Re: [Catalyst] How to do pass-through login?

2009-07-10 Thread Gunnar Strand
Thanks to all who answered my post regarding pass-through login! It put me on the right track and it works like a charm now. In my solution I have an action, Catalyst::Action::Restricted, which I put on the subroutines which require a logged-in user (:ActionClass('Restricted')). If no user is

Re: [Catalyst] How to do pass-through login?

2009-07-10 Thread Gunnar Strand
Larry Leszczynski skrev: Hi Gunnar - Thanks to all who answered my post regarding pass-through login! It put me on the right track and it works like a charm now. In my solution I have an action, Catalyst::Action::Restricted, which I put on the subroutines which require a logged-in

Re: [Catalyst] How to do pass-through login?

2009-07-12 Thread Gunnar Strand
Tomas Doran skrev: On 10 Jul 2009, at 21:09, Gunnar Strand wrote: Thanks to all who answered my post regarding pass-through login! It put me on the right track and it works like a charm now. In my solution I have an action, Catalyst::Action::Restricted, which I put on the subroutines

[Catalyst] Facebook canvas application in Catalyst

2009-10-15 Thread Gunnar Strand
Hi, I am trying to write a Facebook canvas application in Catalyst using the WWW::Facebook::API plugin and I am tearing my hair trying to get it to work. I have no problems with access to my canvas application from Facebook, but I am unable to use any of the $c-gt;facebook interface methods to