n they probably shouldn't be in there
tweaking the config in the first place. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
Catalyst mailing list
[EMAIL PROTECTED]
http://lists.rawmode.org/mailman/listinfo/catalyst
ML to generate my httpd.conf. It's stuffed in
there with the rest of the application configuration.
--
Bill Moseley
[EMAIL PROTECTED]
___
Catalyst mailing list
[EMAIL PROTECTED]
http://lists.rawmode.org/mailman/listinfo/catalyst
I'm using htmldoc for generating some pdf pages, but I now need to
generate labels. Anyone used/tried the PDF::Labels modules on CPAN?
(Seems like there's two with thes same name).
I need to print name tags (with graphics) and also generate sheet mailing
labels.
--
Bill Mose
ase} );
Where "DB" is the CDBI base class and new() sets up the parameters
from the application config and calls connection();
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.o
/Catalyst/Engine/Apache.pm
I think there's some duplication in the SSL detection between
prepare_connection and prepare_path. I'll look again when I have
more time.
Patch attached...again.
--
Bill Moseley
[EMAIL PR
27;t forked each fcgi process compiles the
application and it was taking 45 seconds or so to restart the server.
My guess was that fcgi was just timing out.
Anyway, I upgraded the server and moved to mod_perl and all those
problems went away.
--
m:
http://lists.template-toolkit.org/pipermail/templates/2006-July/thread.html#8815
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.
Any tricks to get SQL::Abstract to setup MySQL's fulltext search:
MATCH (foo,bar) AGAINST ('+word -notword' IN BOOLEAN MODE)
with proper bind parameters?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
svn update every few
minutes (e.g. perhaps a post-commit script)?
[1] I downloaded a Mac subversion GUI client. Seemed to take a
somewhat easy process (command line svn) and make it very complex.
--
Bill Moseley
[EMAIL PROTECTED]
___
Li
ps so
seems like wouldn't matter where they are.
Thanks for your comments, Perrin.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail
On Thu, Sep 14, 2006 at 02:29:18PM -0400, Perrin Harkins wrote:
> On Thu, 2006-09-14 at 11:22 -0700, Bill Moseley wrote:
> > On Thu, Sep 14, 2006 at 01:45:39PM -0400, Perrin Harkins wrote:
> > > TortoiseSVN is pretty nice, and should be similar enough to FTP for them
> >
fields when they hit submit, but if they used the
login on the side-navigation it worked fine. Of course, it's the same
form on both pages -- generated by the same template:
[% PROCESS includes/login_form %]
so it's bit of a mystery why one form
on_type' );
field('Organization Active', 'active');
field('Member Of Groups', 'groups' );
field('Parent Organization', 'parent_organization' );
field('Contact Person', 'contact');
field(
est/update on my form's unique
token than C::P::RequestToken provides.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http:
t
redisplay the original page's output. That sounds like trouble.
Geeze, if people double click on submit buttons and can get past the
javascript then they get what they deserve. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@li
don't get what they deserve -- which is the
output from the first request. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
gt; } else {
> $c->update_session_cookie( $c->make_session_cookie(
> $c->sessionid, expires => 0 ) );
> }
> }
> ---
> I bet there is something wrong. anyone can give me a hand?
> Thanks.
For one thing, 1 is
urrent user,
and a few other bits of common data I find useful when reading th
logs. Those go to stderr and apache writes those to the error log
and is rotated with logrotate.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.
, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Encoding: deflate
Content-Length: 2642
Content-Type: text/html; charset=utf-8
^^ Response ^^
The live form is at https://infopeople.org/login
--
Bill Moseley
[EMAIL PROTECTED]
__
users have never posted a form before in
SSL mode. It's not like I'm doing anything that complex in these
forms. Very odd.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mai
e same machine) to the test server and that
seemed to also help with this problem.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
s should be in Catalyst::Engine (or maybe
C::Engine::Apache and similar engines need to inherit from the CGI engine).
Otherwise that code needs to be duplicated in the other engines.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
ng, staging, production) that can
override the default settings. Changes from the defaults are passed
in environment variables from this script.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.
em links by
style them differently.
The TT badger book has a chapter on building menus that you might find
helpful.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
he resize
> with CSS and JS.
Shouldn't this do the trick?
width: 100%;
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www
/XS/XS.so
local/lib/perl/5.8.4/auto/Time/Piece/Piece.so
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
On Mon, Oct 30, 2006 at 04:04:09PM +0100, A. Pagaltzis wrote:
> * Bill Moseley <[EMAIL PROTECTED]> [2006-10-30 16:00]:
> > One disadvantage of generating packages for distributions is
> > that users without root access (such as on shared hosting)
> > cannot install the
r to keep one cat-in-a-box
type tarball up to date than try and keep a collection of packages for
different operating systems up to date. Plus, it's not limited to
those with root.
It was just nice being able to untar my perl lib on my new Dreamhost
account and have my app
App
directory I have:
$ls -1
Controller
Form
Menu
Model
View
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http
s and javascript dynamically generated?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
ever
thought it would save me any time to have automatic form generation.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.co
;);
field(form, 'phone', 'Phone', 'Please include area code');
'';
'Account Information';
'';
END;
END;
--
Bill Moseley
[EMAIL PROTECTED]
___
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
> >
#x27;t want to track down every template that might be
introducing leading blank lines, then how about removing the leading
space from $c->res->body for that specific $c->res->conent_type in an
end action?
--
Bill Moseley
[EMAIL PROTECTED]
es->content_type =~ /xhtml+xml/ ) {
my $body = $c->res->body;
$body =~ s/^\s+//;
$c->res->body( $body );
}
Do all browsers accept application/xhtml+xml these days? I thought I
remembered seeing something
x27;t there still need to be a decode() or layer set some place when moving
the
utf8 data into perl?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
the ones who's dues
paid for the ad in the first place.
What was that organization that did all those TCO reports for
Microsoft?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mail
just override one
or a few templates when needed. May not be useful outside my
application.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
here the fix should be -- but I was getting a lot of
wide character warnings in my logs.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
o get
> > it to stop. =)
> I just saw that, although 0.07 did not fix the problem, the latest
> versions of Email::Send, Email::MIME and Email::MIME::Creator did the
> trick.
.07 removes that invalid check of "To":
http://dev.catalyst.perl.org/changeset/5885/trunk/Catal
ms that need access to the database, such as
cron jobs, use that directory to access the model code.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: h
on
completes. I don't want to send out a confirmation email until I know
the database transaction is complete, and that mail might get
generated inside a nested transaction.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Li
coding specifics for
the ajax calls. It's the standard recommendation to write the code
for non-ajax usage, then add that behavior on page load. And, then I
divide my templates into small enough parts that can be used for ajax
and non-ajax calls based on how the request comes in.
--
Bill
f8() for the
body. Then pass an array reference to the "parts" part when calling
$c->email.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catal
email templates.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
;
}
search_options parses out the parameters from the request -- $option
is basically:
$options->{class}->search( $options->{criteria} )
kind of thing. Then ajax_search() does the query and uses a template
to format for the auto-complete javascript. paged_list() is just a
metho
7;d avoid
> reinventing the wheel if at all possible.
I use htmldoc to generate a few pdfs. It's quick and easy.
http://www.htmldoc.org/
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.ra
Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod...ok
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http:/
ing modules that the CPAN mirror has tampered
> with. Although in this case, gpg is just confused. Do you run CPAN as
> root (you don't need to anymore)?
I do run CPAN as root. What do I need to do -- setup sudo for CPAN?
I was more bitching about the dependencies, of course.
might need to wrap to a second page I'd
need a better way to generate pdfs.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.m
Catalyst::Plugin::Scheduler |grep yml
$c->config->{scheduler}->{yaml_file} ||= $c->path_to('scheduler.yml');
is $APP_HOME/scheduler.yml.
existence of a file called C in your application's home
Looks like "scheduler.yml".
--
Bill Moseley
[EMAIL P
cludes
the port.
It should pull the port from X-Forwarded-Host, IIRC.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive
rs on your back-end Catalyst and see what
the front end is sending to make sure the port is included.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive:
w in the logs?
I just started up my front/back server on my host "bumby" with the
front end listening on 8080 (the back end listens to 18080).
I added this to a template:
uri = c.uri_for('/');
"uri = [$uri]\n" | stderr;
And in my logs I have:
uri = [http:
nd I have a crude "diff" view
using Algorithm::Diff. I have a table that holds the history of the
content and use triggers to write to it on update.
Is this how you are (or would) do this?
--
Bill Moseley
[EMAIL PROTECTED]
___
Li
ate_by integer REFERENCES person,
CONSTRAINT one_current_template UNIQUE( path, current )
);
create index template_path ON template ( path );
create index template_current ON template ( current );
And maybe a "current_template" view class and overrid
, and so on. And maybe a boolean to indicate if a node is
a leaf node.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.c
ogged down by
> all the historical data in the same table.
I'm not too worried about that at this point. I've currently got
about 500 templates. So if each template had 100 edits which seems
unlikely) that's still a small table. Plu
I started out using a FastCGI
setup but restarts were taking a long time (seemed every FastCGI
process had to compile the application). I moved to mod_perl and
much happier now.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.o
that. Are you hitting the database very
hard? Complex joins? Are your pages very complex?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://w
nt end
server proxies the same path to the backend. How does the backend
know to make a http or https url with uri_for()?
What I do is have the Cat application listen on different ports so the
Cat application knows if it was an ssl request based on the port the
request comes
wn Template::Provider in keep
in my App's lib directory:
http://hank.org/Provider.pm
http://hank.org/Provider.diff (against cvs two days ago)
Should be a drop-in replacement for the default provider.
--
Bill Moseley
[EMAIL PROTECTED]
r work place.
This sounds different from what the OP commented on (since they are
able to log in), but there is a bug related to SSL and IE that causes
IE to send an empty body:
http://support.microsoft.com/default.aspx?kbid=831167
--
Bill Moseley
[EMA
though the error log
shows "File does not exist" seems like the request is being served.
Anyway, just a bit odd so I'm wondering if anyone else is seeing
things like this in their logs.
Apache/2.0.54 (Debian GNU/Linux) mod_perl/2.0.2 Perl/v5.8.4
--
Bill Moseley
[EMAIL PROTECTED]
e_body() throw an error if a content-length header is
found for GET requests?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://w
: yes
Regex('^training/webcasts/webcast_data/(\d+)(/?index.html)?$')
matches:
../186/index.html : yes
../186/foo.html : yes
../186/ : yes
../186 : yes
--
Bill Moseley
h()
method:
Request = /training/webcasts/webcast_data/162/foo.html
Checking [training/webcasts/webcast_data/162/foo.html]
Checking [training/webcasts/webcast_data/162]
*MATCHED*
So that's why it's matchine when I don't want it to match.
--
Bill Moseley
[EMAIL PROTECTED
On Thu, Mar 01, 2007 at 04:13:05PM -0800, Bill Moseley wrote:
> Seems that Catalyst first tries to match the full path, then tries to
> match a reduced path. Adding a bit of debugging to Regex.pm's match()
> method:
>
> Request = /training/webcasts/webcast_data/162/foo.ht
ngs.
Is the answer Hash::Merge? Or does Catalyst have anything to help
here?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-a
ey};
if ( ref $value eq 'HASH' ) {
$config->{$key} ||= {};
$self->deep_merge( $config->{$key}, $value );
} else {
$config->{$key} = $value;
}
}
}
--
Bill Moseley
[EMAIL PROTECTED]
__
ig ) {
$self->_config->{$key} = $val;
}
}
return $self->_config;
}
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable arc
s a bottle neck then optimization would be most
welcome.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
On Fri, Mar 09, 2007 at 11:34:14AM -0600, Dave Rolsky wrote:
> On Fri, 9 Mar 2007, Bill Moseley wrote:
>
> >I just checked and on some pages I'm calling uri_for a few hundred
> >times. If that's a bottle neck then optimization would be most
> >welcome.
>
gt; can't find the time zone.
> Is there anything I can do to install this Catalyst Plugin under Windows?
What does that plugin offer over the standard DateTime module?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.
e_vars {
my ( $self, $c ) = @_;
my $cvar = $self->config->{CATALYST_VAR};
defined $cvar
? ( $cvar => $c )
: (
c=> $c,
base => $c->req->base,
name => $c->config->{name}
)
}
--
Bill Moseley
[EMAIL PROTECTED]
_
e time. That seems to have, for the most part, reduced the
bot submissions.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archi
ng DBD::Pg's pg_enable_utf8?
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
e screen and on e-mail. I
> like those complete scrolling screens
> when something bad happens ...
I would recommend you use a separate process to watch the error log
and send mail.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.raw
the browser to ask for authentication. After
all, the user is not currently authorized to view the page. And the
idea being that the browser would not cache the 4xx response.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listi
ivate actions.
>
> If the docs state that, they're wrong. It's perfectly possible to
> forward to public actions.
When you start up the server in debug mode you can see the private
names for the public paths. So, you forward to the action using it
On Thu, Mar 29, 2007 at 12:40:51PM -0500, Dave Rolsky wrote:
> On Thu, 29 Mar 2007, Bill Moseley wrote:
>
> >This always makes me wish for a 4xx code that could be returned to the
> >client but not force the browser to ask for authentication. After
> >all, the user is not
a select list then the html/template editors can change that
to a radio select if they like without changing how the form is
defined.
As for javascript, I only do limited form validation -- required
fields, and so on. And I feel that's often done better unobtrusively,
as they say. That
('Email', 'email',
'This is required so we can send you promotional spam' );
field('Contact Phone', 'phone',
'Required so we can follow up why you didn't
respond to the spam we s
nd
STDOUT to /dev/null, and then call setsid().
It's interesting this is working for you with mod_perl if you are not
doing the above. But, again, it's been years since I did this.
Hopefully, someone with a bit more knowledge of FastCGI can respond.
--
Bill Moseley
[E
eb document root is not the root of the file system.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.co
On Wed, Apr 11, 2007 at 08:36:52AM -0700, Bill Moseley wrote:
> On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
> > if ( $new_img->write( file => $new_filename ) ) {
> >
> > I tried using "$c->response->redirect( $new_filepath )" but
% USE Dumper %] or other
variations can save a lot of time when dealing with the templates.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-arch
stderr %]
Maybe your View isn't stuffing $c into the stash, or is using a
different name (see C::View::TT).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: [EMAIL PROTECTED]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable arch
guration settings. I'm using a view generated by the catalyst
> helper script.
[%
USE foo = Class( 'Whatever::View::TT' );
USE Dumper; Dumper.dump(foo.config ) | stderr;
%]
--
Bill Moseley
[EMAIL PROTECTED]
___
Lis
On Wed, Apr 18, 2007 at 09:14:40PM +1000, Kieren Diment wrote:
> I think jrockway's original complaint was that the svn/svk model makes
> merging quite difficult and slows down progress which means that new
> features are only released slowly.
Sounds like a feature.
--
Bill
tructure of the
resulting page.
No clue how that works in Seamstress.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ca
ammers can do a lot of damage. I suspect you will be cursing it
later when you have to go back and find all the places to add "| html"
after the fact.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://
be to pass a comment that gets stuffed into the
session (flash).
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive
for( $loc ) : $loc ),
> ( $is_old_proto ? 302 : 303 ),
> );
> }
I was going to say "Quick! Make a plugin on CPAN" but then realized
the above exceeds the line limit for Catalyst plugins. ;)
--
Bill Moseley
[EMAIL PROTECTED]
___
Li
hod = sub { ... }
later:
$self->$private_method( $foo );
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/cat
lidation tools to not be specific to
the web/HTML side of things. The HTML side of the forms are easy, anyway,
and often require hand-customizing. That way the same "forms" can be
used for more than just the web environment.
--
Bill Moseley
[EMAIL PROTECTED]
_
xception
that is not expected and I log the message and send the user a 500 and
a message that they have been a very, very bad user.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/lis
under Catalyst:
sub edit : Local {
my ( $self, $c, $id ) = @_;
$c->update_from_form( $id );
}
Where $c->update_from_form requires the form module and does
everything else the first example does. I commonly do a redirect
if $c->update_from_form ret
Processor form similar
approaches.
--
Bill Moseley
[EMAIL PROTECTED]
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev s
y should your application
bother with using obfuscated ids?
As far as the user is concerned 3,5,7 are abstract ids, just like
84bc3da1b3e33a18e8d5e1bdd7a18d7a is.
Of course, what you want is a method that requires checking that the
user can access the item. Something like
1 - 100 of 164 matches
Mail list logo