Hi,
On Sunday 06 May 2007 15:23, Evan Carroll wrote:
On 5/6/07, Alex Pavlovic [EMAIL PROTECTED] wrote:
Please note that each model will still create single initial connection (
when request for $dbh arrives ). This happens with either approach (
squirreling away a connection in new or ref
On 5/7/07, Alex Pavlovic [EMAIL PROTECTED] wrote:
Well, one way of getting to the $dbh before was through the ACCEPT_CONTEXT
because if you had single Root DBI model, you could just do:
my $dbh = $c-model('Root')-dbh;
This is essentially the way I'm doing it.
from a model that did not
Sorry to break it to you. This still doesn't work.
Caught exception in Dealermade::C::Root-join 21433 different from
21434 at /var/www/Dealermade/script/../lib/Dealermade/C/Root.pm line
71, DATA line 228.
die $c-model('DBI')-dbh-{pg_pid} . ' different from ' .
$c-model('DBI')-dbh-{pg_pid};
RA Jones ha scritto:
Marcello Romani wrote:
Hmm, I tried your code (which afaikt should work) but putting 0,1 or 2
doesn't make any difference in the type or amount of debug messages
the app is emitting.
I'll double check my code and report. Thanks for now.
It looks like your output is
On 5/7/07, Evan Carroll [EMAIL PROTECTED] wrote:
Sorry to break it to you. This still doesn't work.
Caught exception in Dealermade::C::Root-join 21433 different from
21434 at /var/www/Dealermade/script/../lib/Dealermade/C/Root.pm line
71, DATA line 228.
die $c-model('DBI')-dbh-{pg_pid} . '
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the debug option ?
I tried this:
package
RA Jones ha scritto:
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the debug option ?
I tried this:
RA Jones ha scritto:
Marcello Romani wrote:
RA Jones ha scritto:
It looks like your output is showing both debug1 and debug2 levels,
which suggests your fb config settings are not being used. Did you place
That's what I thought too.
Where do you put the debug option ?
I tried this:
hey, it seems that Catalyst::Plugin::PageCache can NOT get along well
with the I18N.
to let the PageCache get along with languages, I patched the PageCache
for a bit.
sub _get_page_cache_key {
my ($c) = @_;
my $key = $c-next::method(@_);
my $langs = $c-languages();
$key .=
Hello!
I have a model class, which has one field of date type.
I'm trying to save data in this field using
my $activity = $c-model('TimeTrackingAppDB::Activity')-create({
...
date = $dateAsString,
});
where $dateAsString contains a string in this format: 28-5-2007.
The date is not saved.
Hello!
Ignore my last question. I found the solution:
http://search.cpan.org/~tonkin/MySQL-DateFormat-1.01/DateFormat.pm
Best regards
Dmitri
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
This header line is automatically created by this code in
Catalyst::finalize_headers():
if ( my $stat = stat $c-response-body ) {
$c-response-content_length( $stat-size );
}
Apparently this assumes that
On Mon, May 07, 2007 at 02:44:01PM +0200, Dmitri Pissarenko wrote:
Hello!
I have a table with activities and each of them has a certain
duration. Each activitiy is assigned to one category.
I want to create a table, in which
a) each category is shown and
b) for each category the sum of
On Fri, May 04, 2007 at 12:34:01PM +0200, Bernhard Graf wrote:
For a Catalyst application I have written View classes that serialize
DBIC ResultSets to common formats (CSV, XML) to be stored to disc.
Since the amount of data can become really big, the views don't set
$c-response-body(),
On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
On Friday 04 May 2007 16:53, Bernhard Graf wrote:
First of all, why are you sending your response from the
controller and not from the view?
???
I think you
On Thu, May 03, 2007 at 06:22:12PM +0100, Anthony Gardner wrote:
Greetings,
I've had a look at Catalyst and RoR from a basic point of view and like both.
I'm also familiar with the concepts of MVC but again, from a basic point of
view. I'm also busy learning design patterns etc.
Shame
On Wed, May 02, 2007 at 08:02:04PM +0400, Oleg Pronin wrote:
You didn't understand what i meant. MyApp::A is not a class. It's a whole
application with all surrounding stuff.
so and MyApp::B.
Ok lets build the question in another manner:
Catalyst scans for all modules under
On Mon, May 07, 2007 at 11:55:59AM +0200, Marcello Romani wrote:
Not only does this work, but I find it more convenient specifying
formbuilder config options in one place rather than in every controller
that uses CCF. Hope it works for you.
Damn, it works!!
I'll re-read the docs, but I
On Tue, May 01, 2007 at 10:53:41PM +0200, Dmitri Pissarenko wrote:
use Catalyst qw/
-Debug
ConfigLoader
Static::Simple
StackTrace
Authentication
Authentication::Store::DBIC
Hello,
Definitely! Everything under /root/static is getting served _as static
content_.
I don't see a reason to install yet another plugin/module to serve
static files.
Greets,
K.
Tobias Kremer wrote:
Hi Dmitri,
I have
a) JavaScript files (*.js) and
b) images,
which I want to use with
I can test the part related to the subject of this thread with great
pleasure.
I'm currently making full-featured dynamic admin interface for catalyst (not
so simple as plugin CRUD :) )
And it will have been loaded as plugin into a project (while this interface
is catalyst project itself).
Yes, your right. I just wanted to start with something simple :)
In two worlds, i want the same effect (visual) like this (in apache config):
Location /
PerlHandler Application_A
/Location
Location /folder
PerlHandler Application_B
/Location
But in this way the program code A
Hi,
Try again, I just commited to svn and uploaded 0.17 into cpan. I made the
$self-_pid($$) init in new ( as per your suggestion ) as well as added some
other code. It seems to work on my machine here:
[error] Caught exception in MyApp::Controller::Root-default 16770 different
from 16770
On 5/7/07, Matt S Trout [EMAIL PROTECTED] wrote:
in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
which component MyApp-level config is for and the 'Controller::FormBuilder'
key that specifies C::C::FB-specific config options within a controller.
The names are
On Mon, 7 May 2007, Alessio Bragadini wrote:
On 7 May 2007, at 00:52, Kieren Diment wrote:
I wrote a little comment to http://avatraxiom.livejournal.com/58084.html
- this post. However, feel free to chime in. I suspect that his view of
perl is rather wrong-headed.
See also
Matt S Trout wrote:
On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
A patch against the svn trunk is attached.
You seem to have only sent half the patch - could you try re-sending
it and make sure the test is attached this time please?
Of course you're right. But I'm not so
Matt S Trout wrote:
On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
Your example is superfluous, because this is what my application
looks like basically.
I think you didn't read the documentation, and are being offensive
Matt S Trout wrote:
Why can't you just set $c-stash(current_view = 'MyCSVView') and let
RenderView work its magic the normal way?
With the help of some helpful people I already came to this solution.
--
Bernhard Graf
___
List:
On Mon, May 07, 2007 at 12:09:49PM -0400, Juan Camacho wrote:
On 5/7/07, Matt S Trout [EMAIL PROTECTED] wrote:
in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
which component MyApp-level config is for and the 'Controller::FormBuilder'
key that specifies
On Mon, May 07, 2007 at 06:58:16PM +0400, Oleg Pronin wrote:
I can test the part related to the subject of this thread with great
pleasure.
I'm currently making full-featured dynamic admin interface for catalyst (not
so simple as plugin CRUD :) )
And it will have been loaded as plugin into
On Mon, May 07, 2007 at 11:31:29PM +0200, Bernhard Graf wrote:
Matt S Trout wrote:
On Fri, May 04, 2007 at 04:24:12PM +0200, Bernhard Graf wrote:
On Friday 04 May 2007 15:58, Bogdan Lucaciu wrote:
Your example is superfluous, because this is what my application
looks like
On Mon, May 07, 2007 at 11:27:26PM +0200, Bernhard Graf wrote:
Matt S Trout wrote:
On Sun, May 06, 2007 at 12:02:51PM +0200, Bernhard Graf wrote:
A patch against the svn trunk is attached.
You seem to have only sent half the patch - could you try re-sending
it and make sure the test
On Mon, May 07, 2007 at 11:40:39AM -0700, Will Smith wrote:
If I stash out the value of $msg, it is an ARRAY(...) . I'm not sure how to
manipulate that.
Buy a copy of Learning Perl.
Or hire a programmer.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
On 5/7/07, Matt S Trout [EMAIL PROTECTED] wrote:
On Mon, May 07, 2007 at 12:09:49PM -0400, Juan Camacho wrote:
On 5/7/07, Matt S Trout [EMAIL PROTECTED] wrote:
in MyApp.pm - you were confusing the 'Controller::Foo' key that specifies
which component MyApp-level config is for and the
Hi,
This email is to inform everyone I had conversation with Evan Caroll on irc
this morning and decision was to revert back to 0.15 ( original C::M::DBI
version ), although the module version has been bumped to 0.18 in both svn
and cpan mirrors.
The reason is, Evan has indicated that the
35 matches
Mail list logo