You could also try Catalyst::Example::InstantCRUD - it does paging (on
simple tables not on joins - but this should not be difficult to fix).
--
Zbyszek
On 12/31/06, Dennis Daupert [EMAIL PROTECTED] wrote:
Leandro wrote:
Maybe you should try this...
my $page = $c-req-params('page') || '';
From: David Morel [EMAIL PROTECTED]
Catalyst::Controller::FormBuilder is the recommended way to go from now
on.
D.Morel
Why is it recommended?
I am asking because I couldn't install it under Windows.
It depends on Test::WWW::Mechanize::Catalyst. I found this module using ppm,
and I have
On 1/2/07, Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I have tried the following:
perl script/tranzactiibursiere_create.pl model Db DBIC::Schema Db
create=static dbi:mysql:database=intranet root
First, I have seen that this command creates all the class files for each
table, but some of
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-Manifesto.html
I've written a comment in the article suggesting
that this is a pretty major
ommission and that he might want
I tried a few times to figure what continuations are, and why I might
want them, and I never succeeded. I usually like things as simple as
possible ... but I'd still like to get it.
On 1/2/07, John Napiorkowski [EMAIL PROTECTED] wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
On 21 Dec 2006, at 18:05, Michael Reece wrote:
be wary of putting your base controller class in the MyApp/
Controller/ directory, because catalyst will load it as a
controller itself. which sucks if you want to put default
inheritable actions in your base class. i use MyApp/Controller.pm
On 2 Jan 2007, at 14:33, John Napiorkowski wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-
Manifesto.html
I've written a comment in the article suggesting
that this
I took a look, I got it to run, I went ... ah ... now it's silly
questions time ...
1. Where does Reaction score over Cat, as a web framework? I get that
it is domain/interface more than straight MVC ...
2. For the example code, it seems to do the crud style stuff pretty
well - I also get (I
On 23 Dec 2006, at 01:32, Octavian Rasnita wrote:
If the latest version of Catalyst is not working under Windows, I
can say that this framework is not very portable.
I know that I could find workarounds, but I said what I said for
showing some reasons why perl is less and less used.
On 1/2/07, Goetz Bock [EMAIL PROTECTED] wrote:
On Mon, Dec 11 '06 at 10:23, Juan Camacho wrote:
On 12/11/06, Goetz Bock [EMAIL PROTECTED] wrote:
When I build my TT2 Template accourding to the docs, I'm unable to
submit it, as the hidden _submitted field is not generated and
happy new year to all of you.
thanks all for your support. Back to the question, (which I guess, will
irritate some catalyst/perl gurus - but please be patient for learners), I've
been able to add multiple records with PRE assigned values. But that's not my
purpose. I need to add multiple
On 27 Dec 2006, at 15:56, Mark Zealey wrote:
that's cos the database connection has gone away (it happens after
about 20
min) and the DBD driver for you database doesnt have autoreconnect
set. This
is a DBD:: specific thing - the way for mysql databases is to set
mysql_auto_reconnect to
ok, answered my own question, partly. Reaction::Controller isa
Cat::C::Bindlex, which is a Cat::C so I can use a
Reaction::Controller as a souped up Cat::C, I guess ...
On 1/2/07, Daniel McBrearty [EMAIL PROTECTED] wrote:
I took a look, I got it to run, I went ... ah ... now it's silly
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 14:33, John Napiorkowski wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto
here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-
Manifesto.html
--- Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 14:33, John Napiorkowski wrote:
--- Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto
here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-
Manifesto.html
oops, that a typo, sorry, I fixed that one. I realized it right after I sent
the mail. The problem is it does not loop through the html page. this is what i
done, and just the first value got inserted:
my @records;
my $book;
foreach ( $book = (shift @{$c-request-params-{book}})){
On Tue, 2 Jan 2007 15:58:39 Matt S Trout wrote:
we discussed it last week and a solution was posted.
Thanks for that info, Matt, I grabbed the DBIx-Class archive
for December, and found the post.
Please don't ask DBIx::Class questions on the Catalyst list
ok
/dennis
From: Brandon Black [EMAIL PROTECTED]
Are you absolutely sure that your foreign keys are really working in
MySQL? Are you using InnoDB? Did you specify them on a separate line
like FOREIGN KEY (foo) REFERENCES bar (baz) ? Do they exist when
you look at the output of SHOW CREATE TABLE
On Jan 2, 2007, at 7:28 AM, Matt S Trout wrote:
On 21 Dec 2006, at 18:05, Michael Reece wrote:
be wary of putting your base controller class in the MyApp/
Controller/ directory, because catalyst will load it as a
controller itself. which sucks if you want to put default
inheritable
On 29 Dec 2006, at 08:07, Octavian Rasnita wrote:
From: Ash Berlin [EMAIL PROTECTED]
Something else is the case here. If you try $c-user; in a
controller I suspect it will give you same error as from the
template.
As to the exact cause, hard to say, but its something to do with
will things break if i delete the Makefile.PL and define a home in
the config?
if so, then my problem is solved!
On Jan 2, 2007, at 9:26 AM, Chisel Wright wrote:
On Tue, Jan 02, 2007 at 09:18:54AM -0800, Michael Reece wrote:
we do our best to let you organise stuff how -you- want to rather
On 2 Jan 2007, at 17:30, Michael Reece wrote:
aha, it looks like Module::Pluggable was made more useful last
april or so. thanks for the pointer.
Actually, we were using Module::Pluggable::Fast until 5.70. However
muttley was kind enough to help us get rid of that horrific piece of
shit
From: Matt S Trout [EMAIL PROTECTED]
Because we aren't psychic and can't magically solve your windows
installation problems without you ACTUALLY TELLING US WHAT WENT WRONG?
No, wait, I don't think other languages' developers have ESP either :)
Try the Catalyst-Runtime packages from
On Tue, Jan 02, 2007 at 07:42:41PM +0200, Octavian Rasnita wrote:
It gave errors when using $c-user in a controller or a template. When not
using $c-user, the program worked well.
We're making progress. Now about these errors - what do they actually
say?
--
Chisel Wright
e: [EMAIL PROTECTED]
On Tue, Jan 02, 2007 at 09:45:51AM -0800, Michael Reece wrote:
will things break if i delete the Makefile.PL and define a home in
the config?
I honestly don't know - why not rename Makefile.PL, define a home in the
config and see what transpires?
--
Chisel Wright
e: [EMAIL PROTECTED]
w:
On 2 Jan 2007, at 17:42, Octavian Rasnita wrote:
From: Matt S Trout [EMAIL PROTECTED]
Because we aren't psychic and can't magically solve your windows
installation problems without you ACTUALLY TELLING US WHAT WENT
WRONG?
No, wait, I don't think other languages' developers have ESP
On 2 Jan 2007, at 17:45, Michael Reece wrote:
will things break if i delete the Makefile.PL and define a home in
the config?
if so, then my problem is solved!
Nothing should break at all, although if you want to put the home in
the config -file- you'll need to make sure ConfigLoader can
Long story longer, I'm finally working on Mango. This week I'm focusing
on the general bits...auth, roles, sessions, etc.
I'm currently using Store::DBIC to get auth/db up and running. Now that
it is running, I want to ditch the use of Schema classes directly in
favor of a full domain model for
Chisel wrote:
On Tue, Jan 02, 2007 at 07:42:41PM +0200, Octavian Rasnita wrote:
It gave errors when using $c-user in a controller or a template. When
not
using $c-user, the program worked well.
We're making progress. Now about these errors - what do they actually
say?
The errors were
On 30 Dec 2006, at 11:00, Octavian Rasnita wrote:
Hi,
Is it possible to create sub-queries using DBIx?
Yes it is. Ask on the DBIx::Class list and I'm sure you'll get an
answer.
--
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and
On 30 Dec 2006, at 04:32, Nilson Santos Figueiredo Junior wrote:
On 12/29/06, John Napiorkowski [EMAIL PROTECTED] wrote:
So I guess my question is would people like a GWT like
system for Catalyst and if so what would you like to
see in it?
I've been thinking a lot about these sort of things
On Tue, Jan 02, 2007 at 01:10:50PM -0500, [EMAIL PROTECTED] wrote:
The errors were all about not being able to serialize code refs.
Sorry, I think I misread you previous message, and thought you'd
overcome the Tie::Refhash problem, and you were getting new/different
errors.
My bad.
Chisel
On 2 Jan 2007, at 18:03, Christopher H. Laco wrote:
Long story longer, I'm finally working on Mango. This week I'm
focusing
on the general bits...auth, roles, sessions, etc.
I'm currently using Store::DBIC to get auth/db up and running. Now
that
it is running, I want to ditch the use of
On 2 Jan 2007, at 16:12, Daniel McBrearty wrote:
ok, answered my own question, partly. Reaction::Controller isa
Cat::C::Bindlex, which is a Cat::C so I can use a
Reaction::Controller as a souped up Cat::C, I guess ...
Precisely. Reaction drops in happily to any existing Cat app, we've
Chisel wrote:
On Tue, Jan 02, 2007 at 01:10:50PM -0500, [EMAIL PROTECTED]
wrote:
The errors were all about not being able to serialize code refs.
Sorry, I think I misread you previous message, and thought you'd
overcome the Tie::Refhash problem, and you were getting new/different
On Tue, Jan 02, 2007 at 01:37:35PM -0500, [EMAIL PROTECTED] wrote:
Not at all. It wasn't me, it was him
Just after I sent the message I went oh, . that's not the same
poster.
Time for me to step away from the keyboard for a while I think.
--
Chisel Wright
e: [EMAIL PROTECTED]
w:
i am trying to follow the recipe mentioned here:
http://search.cpan.org/~nuffin/Catalyst-Controller-BindLex-0.03/lib/
Catalyst/Controller/BindLex.pm#RECIPES
__PACKAGE__-config-{bindlex}{Param} = sub { $_[0]-req-
params };
after the obvious s/=/=/, i put this line in MyApp/Controller.pm
The only thing to remember is that it expects the I18N plugin to be
loaded since all text is run through that before display
Hmmm. I specifically don't want to use that plugin, as we have our own
version which is similar but different. We may be a bit wrongheaded
about this at the moment, but
Daniel McBrearty wrote:
is there any way that this info can somehow find its way onto the
perldoc ? in big letters at the top ... ?
Might be a good thing to have an MODULES_CURRENT/MODULES_OBSOLETE list,
or ask the module authors to simply note the obsolescence in an updated POD.
--
Joseph
narrowed this down to a failure even with:
package MyApp::Controller;
use base qw/Catalyst::Controller/;
__PACKAGE__-config;
so it does not appear to be related to BindLex, but something about
calling __PACKAGE__-config within the controller base class. i'll
keep digging.
On Jan
* Matt S Trout [EMAIL PROTECTED] [2007-01-02 18:45]:
When you first joined this list you'll have been sent a
message that included a link to
http://catb.org/~esr/faqs/smart-questions.html - I suggest you
go back and read it again, you'll save yourself and the people
generously trying to help
On 2 Jan 2007, at 19:07, Michael Reece wrote:
narrowed this down to a failure even with:
package MyApp::Controller;
use base qw/Catalyst::Controller/;
__PACKAGE__-config;
Try changing the line in Root.pm that does
__PACKAGE__-config-{namespace} = '';
to
__PACKAGE__-config(namespace
Matt S Trout wrote:
Call me a little confused, I am not sure that I properly grasp which one
to use for FormBuilder. For the moment, I am simply going to focus on
the plugin (C::P::FB).
Don't. The plugin's obsolete, undeveloped and has known interoperability
issues.
Incidentally, I wrote
Le 2 janv. 07 à 20:17, Jonathan Rockway a écrit :
Matt S Trout wrote:
Call me a little confused, I am not sure that I properly grasp
which one
to use for FormBuilder. For the moment, I am simply going to
focus on
the plugin (C::P::FB).
Don't. The plugin's obsolete, undeveloped and has
There were a few discussions on the list about that error, even some threads
on the list before I got this problem.
There was a 404 Not Found error, and in Apache's log an error telling
something that from_session was not defined, or something like that, but
with no relation to Tie::RefHash.
OK. It is a good idea to make sure everything in the view goes through
the I18N code, for sure. I'd like to merge what we are doing there
with the cat plugin, but tat can wait ...
next questions, about the Root.pm of the example app ... :
1.
use base 'Reaction::UI::RootController';
use
On 2 Jan 2007, at 20:10, Daniel McBrearty wrote:
OK. It is a good idea to make sure everything in the view goes through
the I18N code, for sure. I'd like to merge what we are doing there
with the cat plugin, but tat can wait ...
next questions, about the Root.pm of the example app ... :
1.
On 02/01/07, Kieren Diment [EMAIL PROTECTED] wrote:
Hey,
There's an article, Web Framework Manifesto here:
http://blog.lostlake.org/index.php?/archives/16-Web-Framework-Manifesto.html
I've written a comment in the article suggesting that this is a pretty
major ommission and that he might
Hi,
I have reported that bug by email, to that address shown on the web page,
because it is more simple that way. (I don't have an account...)
Here is what I wrote:
perl Makefile.pl
The result was Ok.
nmake
The result was ok
nmake test errors.txt
The result was:
D:\usr\bin\perl.exe
Oh, too bad. I have tried installing it under Windows, but I couldn't.
It requires Test::WWW::Mechanize::Catalyst. I have installed this module
using ppm, but if I run it, it breaks with the error telling that
Test::WWW::Mechanize is required but it was not installed.
Test::WWW::Mechanize
Oh yes, I was that who said that I have finally solved the problem, by
installing Tie::RefHash by force, however I am not sure I won't have problems
in the future because of this.
Installing by force, just created 2 files:
lib/Tie/RefHash.pm
and:
lib/auto/Tie/RefHash/.packlist
I don't know,
to be specific, I'm now getting :
Caught exception in Engoi::Controller::Admin-end Can't call method
render on an undefined value at
/home/daniel/work/engoi/trunk/Engoi/script/../lib/Reaction/UI/Window.pm
line 63.
which I guess is caused by the fact that I have not put those
templates ...
On 2 Jan 2007, at 21:26, Daniel McBrearty wrote:
to be specific, I'm now getting :
Caught exception in Engoi::Controller::Admin-end Can't call method
render on an undefined value at
/home/daniel/work/engoi/trunk/Engoi/script/../lib/Reaction/UI/
Window.pm
line 63.
That's failure to find
ok ... but I have /root as my site base (static files), all my
tempates are in /templates ... can I put them in /templates/base
somehow?
On 1/2/07, Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 21:20, Daniel McBrearty wrote:
gotcha. The only part I had to put in Root.pm was the
On 1/2/07, Octavian Rasnita [EMAIL PROTECTED] wrote:
Oh, too bad. I have tried installing it under Windows, but I couldn't.
It requires Test::WWW::Mechanize::Catalyst. I have installed this module
using ppm, but if I run it, it breaks with the error telling that
Test::WWW::Mechanize is required
OK, this is a little odd ...
adding MyApp::View::XHTML.pm
with contents
package Engoi::View::XHTML;
use Reaction::Class;
extends 'Reaction::UI::Renderer::XHTML';
1;
somehow stamps on the config for my TT view, which is in yaml and
looks like this:
View::TToolkit:
INCLUDE_PATH: 'templates'
to give the extra info ...
if I have just my Admin controller with just:
package Engoi::Controller::Admin;
use strict;
use warnings;
#use base 'Catalyst::Controller';
use base 'Reaction::UI::RootController';
use Reaction::Class;
use aliased 'Reaction::UI::ViewPort';
1;
(no actions ...)
and
On 1/2/07, Joe Landman [EMAIL PROTECTED] wrote:
Should we subclass C::C::FB, or put our forms within it? Curious as
to the way you recommend using it.
Create a base controller that sub-classes it and have your individual
controllers inherit from your base.
On 1/2/07, David Morel [EMAIL PROTECTED] wrote:
Le 3 janv. 07 à 00:29, Nilson Santos Figueiredo Junior a écrit :
On 1/2/07, Jonathan Rockway [EMAIL PROTECTED] wrote:
Incidentally, I wrote the chapter of my book on FormBuilder the day
before the Controller was released :) However, updating
* Octavian Rasnita [EMAIL PROTECTED] [2007-01-02 22:10]:
Installing by force, just created 2 files:
lib/Tie/RefHash.pm
and:
lib/auto/Tie/RefHash/.packlist
I don't know, but I think it should also create another files
than these 2.
Huh? Where do you get that idea?
Regards,
--
Aristotle
60 matches
Mail list logo