A. Pagaltzis wrote:
* Javier E. Perez P. [EMAIL PROTECTED] [2007-09-23 10:20]:
i already change the http header content_type to text/xml
Don’t use `text/xml`, it is broken for numerous esoteric reasons,
mostly to do with encodings. The easiest completely correct thing
you can do is to use
A. Pagaltzis wrote:
* Ash Berlin [EMAIL PROTECTED] [2007-09-25 19:20]:
Since its XUL and this is Firefox only, thats okay. But as a
general point, ISTR application/xml is hideously broken with IE
Do you remember anything about how that would be? I know of no
such problem.
Regards,
Its
Bernhard Graf wrote:
Hi all,
I wanted to check out latest Mojomojo from CPAN, but got several
failures in the installation:
[snip]
- t/c/page_edit.t fails test #4 and #6 because the order of the expected
HTML attributes is not the same (expects
Simon Wilcox wrote:
Matt S Trout wrote:
On Thu, Sep 13, 2007 at 03:14:58PM +0100, Ian Docherty wrote:
Almost, if I do my $used_password =
$c-model('DBIC::UsedPassword')-result_class-create_limited();
it works. So that should do for now, thanks Simon and Will for your help ;)
No. Don't do
Don't use a DB as the backing store for a message queue if you will ever
need to pass a lot of messages thought it - you're just asking for
trouble doing it that way.
Hartmaier Alexander wrote:
Database table?
-Alex
-Original Message-
From: Jesper Krogh [mailto:[EMAIL PROTECTED]
Matt S Trout wrote:
I'm sick of having to interrupt gabb in .cz every time the list server moves
IP so I'm centralising stuff under an SC domain.
The lists.scsys.co.uk URLs and mail acceptors -should- already work and I'm
not going to turn lists.rawmode.org off just yet but people seem to have
Fernan Aguero wrote:
Hi,
I'd like to overload (or would it be override?) the
merge_session_to_user sub in
Catalyst::Plugin::Session::PerUser to be able to guide the
hash merge (i.e. create new hash value keys for conflicting
keys).
Now, where and how should I do the overriding? Excuse
Alan Spector wrote:
Hi all,
I had a quick question, what is the best way within a Controller to
access a method in another controller? or is it better to put the
method (it's a fetch for data in a particular format) in my Model?
tia,
alan
Oleg Pronin wrote:
Hi.
I would like to use references to variables that have been defined in my
yaml config.
Something like this:
var_dir: var __path_to(var)__
log_dir: log *var/log
log_file: *log/file.txt
This is a feature of YAML 1.0.
But it seems that only *pure* aliases
Oleg Pronin wrote:
I don't even know what those do. Why do you want them?
anchors are used to define an anchor on variable.
*aliases are used to insert previously defined anchor's value.
For example,
root_dir: root /very/long/path/to/root/dir
root_dir2: *root
print
Seems like a bug in Cache::FastMmap. I'll get round to fixing it in my
fork (Cache::FastMmap::With::Win32) - that or get co-maint on the proper
one.
Fancy writing a me a failing test case against either CPAN'd modules?
apv wrote:
I got a small bite by unexpected behavior when setting the
John Goulah wrote:
I am having some trouble in both controller and template code accessing
resultset functions off of chained/related objects (because from what
I'm seeing they are not ResultSets but of the type
MyApp::Model::MyAppDB::Tablename).
For example I can create a ResultSet object
mark wrote:
Exactly; sending the email in end() after the page has been sent off would
not delay the page loading...
Mark
Except that end is before the page has been sent back to the browser.
You would need some kind of hook in what ever engine you are using to
support that. Not a bad idea
Octavian Rasnita wrote:
I also thought that, but I was able to install Cache-FastMmap-1.15 under
Windows. (I found about this version on this list).
http://perlitist.com/static/Cache-FastMmap-1.15.tar.gz
The author has been in touch with me, and I've made the changes he asked
for, so
RA Jones wrote:
Dmitri Pissarenko wrote:
I couldn't find FastMmap.pm via ppm.
How can I fix this error?
You will probably get more authoritative answers, but the problem is
that FastMmap doesn't work under Win32. You can get round it by using
Session::State, Session::Store and
Please sort out your email client to not use such a small font if you
insist on sending html emails.
Ta
Ash
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
Dylan Vanderhoof wrote:
I'm sure there's a better way to do it, but I have some code in
Root-end() that effectivly does (pseudocode):
If( $error !$debug ) {
email_stacktrace();
clear_error();
template = 'default_error.tt';
}
The one problem with doing it like that is that if you die
Mario Minati wrote:
Hello @all,
as you could help me that fast and excellent yesterday I have an other
question to you ;)
What is the best/common practice to get text that might containt html
escapable characters (e. g. '', '') from a form field to catalyst to db and
back to form field?
Jonathan Rockway wrote:
On Friday 09 February 2007 21:03, Greg McAlpin wrote:
Hi.
Trying to install Angerwhale and running into a problem with one of the
tests for Catalyst::Plugin::ConfigLoader::Environment. I hope that it's
okay to post this to this list. I would appreciate any help.
I
Jim Spath wrote:
I was considering using the following module in my Catalyst app.
http://search.cpan.org/~dkubb/CGI-State-0.02/State.pm
Until I saw that it does a use CGI;, the only purpose of which is for
the creation of a CGI object if you don't pass one in.
So I went ahead and wrote a
Jim Spath wrote:
In the docs for Catalyst::View::TT and Catalyst::Plugin::Email, it
suggests using $c-view('TT')-render() for the rendering of email
templates.
My issue is that I created my Catalyst view with TTSite as described in
the CatalystBasics tutorial, and when I call the render
Jason Gottshall wrote:
In using chained dispatch, I found that getting URIs for specific
endpoints felt a bit clumsy:
package MyApp::C::Foo;
sub get_foo : Chained('/') PathPart('foo') CaptureArgs(0) {}
sub do_bar : Chained('foo') PathPart('bar') Args(2) {}
package MyApp::C::Qux
[EMAIL PROTECTED] wrote:
[snip]
which unfortunately Template::Latex does not yet do!
Have you emailed the author with a patch?
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
Octavian Rasnita wrote:
Hi,
I want to get some messages from a database using DBIx::Class, then to
pass them to TT, but I also want to make some preformatting before
sending to TT.
(I don't know if TT can do what I want).
I did:
@messages = $c-model(Db::Forum)-search({
id_room = $id_room,
Xavier Robin wrote:
Hello all,
I'm sorry if it is the wrong list, but I thought it was more a
Catalyst-specific issue than a DBIx::Class one, as it is about the way
Catalyst uses DBIx::Class.
I would like to use transactions in Catalyst.
my $transaction = $c-model('MyAppDB')-storage;
Michael Reece wrote:
$c-uri_for() is great and all, but i usually am more interested in
getting a uri for an action rather than a uri to a template (or public
path).
(incidentally, i feel uri_for would be better named uri_to, and the sub
below named uri_for, but i digress.)
the following
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
authentication setup.
Aha, so
Alexandre Jousset wrote:
Hello dear list,
I'm currently in the early stage of writing a Catalyst application
(in fact redesigning a non-Catalyst one) and I'm wondering what plugins
to use.
I've already written Catalyst applications successfully but for this
one I've decided
Octavian Rasnita wrote:
From: Hermida, Leandro [EMAIL PROTECTED]
Are you using IE? Run your test server with the -k switch (i.e.
script/myapp_server.pl -k). You can read in previous Catalyst threads
that IE has a cookie setting problem and won't login properly if you
don't enable keep-alive
Mark Zealey wrote:
Hi there,
I'm basically wanting to write a simple log function which logs hits on my
website as entries in a database (automatically adding $c-user-{id} and
$c-req-referrer etc), but to do so I want to use a model (I think). Any
ideas how I can just say
Xavier Robin wrote:
Hello,
I want to save uploaded files in a directory specific for the user (using the
user_id). For example, the files of user 326 would be saved in
directory /root/files/3/2/6/.
I use Catalyst::Model::File to do this. It's really great!
I configured it to store files in
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
luke devon wrote:
Hi ,
Does catalyst act as a mobile - wap frame work ? I've found very
interesting java frame work which handle a wap portal's functions very well.
http://www.morfeo-project.net/index.php?option=com_contenttask=viewid=25Itemid=43lang=en
but , i'm still searching for a perl or
apv wrote:
I'm probably about to write a sub-class of
Catalyst::Plugin::Static::Simple which writes the file to disk on the
first request. The reason is I like to have all my extra static files
(images, media, css, etc) in the same bundle as the application but I
also want to let Apache serve
Xavier Robin wrote:
Hello,
I have the following table defined in a PostgreSQL database:
CREATE TABLE test_table (
id SERIAL PRIMARY KEY,
column1 INTEGER REFERENCES test_table2,
column2 INTEGER UNIQUE NOT NULL REFERENCES test_table3
);
I have set up MYAPPDB::TestTable with the
Matt S Trout wrote:
Hermida, Leandro wrote:
What would people recommend as a naming convention and namespace setup
if one wanted to
eventually use more than one model inside of the same Catalyst app?
I tend to use
MyApp::Library - book+author DB
MyApp::Forum - forum DB
MyApp::Web - Catalyst
Cédric Bouvier wrote:
I have a ѕimple yet thorny problem, which I expect most of you also have
or had. It has several possible solutions, but I'm chiefly interested in
knowing how *you* would solve it and why.
We're developing a Catalyst application. It serves HTML, CSS,
JavaScript, and images.
[EMAIL PROTECTED] wrote:
I hesitate to ask this question because it seems to often result in
some juvenille flame war. Everyone is different, with different needs
and preferences. That's why we have choices. It's Perl after all,
right? [grin]
With that out of the way, what IDE or editor
Ivan Wills wrote:
Hi,
I'm using Catalyst::View::TT to display my pages. I'm having trouble
removing excess blank lines appearing at the top of my files.
I realise this is not normally a problem but I am playing with mixing
SVG and XHTML (with content-type=text/xhtml) but Firefox considers the
John Napiorkowski wrote:
--- Ash Berlin [EMAIL PROTECTED] wrote:
This has been discussed before, tho a fully
satisfactory solution never
appeared. Something that we touched upon that could
work was to have a
stack of actions which been used/hit in the chain -
though this wouldn't
help when
Carl Johnstone wrote:
Hi,
Got a question regarding the best way of setting up handlers.
The site is split into many areas (and subareas) defined by URL path,
the same types of content appear in each area of the site.
There's stuff that needs setting up that's specific to the area of the
Jonathan Rockway wrote:
Anyone try anything like this:
http://bec-systems.com/web/content/view/46/9/
with Perl5 and Catalyst? I'd be interested in hearing how it performs.
Regards,
Jonathan Rockway
I've got an embedded nix device that i've been doing some other work
for, and will have to
Hermida, Leandro wrote:
Hello,
Its great to read how fundamentally different in their approach catalyst views are (TT, Mason, ClearSilver, TAL, etc.).
I seem to be leaning on the side of Mason so far because I would like to stick with one powerful language (Perl), even though there is the
Nilson Santos Figueiredo Junior wrote:
On 10/29/06, Ash Berlin [EMAIL PROTECTED] wrote:
If you could all run it through its paces on both Win and *nix and let
me know if there are any problems that would be great.
Unfortunately, it doesn't compile under Win32 with AS Perl 5.8.8
(build 817
Nilson Santos Figueiredo Junior wrote:
..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.exp
mmap_cache.obj : error LNK2019: unresolved external symbol _vsnprintf
referenced
in function __mmc_set_error
..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.dll : fatal error LNK1120:
1 unreso
lved
Ash Berlin wrote:
Nilson Santos Figueiredo Junior wrote:
..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.exp
mmap_cache.obj : error LNK2019: unresolved external symbol _vsnprintf
referenced
in function __mmc_set_error
..\blib\arch\auto\Cache\FastMmap\CImpl\CImpl.dll : fatal error
LNK1120: 1
Marc Logghe wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt S Trout
Sent: Tuesday, October 17, 2006 10:20 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Dispatching question: same path but
different args attributes
Jon Warbrick wrote:
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML
file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in
the documentation somewhere, but if so I've yet to find it...
Jon.
The answer is yes. Strip off Catalyst:: from the
Maybe look at FormBuilder. (?)
Also suggest a situation that is complex then solutions like HTMLWidget
can conveniently cope with and I'll tell you if it is (or will be -
refactor is coming)
Ash Berlin
___
List: Catalyst@lists.rawmode.org
Listinfo
Moritz Sisenop wrote:
Hello!
I am using FormBuilder, CGI::FormBuilder::Source::File, and TT2.
I set the template in the source file:
template:
type: TT2
template: customers/signup.tt2
And get the following error:
undef error - Fatal: file error - customers/signup.tt2: not found
John Napiorkowski wrote:
Hi,
I have a controller with some chained actions. One of
the actions (not an endpoint) will redirect given a
certain value for the arguments. However I find that
this doesn't stop the chain from completing. I still
get a line about the redirect in the log, but
Paul Makepeace wrote:
[+catalyst]
On 8/16/06, Matt S Trout [EMAIL PROTECTED] wrote:
Dominic Mitchell wrote:
David Dorward wrote:
Paul Makepeace wrote:
URI::_query::query_form() which makes query strings:
$self-query(@query ? join('', @query) : undef);
Now as
Catalyst::Model::File:
http://search.cpan.org/~ash/Catalyst-Model-File-0.02/lib/Catalyst/Model/File.pm
Based on Path::Class, so its platform independent.
Any features missing from that that you think you'd want?
Ash
Dylan Vanderhoof wrote:
I've noticed a few people posting about fielsystem
Paul Makepeace wrote:
On 8/1/06, Ted Carnahan [EMAIL PROTECTED] wrote:
Have a look at Catalyst::Plugin::SubRequest.
Ah, great, thanks, that looks like what my snippet was trying to achieve.
That will allow you to
make a completely separate request to a different action, and it
Kevin Old wrote:
On 6/21/06, Eric W. Bates [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have read in the new Catalyst/Manual/Tutorial/CatalystBasics.pod (the
whole tutorial is very nice, btw) that you can invoke DBIC's debugging
inside your code thusly:
Peter Traub wrote:
Hello,
I'm a Catalyst newbie stuck on the tutorial with following problem. In
the Users.pm http://Users.pm file, the login function fails, as the
call to $c-login() gets the following error:
[Thu Jun 22 15:57:00 2006] [catalyst] [error] Caught exception Can't
locate
Peter Traub wrote:
Hi Ash,
Thanks for the reply. I should've mentioned that the top of my app
(tutorial.pm http://tutorial.pm) follows the tutorial directions to
the letter, and thus has:
use Catalyst qw/-Debug Static::Simple Authentication
Authentication::Store::Minimal
57 matches
Mail list logo