[Catalyst] [Beginner] How to get 'Chained' to work`?

2010-04-15 Thread Johannes Kilian
Hi there, I'm pretty at the beginning of understanding how catalyst works - and have a problem to figure out the chaining mechanism ... I've got a simple basic catalyst project with only the root controller - containing the following code: --- sub base_method : Chained('/') PathPart('test') Capt

Re: [Catalyst] [Beginner] How to get 'Chained' to work`?

2010-04-15 Thread Johannes Kilian
ubtlety is what tells the dispatcher that this > is the last link in the chain. > > Steve > > > > On 4/15/2010 8:24 AM, Johannes Kilian wrote: >> Hi there, >> >> I'm pretty at the beginning of understanding how catalyst works - and >> have a problem

Re: [Catalyst] [Beginner] How to get 'Chained' to work`?

2010-04-19 Thread Johannes Kilian
hrieb Tomas Doran: > Johannes Kilian wrote: >> Thank you - that was the problem ... >> >> It's difficult to find a documented entry to this >> (Chained/Args/CaptureArgs ...) with (nearly) zero knowledge. > > Can you tell us where you tried to look for the info,

[Catalyst] Questions with Authentication/Authorization

2011-11-24 Thread Johannes Kilian
Hi, As a beginner with Catalyst authentication I've got a few questions on which I'm struggling at the moment: Starting situation: * I've got to authenticate the user against a database to get the role (each user only can have ONE role) In my database there are two tables: USERINFO - containi

Re: [Catalyst] Questions with Authentication/Authorization [FINAL SOLUTION]

2011-12-13 Thread Johannes Kilian
Hello, just for completeness the "final" solution. Tomas Doran [bobtf...@bobtfish.net] wrote: >The best solution is to subclass >Catalyst::Authentication::Store::DBIx::Class::User in your application (as >MyApp::User or whatever), then re-implement the 'roles' method to do the right >thing for

[Catalyst] (no subject)

2012-02-28 Thread Johannes Kilian
Hi, I've got following question concerning views: I want to provide an XML-View which provides "standard" XML-Files using XML::Simple in almost any case. Just in some cases I want to provide specialized XML-Files. In other words: I want to use XML::Simple as default handler - which is override

[Catalyst] (no subject) - XML-Views: Using XML-Simple ...

2012-03-04 Thread Johannes Kilian
Hi there, first of all: sorry for using no topic on my initial mail - I changed this now ... On 28 Feb 2012, at 13:03, Johannes Kilian wrote: >> Hi, >> >> I've got following question concerning views: I want to provide an >> XML-View which provides "standa

[Catalyst] Using external URLs?

2012-04-11 Thread Johannes Kilian
Hi there, I've got a probably simple question, but cannot figure it out yet. I'm using Template::Toolkit and Catalyst - and I'm having problems with absolute URLs ... Within my Template I have the following absolute URL: blabla After processing the Template (via Catalyst::View::TT) my previous

RE: [Catalyst] Using external URLs?

2012-04-11 Thread Johannes Kilian
Hi all, I don't dare to confress - but I have to ... ;-) Me idiot: I only had a singel forward-slash after "http:" instead of double forward slashes! Sometimes I'm really blind ... Mea culpa. Thanks anyway Johannes -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!

[Catalyst] Error: "You requested a stash, but one does not exist"

2015-02-23 Thread Johannes Kilian
Hi there,   I just set up a new virtual machine with WinServer 2012. I've installed Strawberry Perl 5.20.1 and installed all needed modules from CPAN.   My Catalyst-Application starts up correctly (no error seen) as Catalyst Standalone Server. Trying to access via Webbrowser (http://localhost:3

Re: [Catalyst] Error: "You requested a stash, but one does not exist"

2015-02-24 Thread Johannes Kilian
Hello John,   On Monday, February 23, 2015, John Napiorkowski wrote: ...The likely reason is that about 9 months ago the stash was moved to the middleware layer, which makes it context bound and you are asking for the stash in application scope     Yes - you are right. Completly forgot

[Catalyst] How to specify port of Catalyst::Scriptrunner permanently?

2015-02-24 Thread Johannes Kilian
Hi there,   Situation: I want to run my Catalyst app on a Windows-Server as a service (via script app_server.pl / Catalyst::Scriptrunner). Doing so, I'm unfortunatly not able to specify the http-port via commandline.   Question: Is there an alternative method to specify to port for Catalyst::S