Re: [Catalyst] Storing Login Information

2007-08-09 Thread Jonas Alves
On 09/08/07, Patrick McDonnell <[EMAIL PROTECTED]> wrote: > Hello - > > I'm working on a Catalyst app, mostly just to amuse myself, that is supposed > to be a webmail/calendar/address book/user account management app. All of > the user account information, as well as the address book, is stored in

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Jonas Alves
On 09/08/07, Pedro Melo <[EMAIL PROTECTED]> wrote: > Hi, > > On Aug 9, 2007, at 10:40 AM, Tatsuhiko Miyagawa wrote: > > > Similarly even if your templates are encoded in utf-8, > > Template-Toolkit doesn't know which encoding they are in, until you > > set BOM to your templates or use Template::Pro

[Catalyst] C::P::C3 not working on Mac OS X

2007-05-08 Thread Jonas Alves
ss ( $c->config->{using_frontend_proxy} ) {... If I dump $c->config it is undefined. I'm using C::P::C3 so I tried to remove it and it worked. I also tried to add C::P::C3 to a newly generated catalyst application and i get the same error. Anyone has any idea why C::P::C3 isn't working in

[Catalyst] Insecure dependency while running a cat app under Apache2

2007-03-26 Thread Jonas Alves
Hi, When I try to run my catalyst app under Apache2 I get this error message: [error] Caught exception in MyApp::Controller::Login->form "Insecure dependency in eval while running setgid at /usr/local/share/perl/5.8.7/CGI/FormBuilder/Field.pm line 412." It runs ok in the development server. Is A

Re: [Catalyst] Anybody using Chained('.') ?

2007-03-13 Thread Jonas Alves
On 13/03/07, Jason Kohles <[EMAIL PROTECTED]> wrote: On Mar 13, 2007, at 10:41 AM, Robert 'phaylon' Sedlacek wrote: Jason Kohles wrote: I'm trying to use Chained('.') to create a controller base class that binds to the namespace of whatever controller class inherits it, but despite the documen

[Catalyst] PATCH - Multiple ActionClass attributes

2007-02-28 Thread Jonas Alves
Hi, I wrote a patch that permits to use multiple ActionClass attributes in a controller action. Here is the synopsys: =head1 USING MULTIPLE ACTIONS To use multiple actions you just need to had more ActionClass attributes: sub Hello :Local :ActionClass('SayBefore') ActionClass('SayAfter') {

[Catalyst] Re: PATCH - Multiple ActionClass attributes

2007-02-28 Thread Jonas Alves
Ups, wrong mailling list. I will resend it to catalyst-dev. ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev

Re: [Catalyst] Reaction Action

2007-02-07 Thread Jonas Alves
On 07/02/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 6 Feb 2007, at 18:21, Jonas Alves wrote: > Hi all, > I'm trying to do a Reaction form to do an advanced search. > This is what I have for now: > > package MyApp::Model::Action::Search; > use Re

[Catalyst] Re: Reaction Action

2007-02-06 Thread Jonas Alves
On 06/02/07, Jonas Alves <[EMAIL PROTECTED]> wrote: Hi all, I'm trying to do a Reaction form to do an advanced search. This is what I have for now: package MyApp::Model::Action::Search; use Reaction::Class; use Reaction::InterfaceModel::Action; class Search is 'Reaction

[Catalyst] Reaction Action

2007-02-06 Thread Jonas Alves
Hi all, I'm trying to do a Reaction form to do an advanced search. This is what I have for now: package MyApp::Model::Action::Search; use Reaction::Class; use Reaction::InterfaceModel::Action; class Search is 'Reaction::InterfaceModel::Action', which { has title => (isa => 'SimpleStr', is

Re: [Catalyst] chained actions, knowing if current action is an endpoint or not

2007-02-01 Thread Jonas Alves
On 01/02/07, Dami Laurent (PJ) <[EMAIL PROTECTED]> wrote: Dear Catalysters, I would like to set up an action chain where the entry point to the chain (first action) has to do different things depending on whether there is another action down the chain or not. Is there a way in the API to ask

Re: [Catalyst] Reaction Authentication

2007-01-29 Thread Jonas Alves
On 28/01/07, Guillermo Roditi <[EMAIL PROTECTED]> wrote: FIXED IT!!! take out the does '...' line and replace it with this: override parameter_hashref => sub{ my $self = shift; my $args = super(); $args->{password} = delete $args->{new_password}; delete $args->{confirm_new_pass

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Jonas Alves
On 25/01/07, Guillermo Roditi <[EMAIL PROTECTED]> wrote: what i meant is that you get new_password and confirm_new password, but you still need the original password field see code for Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword; Yes, but i have the password field in the

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Jonas Alves
On 25/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote: On 25/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: > > > On 25 Jan 2007, at 12:55, Jonas Alves wrote: > > > > > > > On 23/01/07, Guillermo Roditi <[EMAIL PROTECTED]> wrote: Hey, any > &g

Re: [Catalyst] Re: Reaction Widgets questions

2007-01-25 Thread Jonas Alves
On 25/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 25 Jan 2007, at 12:36, Jonas Alves wrote: > > > On 17/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: > On 16 Jan 2007, at 17:07, Jonas Alves wrote: > > As for a controller that limits visible attributes,

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Jonas Alves
On 25/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 25 Jan 2007, at 12:55, Jonas Alves wrote: > > > On 23/01/07, Guillermo Roditi <[EMAIL PROTECTED]> wrote: Hey, any > chance you could post the working code now that you fixed it. > > There is no actual real

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Jonas Alves
On 23/01/07, Guillermo Roditi <[EMAIL PROTECTED]> wrote: Hey, any chance you could post the working code now that you fixed it. There is no actual real working code for reaction out there, and it'd be nice to look at some real code.. in other words, can I see your finished action and controlle

Re: [Catalyst] Re: Reaction Widgets questions

2007-01-25 Thread Jonas Alves
On 17/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 16 Jan 2007, at 17:07, Jonas Alves wrote: > As for a controller that limits visible attributes, are you wanting > to do this for the listview or globally? > > Imagine that i have 2 forms for the same table. One with al

Re: [Catalyst] Re: Reaction Widgets questions

2007-01-16 Thread Jonas Alves
On 16/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 12 Jan 2007, at 18:59, Jonas Alves wrote: > On 12/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote: >> Hi, >> I'm trying Reaction for the first time. I already got it to work >> using >> the CR

Re: [Catalyst] Reaction Authentication

2007-01-16 Thread Jonas Alves
On 16/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: On 15 Jan 2007, at 18:56, Jonas Alves wrote: > > > On 15/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote: On > 14/01/07, Ash Berlin <[EMAIL PROTECTED]> wrote: > Jonas Alves wrote: > > Hi all, > &

Re: [Catalyst] Reaction Authentication

2007-01-15 Thread Jonas Alves
On 15/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote: On 14/01/07, Ash Berlin <[EMAIL PROTECTED]> wrote: > > Jonas Alves wrote: > > Hi all, > > I was starting to put authentication in a Reaction application that > i'm > > developing when I saw that

Re: [Catalyst] Reaction Authentication

2007-01-15 Thread Jonas Alves
On 14/01/07, Ash Berlin <[EMAIL PROTECTED]> wrote: Jonas Alves wrote: > 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

[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; Reaction::InterfaceModel::Action::DBIC::U

[Catalyst] Re: Reaction Widgets questions

2007-01-12 Thread Jonas Alves
On 12/01/07, Jonas Alves <[EMAIL PROTECTED]> wrote: Hi, I'm trying Reaction for the first time. I already got it to work using the CRUDController against some tables i have in a database. Now i'm trying to change the widgets used to display the form. How can i tell Reaction tha

[Catalyst] Reaction Widgets questions

2007-01-12 Thread Jonas Alves
Hi, I'm trying Reaction for the first time. I already got it to work using the CRUDController against some tables i have in a database. Now i'm trying to change the widgets used to display the form. How can i tell Reaction that one field type is a Reaction::UI::ViewPort::Field::* class? I also wan

Re: [Catalyst] schema

2006-12-26 Thread Jonas Alves
my $barneys = $c->model('DB::Person')->search({name => 'barney'}); instead of my $schema = $c->model('DB'); my $barnes = $schema->resultset('Person')->search({name => 'barney'}); And I don't think Model::DBIC::Schema pays attention to the default_model setting. He can use the default_m

Re: [Catalyst] schema

2006-12-24 Thread Jonas Alves
If I write the name of the database in more modules it will be harder to change its name, but now I I think that I could use something like: $c->model($c->config->{db}); and just change the name of the db in the application config. Or you can just use $c->model() and define the "default_model"

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-05 Thread Jonas Alves
On 05/10/06, Jonathan Rockway <[EMAIL PROTECTED]> wrote: > I'll put it in Catalyst svn and fix anything obvious, if you want, but > since I don't actually use the module, I don't want to commit to > maintaining it long term. Hopefully a user will step forward to > maintain it, but if not, I'll de

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-03 Thread Jonas Alves
On 03/10/06, Jon Warbrick <[EMAIL PROTECTED]> wrote: > On Mon, 2 Oct 2006, Matt S Trout wrote: > > > Jon Warbrick wrote: > > > But for some reason my Catalyst::View::MicroMason > > > view, called Lookup::View::MicroMason _isn't_ successfully configured - it > > > behaves as if the extra mixins are

[Catalyst] Fastest Perl HTTPD?

2006-08-26 Thread Jonas Alves
http://use.perl.org/~Matts/journal/30758 -- Jonas ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalys

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-18 Thread Jonas Alves
On 18/08/06, Carl Franks <[EMAIL PROTECTED]> wrote: > On 18/08/06, Jonas Alves <[EMAIL PROTECTED]> wrote: > > On 18/08/06, Carl Franks <[EMAIL PROTECTED]> wrote: > > > > > > If you don't want to manually download the dojo library, it needs >

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-18 Thread Jonas Alves
On 18/08/06, Carl Franks <[EMAIL PROTECTED]> wrote: > On 18/08/06, Kevin Monceaux <[EMAIL PROTECTED]> wrote: > > That would certainly work. But, imagine if a form plugin took care of the > > dirty work for the developer. Let's pretend for a moment. Imagine, if you > > will, that someone integrat