Re: [Catalyst] The optimal captcha

2012-12-17 Thread Derek Wueppelmann
the amount of spam provided by most spam bots. There are others as well. Using a Captcha does provide some advantages but it can also turn people away from actually using the system. -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.mo

[Catalyst] Setting Model Class Variable from Catalyst Config

2011-03-28 Thread Derek Wueppelmann
which one I should modify. Anybody with some suggestions? -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.monkeynet.ca ( ) ` ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/

Re: [Catalyst] Please help with deployment problem

2011-03-17 Thread Derek Wueppelmann
you doing that is causing infinite recursion? What version of URI::SmartURI are you using? Are you installing modules from CPAN or from Debian packages or a mixture? -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.monkeynet.ca ( )

Re: [Catalyst] Catalyst::Component/Model Instances and Attributes per Request

2010-07-12 Thread Derek Wueppelmann
h other requests that are not related to the session. Hopefully that helps. -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.monkeynet.ca ( ) ` ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://l

Re: [Catalyst] FormBuilder: HOWTO make a particular OPTION disabled in a SELECT form?

2010-06-14 Thread Derek Wueppelmann
template is fairly basic. -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.monkeynet.ca ( ) ` ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst S

Re: [Catalyst] go to chained action

2009-12-16 Thread Derek Wueppelmann
ou want an actual redirect you can do something like this: $c->res->redirect($c->uri_for($c->controller('controller')->action_for('action'), [qw(argument)])); $c->detach(); That will work it's way through the chain and should be seamless for the end

Re: [Catalyst] Getting relative path to methods

2009-12-15 Thread Derek Wueppelmann
On Tue, 2009-12-15 at 11:13 -0800, J. Shirley wrote: > $c->uri_for returns a URI object. If you look at the pod there, > you'll see the ->path method which returns exactly what you want. That's just what I was looking for. Thanks. -- o) Derek Wueppelmann

[Catalyst] Getting relative path to methods

2009-12-15 Thread Derek Wueppelmann
ar that provides just the path (/path/to/method)? The reason I want to do it this way is that I have some methods that are submitting to URLS that contain captures. -- o) Derek Wueppelmann (o (D . dwuep...@gmail.com D). ((` http://www.monkeynet.ca ( ) ` ___

Re: [Catalyst] FormFu or FormBuilder

2009-10-30 Thread Derek Wueppelmann
happy with it. There are some things that could be better (being able to read the action from the form config files instead of having to manually set it), but over all it's quite nice. There is also FormBuilder::Multi for when you want to have multiple forms on the same page. -- o)

Re: [Catalyst] Re: Calling Controller Methods from inside begin or auto.

2009-09-30 Thread Derek Wueppelmann
27;t want a URL for one resource to return a 200 yet not > return the response for that URL and instead return a login form. I'm actually doing forwards to my login page right now. So that when a user logs in they can still see the page they were originally trying to view. I capture t

Re: [Catalyst] Re: Calling Controller Methods from inside begin or auto.

2009-09-30 Thread Derek Wueppelmann
) Which has the desired effect. Now all I need to do is if a controller does not require authentication in order to be viewed I override the auth_required method in that controller to return 0 instead of the default 1. -- o) Derek Wueppelmann (o (D . dwuep...@gmail.c

Re: [Catalyst] Multiple Chain Actions

2009-07-17 Thread Derek Wueppelmann
object') ChainedArgs(0) { ... } sub update : Chained('root') PathPart('update') Args(0) { $c->forward(...) } sub update_json : Chained('object') Args(0) { $c->forward(...) } -- o) Derek Wueppelmann (o (D . dwuep...@gma

[Catalyst] Multiple Chain Actions

2009-07-16 Thread Derek Wueppelmann
ame method: /json/object/ID_VALUE/action /object/ID_VALUE/action And then use the initial json chain to determine if I should show the page or show the JSON output. Is this something that is possible? Should I even be using Chaining for this? Any help wou