I have them same problem.
resolved, by adding in the Myapp::end() sub, the line:
$c->res->headers->header('Cache-Control' => 'no-cache, max-age=0');
In MyApp.pm:
use Catalyst qw/ Session Session::Store::FastMmap Session::State::Cookie
Authentication Authentication::Sto
I have them same problem. I got MyApp to work with the
Authentication example under firefox. Under IE7 and IE6 no cookies
are set. I have another catalyst example that just uses cookies no
Session Session::Store:FastMmap... etc and those cookies work okay.
Any ideas or known issues(
Daniel McBrearty wrote:
> OK. That does work if I use :
>
> $c->SUPER::email($c, @_);
Don't use SUPER. Don't pass $c twice.
Use NEXT::email(@_) (from NEXT) or next::method(@_) (from Class::C3),
since SUPER and Catalyst don't get along.
Regards,
Jonathan Rockway
# terse because I haven't slept
OK. That does work if I use :
$c->SUPER::email($c, @_);
to call the superclass.
Interestingly, if I use SUPER.pm ... :
package Catalyst::Plugin::EmailTestable;
use strict;
use warnings;
use base qw ( Catalyst::Plugin::Email );
use SUPER;
sub email {
my $c = shift;
my $super = $c->super('em
Daniel McBrearty wrote:
> ... but I'm thinking, how can one plugin inherit from another? $self
> isn't passed ...
Your plugin ISA Catalyst, so instead of $self, you get a $c.
Subclassing should work. $c->next::method(@_) or whatever;
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(
I'm not completely following the action class thing, but the way that
seems most logical to me is to write a plugin C::P::EmailTestable that
subclasses C::P::Email
sub email {
if (my $location = $c->config->{test_email}) {
# write a temporary file into $location, and put the filename on the st
vti wrote:
> Thanks for sharing experience. Have you ever thought about the way to somehow
> distiguish command from param? Like /material/bunch/of/params/:action
>
> But probably ?-way is better then reinventing the wheel. It could be great if
> there were some recomendations on this kind of que
Juan Miguel Paredes wrote:
> Well, just to laugh at myself, I had the same problem after
> transferring the application from laptop to another machine via usb
> flash drive (only directories and files containing all uppercase names
> where copied in lowercase... in my case, it was
> MyApp::View::HT
Well, I did transfer from Linux ext3 to a USB drive that is in FAT32
and then onto the server back into ext3 [1]. This was something that I
had not done before and as Chris and Juan Miguel have mentioned I have
also been a victim of case-change by the USB Drive. In my case, it's
because I created
Robert 'phaylon' Sedlacek wrote:
> vti wrote:
> > Actually I just want to stay in no-?-params style. I really like chaining
> > things when you have something like /material/1232/edit.
>
> And what if you want to edit something named edit?
>
> /material/edit/edit
>
> You could even get around
vti wrote:
> Actually I just want to stay in no-?-params style. I really like chaining
> things when you have something like /material/1232/edit.
And what if you want to edit something named edit?
/material/edit/edit
You could even get around that, but what about viewing something named
123/e
Juan Miguel Paredes wrote:
> Well, just to laugh at myself, I had the same problem after
> transferring the application from laptop to another machine via usb
> flash drive (only directories and files containing all uppercase names
> where copied in lowercase... in my case, it was
> MyApp::View::HT
On Mon, 2006-12-18 at 14:11 +0100, Robert 'phaylon' Sedlacek wrote:
> Wan wrote:
> > hello everyone,
> >
> > I use DBIx::Class in my Catalyst project.
>
> As a note: This is _not_ a Catalyst question! Except that you access
> your model via Catalyst, it is all only DBIx-Class here. DBIC has
> sep
Hermida, Leandro wrote:
>
> > From: vti [mailto:[EMAIL PROTECTED]
> > Subject: [Catalyst] Virtual file system
> >
> > Hello.
> >
> > I was wondering if there is an elegant way to make
> > web-navihation looks like your hard drive. For example I have
> > materials that could be organazied that
On 12/18/06, Alejandro Imass <[EMAIL PROTECTED]> wrote:
Thank You!
That was the problem. I created a soft link with capital TT and it is
now working.
Can anyone explain why this has happened Is this a version
problem? The application is working fine in my development laptop and
_was_ workin
Robert 'phaylon' Sedlacek wrote:
> vti wrote:
>
> > Everything seems like great, but how to organize basic CRUD? For example
> > i want to add material in some 'folder':
> >
> > /materials/personal/.../add
>
> Could you elaborate on why you seem to want to have one action for each
> folder? I'd
Hermida, Leandro a écrit :
> > This brings to mind a related question, is there a module in CPAN which
> > automatically generates a nice collapsable/uncollapsable hierarchical
> > tree view inside a web page automatically from an XML or YAML file?
> >
> > Leandro
HTML::PopupTreeSelect::Dynamic is
Wan wrote:
> hello everyone,
>
> I use DBIx::Class in my Catalyst project.
As a note: This is _not_ a Catalyst question! Except that you access
your model via Catalyst, it is all only DBIx-Class here. DBIC has
separete documentation and a separate mailinglist.
> my $cfg = $c->model('RTDB::Config
vti wrote:
> Everything seems like great, but how to organize basic CRUD? For example
> i want to add material in some 'folder':
>
> /materials/personal/.../add
Could you elaborate on why you seem to want to have one action for each
folder? I'd rather have
/material/view/x/y/z
/material/add
Thank You!
That was the problem. I created a soft link with capital TT and it is
now working.
Can anyone explain why this has happened Is this a version
problem? The application is working fine in my development laptop and
_was_ working fine on this server also. Then all of a sudden it
stopp
> From: vti [mailto:[EMAIL PROTECTED]
> Subject: [Catalyst] Virtual file system
>
> Hello.
>
> I was wondering if there is an elegant way to make
> web-navihation looks like your hard drive. For example I have
> materials that could be organazied that way.
>
> \ root
> -> personal
> ->
hello everyone,
I use DBIx::Class in my Catalyst project.
my $cfg = $c->model('RTDB::Config')->search({Name =>
$c->req->param("name")})->first;
..
$cfg->Name;
$cfg->Value;
I want to get a hash ref that like this
.
$cfg->{Name};
$cfg->{Value};
Thanks for any help
Hello.
I was wondering if there is an elegant way to make web-navihation looks like
your hard drive. For example I have materials that could be organazied that
way.
\ root
-> personal
-> story1
-> story2
-> public
-> ...
-> ..
Where material belongs_to material, and has_m
vdc::View::tt doesn't seem to exist in the files you attached. However, you
do have a vdc::View::TT -- note the capital "T"s.
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://ww
package vdc::View::TT; # I suspect this is why
Alejandro Imass wrote:
Actually, all controllers are failing at the time of rendering the
template.
I have now attached startup debug log, other relevant files. I can put
the whole app for download if required.
The complete Catalyst debug screen c
25 matches
Mail list logo