[Catalyst] Reaction Authentication

2007-01-14 Thread Jonas Alves
Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has this classes: Reaction::InterfaceModel::Action::DBIC::Role::CheckUniques; Reaction::InterfaceModel::Action::DBIC::User::ChangePassword;

Re: [Catalyst] changing the port

2007-01-14 Thread Bill Moseley
On Sun, Jan 14, 2007 at 11:28:54AM +0200, Octavian Rasnita wrote: x-forwarded-host I think I could get the port number from this request header, but in that case it would work only if I use the application with a proxy server. That should work. Look at C::Engine::Apache:

[Catalyst] login and C-P-Authentication-Store-DBIC

2007-01-14 Thread vb
I use CDBI - not DBIC - and I have the classical tables User, Role, UserRole (Authentication Authentication::Store::DBIC Authentication::Credential::Password Authorization::Roles) At home I have a Catalyst from Debian, with C::P::Session at Version=12 (and no problem with myApp from the

Re: [Catalyst] changing the port

2007-01-14 Thread Octavian Rasnita
From: Bill Moseley [EMAIL PROTECTED] That should work. Look at C::Engine::Apache: http://dev.catalyst.perl.org/browser/trunk/Catalyst-Engine-Apache/lib/Catalyst/Engine/Apache.pm $host = $c-request-header( 'X-Forwarded-Host' ); if ( $host =~ /^(.+):(\d+)$/ ) { $host

[Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Igor Longagnani
Hi, newbie here... i thought i had understood stash behaviour... but prolly not :) I can use it together with DBIx::Class resultsets and so on, BUT now i would like to put such an hashref $chiavi= { 'ka-111-234-586' = '0', 'ka-90-85-349' = '0', 'ka-5-21-629' = '0',

Re: [Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Chisel Wright
On Sun, Jan 14, 2007 at 07:30:06PM +0100, Igor Longagnani wrote: $chiavi= { 'ka-111-234-586' = '0', 'ka-90-85-349' = '0', 'ka-5-21-629' = '0', 'ka-1-406-194' = '0', 'ka-111-194-479' = '1', 'ka-1-451-540' = '0',

Re: [Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Sébastien Wagener
On Sun, 2007-01-14 at 19:01 +, Ash Berlin wrote: Igor Longagnani wrote: Hi, newbie here... i thought i had understood stash behaviour... but prolly not :) I can use it together with DBIx::Class resultsets and so on, BUT now i would like to put such an hashref $chiavi= {

Re: [Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Igor Longagnani
As supposed i wastoo confused in my question, surely it wont get any better ..anyway let's try :) 1) I am into a controller and I have an hashref that I punt into the stash : $c-stash-{allegati} = $chiavi 2) in the template i wanna print out some of the values of the $chiavi referenced hash 3)

[Catalyst] Catalyst::Model::Xapian usage

2007-01-14 Thread Richard Jolly
Hi, I've been playing with Catalyst::Model::Xapian. Works nicely, but it seems to hide some functionality. I'd like to get information on the match percentage, and that seems to available in Search::Xapian::MSet - but C::M::X uses S::X::Mset::Tied, which hides it. Unless I'm missing

Re: [Catalyst] C::C::FormBuilder

2007-01-14 Thread Juan Camacho
On 1/14/07, Neil de Carteret [EMAIL PROTECTED] wrote: [% field.tag %] Use [% field.field %]. There is a documentation fix not up on CPAN yet. ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

Re: [Catalyst] Catalyst::Model::Xapian usage

2007-01-14 Thread Adam Jacob
On Sun, Jan 14, 2007 at 11:42:03PM +, Richard Jolly wrote: I've been playing with Catalyst::Model::Xapian. Works nicely, but it seems to hide some functionality. I'd like to get information on the match percentage, and that seems to available in Search::Xapian::MSet - but C::M::X uses

Re: [Catalyst] C::C::FormBuilder

2007-01-14 Thread Victor Igumnov
that is for custom JS code you have added. The default javascript code from formbuilder is omitted when you iterate through the fields. Try it out for your self. -Victor On Jan 14, 2007, at 4:12 PM, Juan Camacho wrote: On 1/14/07, Victor Igumnov [EMAIL PROTECTED] wrote: just a heads up