Re: [Catalyst] using XML files to configure Catalyst

2010-03-04 Thread Kieren Diment
done http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=13006 On 04/03/2010, at 8:57 PM, Aaron Trevena wrote: Hi all, I couldn't find a full/complete example of configuring Catalyst with XML in the docs for ConfigLoader, Catalyst or anywhere.. eventually after reading through

Re: [Catalyst] Check session expiry without extending it

2010-03-04 Thread Peter Karman
Bill Moseley wrote on 03/04/2010 08:39 AM: The developer explained that the AJAX session check was needed to prevent a user from making a lot of changes in the client that could not be saved due to a an expires session. Not sure I see the logic there. I've been solving that

Re: [Catalyst] Check session expiry without extending it

2010-03-04 Thread Bill Moseley
On Thu, Mar 4, 2010 at 7:05 AM, Peter Karman pe...@peknet.com wrote: // make sure we are logged in before every xhr request Ext.Ajax.on('beforerequest', function(conn, opts) { if (!AIR.Auth.isAuthenticated()) { AIR.Auth.login(); return false; } return true; }); I

Re: [Catalyst] Check session expiry without extending it

2010-03-04 Thread Ben van Staveren
The way I got around this was by sticking all ajax stuff in a separate controller hierarchy that would return special content based on the request and whether or not the session lived. for json it'd just return a specific flag in the object it'd throw out (which was parsed by a global callback

Re: [Catalyst] Check session expiry without extending it

2010-03-04 Thread Alexander Hartmaier
My solution is to return an error message which includes the link to the login form with Catalyst::Controller::DBIC::API. My ExtJS store class has an exception handler that shows a MessageBox with the error text: exception:function(sender, type, action, options, response, arg) { switch (type)

Re: [Catalyst] using XML files to configure Catalyst

2010-03-04 Thread Kieren Diment
aye aye capn' http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=13008 On 05/03/2010, at 3:29 AM, Aaron Trevena wrote: On 4 March 2010 10:16, Kieren Diment dim...@gmail.com wrote: done http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=13006 Can you amend to

Re: [Catalyst] KiokuDB, MongoDB and the NoSQL thing

2010-03-04 Thread Ash Berlin
On 4 Mar 2010, at 23:38, Darren Duncan wrote: MongoDB specifically represent data with is JSON documents. Not quite true. They are BSON (B = binary) and have specific types for dates, regexps and binary data___ List: Catalyst@lists.scsys.co.uk

[Catalyst] Which C::View::PDF should I use?

2010-03-04 Thread Charlie Garrison
Good afternoon, Both of these seem to be almost identical. Catalyst::View::PDF::Reuse Catalyst::View::PDF::API2 Is one better to use than the other? C::V::PDF::API2 has been updated more recently, but other than that I can't see why I would choose one over the other. Or is really a