Thanks for your help, but it don't make any difference.
I added some information here, if maybe it will help.
Here is my exact code in the controller :
sub generate_bill : Local {
my ($self, $c ) = @_;
my $vars = ();
my $res;
my $output;
use Template::Latex;
use Templa
On Wed, Nov 08, 2006 at 09:09:15PM -0500, [EMAIL PROTECTED] wrote:
> I finally got through the problems I was having with the MyApp
> tutorial, but now it seems to be missing from CPAN.
>
> Anyone know what happened to them and where they are?
They've been split out (with the rest of the Manual
I finally got through the problems I was having with the MyApp
tutorial, but now it seems to be missing from CPAN.
Anyone know what happened to them and where they are?
Thanks,
Conan.
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.raw
oh... this is a well solution.
Thank you very much ,Jason Kohles
Thanks
to everyone
Mao
Dengfeng
From: Jason Kohles
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006
9:19 PMTo: The elegant MVC web frameworkSubject: Re:
[Catalyst] Can we use both TT and TTsite at the same ti
On 11/8/06, Matt S Trout <[EMAIL PROTECTED]> wrote:
> sub load : Chained('/item') PathPart('') CaptureArgs(1) {
>my ($self, $c, $id) = @_;
my $pre = $c->stash->{prefetches} = {};
$c->stash->{item} = Scalar::Defer::lazy { $c->model('DB')->search(undef,
$pre)->find($id) };
> }
T
Michael Frankl wrote:
Hi,
I have a problem running a catalyst app under apache2/mod_perl2. The app
runs fine with catalyst standalone server. But when I try to run it
under mod_perl on the same machine, i am getting the error below.
The XS version of Scalar::Util isn't loading.
Debug appropri
Nilson Santos Figueiredo Junior wrote:
Lately I've been using chained actions a lot, since it ends up making
everything look cleaner and more organized.
I tend to structure things in a way that I've got some Catalyst
actions that load some items from the database which are the root of
the chai
marcus baker wrote:
In a primarily Perl shop I've joined, Django has become all the rage.
Everyone into it is amazed at the templating capabilities and the
database abstraction layer (...they obviously hadn't really done much
with the Template Toolkit, or even heard of Class::DBI or
DBIx::Class).
Mao DengFeng-e13751 wrote:
Hi,
There is a "-r" argument can make catalyst reload the modules
automatically when some modules were changed.
How to make catalyst can automatically reload in Apache?
Assuming you're talking about a mod_perl production platform, my
recommendation would be "don'
On Wed, Nov 08, 2006 at 09:41:56PM +, Josef Karthauser wrote:
> On Wed, Nov 08, 2006 at 12:13:53PM -0800, Bill Moseley wrote:
> > Well, in my case currently this is all I'd need to do:
> >
> > [% # Template to generate a standard form
> >
> > WRAPPER form_wrapper;
> >
On Wed, Nov 08, 2006 at 10:29:11PM +0100, Zbigniew Lukasiak wrote:
> Answering the question about autogenerating simple CRUD apps - there
> is of course Catalyst::Example::InstantCRUD.
>
> To the arguments that autogenerated CRUD becomes quickly crap I answer
> that it is much easier to modify a w
that error mostly means that it cannot start the script (usually the
myapp_server.pl).
http://dev.catalystframework.org/wiki/SolvedIssues#si.200
basicly is what I had to do. I still use that method to deploy 4 apps
to a hosting company, so I know it works (I just ironed out all the
problem
On Wed, Nov 08, 2006 at 12:13:53PM -0800, Bill Moseley wrote:
> Well, in my case currently this is all I'd need to do:
>
> [% # Template to generate a standard form
>
> WRAPPER form_wrapper;
> FOR f = form.fields;
> field(form, f );
> END;
>
Answering the question about autogenerating simple CRUD apps - there
is of course Catalyst::Example::InstantCRUD.
To the arguments that autogenerated CRUD becomes quickly crap I answer
that it is much easier to modify a working example than to code from
scratch. You have more control of where yo
On Wed, Nov 08, 2006 at 02:46:02PM -0500, marcus baker wrote:
> Having this capability might do well to entice more novice developers
> to Catalyst due to this next step in ease of use and getting a quick
> app running... It seemed to do well for the Rails camp. Hopefully
> from there people would
Hello all,
I am currently working on some fixes to
Catalyst::Plugin::Authentication::Store::DBIC, and there is a fair
amount of hackery in there to make it work with CDBI objects.
My questions are:
1) Is anyone actually using it with CDBI?
2) If so - are you also using the C::P::Authorization:
I saw that a while back. Try upgrading PAR. (It works for me now, with
the latest CPAN version.)
John Napiorkowski wrote:
> Hi,
>
> I've been playing with the PAR module for my
> deployment, following the tutorial, but when I get to
> the "make catalyst_par" part I get a list of output
> with no
I've follow this one:
http://www.catalystframework.org/calendar/2005/6
Works fine!
Luís Azevedo
On Wednesday 08 November 2006 19:35, John Napiorkowski wrote:
> Hi,
>
> I've been playing with the PAR module for my
> deployment, following the tutorial, but when I get to
> the "make catalyst_par" p
"I think you will amot always find that you need to have more control
than any automated form generation will be able to give you."
Not necessarily. I mean for an extensible "real world" web app I
agree, I'd much rather develop these kinds of things with the separate
pertinent and effective tool
Hi,
I've been playing with the PAR module for my
deployment, following the tutorial, but when I get to
the "make catalyst_par" part I get a list of output
with no apparent trouble and then at the end I get:
Writing PAR "reporting.par"
make: *** [catalyst_par] Error 2
Anyone run into that or got
Ian Docherty <[EMAIL PROTECTED]> wrote on 11/08/2006 12:35:04 PM:
> marcus baker wrote:
> > In a primarily Perl shop I've joined, Django has become all the rage.
> > Everyone into it is amazed at the templating capabilities and the
> > database abstraction layer (...they obviously hadn't rea
On Wed, Nov 08, 2006 at 12:28:48PM -0500, marcus baker wrote:
> The one thing about Django that keeps them from looking anywhere else
> is it's ability to create data-editing forms on the fly based on the
> data model. In an attempt to get them to consider Catalyst a little
> more, I was wondering
Yves Räber <[EMAIL PROTECTED]> wrote on 11/08/2006 12:33:09 PM:
> Hi,
>
> I'm trying to use Template::Latex to create PDF files.
>
> My code looks like this :
>
> use Template::Latex;
>
> my $tt = Template::Latex->new({
> INCLUDE_PATH => '/templates',
> OUTPUT_PATH
Hi,
I'm trying to use Template::Latex to create PDF files.
My code looks like this :
use Template::Latex;
my $tt = Template::Latex->new({
INCLUDE_PATH => '/templates',
OUTPUT_PATH => '/tmp/pdf'
LATEX_FORMAT => 'pdf',
});
my $vars = {
title => 'Hello
marcus baker wrote:
In a primarily Perl shop I've joined, Django has become all the rage.
Everyone into it is amazed at the templating capabilities and the
database abstraction layer (...they obviously hadn't really done much
with the Template Toolkit, or even heard of Class::DBI or
DBIx::Class).
A lot of people seem to be using HTML::Widget for forms these days, but
as far as I'm aware no module currently exists that will generate
HTML::Widget forms from the model automatically.
Probably
http://search.cpan.org/~jrobinson/DBIx-Class-WebForm/lib/DBIx/Class/WebForm.pm
is more along the
In a primarily Perl shop I've joined, Django has become all the rage.
Everyone into it is amazed at the templating capabilities and the
database abstraction layer (...they obviously hadn't really done much
with the Template Toolkit, or even heard of Class::DBI or
DBIx::Class). Django's all fine a
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 and javascript dynamically generated?
On Nov 8, 2006, at 12:03 AM, Mao DengFeng-e13751 wrote: Hi, TTsite view is more conenience at most time when create a new page. But TT view is needed in some case. For example, I try to update some part of a page using AJAX. This part is also rendered from a template. If we use TTsite, the header
From: Mao DengFeng-e13751
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006
6:04 AMTo: The elegant MVC web frameworkSubject:
[Catalyst] Can we use both TT and TTsite at the same time
Hi,
TTsite view is
more conenience at most time when create a new pa
30 matches
Mail list logo