user_role_user_field: user_id
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive
to sendmail and letting
the local MTA handle the relay to the smarthost, then the mail would
simply be queued until the mail server was available again.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
is
deciding that since you didn't specify a content-type, it's going to
default to text/plain.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http
}
) {
$descriptions{ $url } = $desc;
}
}
return \%descriptions;
}
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http
, and it looks like it's
going to take a while to wrap my brain around it, so if anyone has
suggestions on how to implement this (or reasons that it's a very bad
idea) I'd love to hear them...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
sending bad
passwords for people they don't like.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo
...
package MyApp::Controller::Admin;
use strict;
use warnings;
use base qw( Admin::Base );
sub base : Chained('/') PathPart('admin') Args(0) {}
1;
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
will have
the same effect...
use IPC::Run qw( run );
run( script/myapp_server.pl, 'pty', \$in, 'pty', $out_and_err );
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst
the
condition that disables it. Just put this in the controller class...
sub register_actions {
my ( $self, $c ) = @_;
if ( ! $c-debug ) { return }
return $self-SUPER::register_actions( $c );
}
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying
-Ajax-0.701/
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail
/
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
/Build.PL or
by figuring out where the libraries are installed, but that may not
be the correct location for your root directory. Take a look at
Catalyst::Utils for the home method to see how it figures it out...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying
On Jun 26, 2007, at 12:45 PM, Brian Kirkbride wrote:
Jason Kohles wrote:
On Jun 25, 2007, at 1:27 PM, Evaldas Imbrasas wrote:
Yes, that's what I meant, thanks Brian. Please provide a code
example
using RenderView action. I think it would also make sense to
incorporate that example
(I can see other webservers
on this machine).
It does bind everything by default, if you can't access it from
another host I'd
start by looking at things like hostbased-firewalls on your development
machine...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves
::Schema::Author',
'author', {join_type = 'left'});
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http
that are provided to TT by default...
package MyApp::View::TT;
sub template_vars {
my ( $self, $c ) = @_;
my %vars = $self-SUPER::template_vars( $c );
$vars{ 'ttconfig' } = $self-config;
return %vars;
}
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com
On Apr 2, 2007, at 5:39 PM, Jim Spath wrote:
Jim Spath wrote:
Jason Kohles wrote:
On Apr 2, 2007, at 4:13 PM, Jim Spath wrote:
I wanted to get rid of the Please come back later error page,
so I defined my own finalize_error() in MyApp.pm as mentioned in
this post:
http://www.mail
( 'Template::Exception' ) ) {
die Rendering template failed! ($body);
}
$c-email(
header = [
To = $result-params-{email},
Subject = 'User Registration',
],
body = $body,
);
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com
.
finalize_error is called long after the view processing has already
been done, if you want to use a template to put a page there, you
have to build your own Template object and process the template
yourself.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing
(or at least I couldn't figure out how at the time I needed
to do it)...
$c-model( 'MyModel' )-schema-storage-dbh-do( NOTIFY
update_listener );
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
the
default), then you can do this...
Model::DBIC:
schema_class: MyApp::Schema::DBIC
connect_info:
- dbi:mysql:opendevil;mysql_read_default_file=__path_to
(configfile.cfg)__
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
be a good option for a debugging example...
DEBUG = 'dirs',
DEBUG_FORMAT = '!-- $file line $line: [% $text %] --',
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst
) {
if ( ! defined $vars{ $x } ) { $vars{ $x } = q{} }
}
return %vars;
}
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
|
+-
+--+
'-
+--'
And I don't seem to be able to get any chained actions working unless
they are chained to a specific path...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
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 documentation specifically mentioning this
use, I can't
instead of {bar}.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
of the world must change?
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
anything to do with the name of the module...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
to happen if you ever attempt to run your
application under the debugger when you have a package named 'DB'.
I'd recommend using a different name...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
::Schema::MemberRole;
__PACKAGE__-add_columns( qw/member_role_id member_role_created
member_id role_id/ );
__PACKAGE__-config(
authorization = {
dbic = {
user_role_user_field = 'member_alias',
},
},
);
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com
the namespace with not
one, but two useless methods (that do the exact same thing, no less)
and gains nothing from being a plugin, it could very easily have been
a module (in fact, take a look at the source, it does almost nothing
anyway).
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com
subversion, and in the .pod it's literally C???, so it appears
it is supposed to be like that, and I don't get the point either...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List
( 'myDB::Author' )-get_column( 'last_name' )-all;
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
.
You've misunderstood what it means when it says it 'only works with
Private', it means that if you have a sub like this:
sub foo : Path('bar') { }
Then the ACL can only be addressed by the name 'foo', not 'bar'.
There is no reason to split your functions up like this.
--
Jason Kohles
|
'
+---'
And the output to the browser is just index.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
|
'
+---'
And the output to the browser is just index.
This seems to happen with any chained action where the pathpart is
'', in the full application I have other
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
On Feb 7, 2007, at 11:30 AM, Peter Karman wrote:
Jason Kohles scribbled on 2/6/07 8:33 AM:
It still feels a little kludgy, but this is how I'm doing it
currently...
[...]
fwiw, that is pretty close to how
http://search.cpan.org/~tigris/Catalyst-Plugin-Breadcrumbs-5/lib/
Catalyst/Plugin
. I didn't have time
to look into it any deeper than that though...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org
and on for the last
three or four days, it's been driving me crazy...
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
IN site.breadcrumbs %]
[% IF loop.last %]
[% title or template.title or item.label %]
[% ELSE %]
a href=[% item.uri %][% item.label %]/a gt;gt;
[% END %]
[% END %]
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
with $c-user-map_user_role.
--
Jason Kohles
[EMAIL PROTECTED]
http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive
On Nov 8, 2006, at 10:10 AM, Bill Moseley wrote:
On Wed, Nov 08, 2006 at 08:18:49AM -0500, Jason Kohles wrote:
site/wrapper:
[%
IF template.name.match('\.(css|js|txt)') OR nowrap OR
template.nowrap;
debug(Passing page through as text: $template.name);
content;
Is your css
by using $c-{ 'stash' }-{ 'nowrap' } = 1 in your controller method, or by putting [% META nowrap = 1 %] in the template itself. -- Jason Kohles[EMAIL PROTECTED]http://www.jasonkohles.com/"A witty saying proves nothing." -- Voltaire ___
List: Catalyst@li
h the Path::Class::File object that path_to is going to return,use $c-path_to(qw/root customer signup.tt2/)-stringify instead.-- Jason Kohles[EMAIL PROTECTED]http://www.jasonkohles.com/"A witty saying proves nothing." -- Voltaire __
'perldoc Template':
Caching and Compiling Options
CACHE_SIZE
Maximum number of compiled templates to cache in memory (default:
undef - cache all)
--
Jason Kohles
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
that were passed to make_counties_widget, which is why they
don't make any sense, and why the context is being passed as a second
argument.
--
Jason Kohles
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
('Reset');
return $w;
}
--
Jason Kohles
[EMAIL PROTECTED] - http://www.jasonkohles.com/
A witty saying proves nothing. -- Voltaire
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive
On 8/30/06, Matt S Trout [EMAIL PROTECTED] wrote:
On 30/08/06, Jason Kohles [EMAIL PROTECTED] wrote:
On 8/29/06, Matt S Trout [EMAIL PROTECTED] wrote:
If somebody could write this up for Engine::FastCGI in the form of a
patch I'm sure it could ship in 5.7002
I started
48 matches
Mail list logo