[Catalyst] Legacy porting to auto-authenticate a logged in user

2007-12-22 Thread Ashley Pond V
I have what I first thought was a gimme (this is only tangentially related to the questions I asked a few days ago; same app, different DB and part). Legacy porting of a login with Authenticate where I already have the user id and everything verified. I have tried many permutations of

RE: [Catalyst] Legacy porting to auto-authenticate a logged in user

2007-12-22 Thread Peter Edwards
Try $c-authenticate({ acctid = $user-username, password = $user-password }) or die RC_403: . $user-username . failed to authenticate; Regards, Peter -Original Message- From: Ashley Pond V [mailto:[EMAIL PROTECTED] Sent: 22 December 2007 08:08 To:

Re: [Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-22 Thread Kieren Diment
On 23 Dec 2007, at 01:06, kevin montuori wrote: obCatalyst: let me add that if you use emacs :| you could define a little function like: (defun ii-insert-catalyst-url () (interactive) (let ((path (read-from-minibuffer URI: ))) (insert (format a href=\[%%

[Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-22 Thread kevin montuori
KD == Kieren Diment [EMAIL PROTECTED] writes: KD On 23 Dec 2007, at 01:06, kevin montuori wrote: (add-hook 'html-mode-hook KD well tt-mode would be more sensible. my mileage varied. the font-locking of TT keywords would be ok but the the completion, indention, and validation

Re: [Catalyst] [OT] ASP.NET MVC#

2007-12-22 Thread Zbigniew Lukasiak
On Dec 21, 2007 10:22 PM, Daniel McBrearty [EMAIL PROTECTED] wrote: i'm not completely following the new syntax that you are proposing, so please forgive if I am wide of the mark here ... but ... IMO the existing syntax is really not *that* bad - the only mild crit I have is that Args()