[Catalyst] Foreign keys and DBIC

2007-02-22 Thread RA Jones
Hi folks, I'm not getting it with foreign keys in DBIC. For example, table users has a column called location_id, which pulls the location from the locations table like so: select u.user, l.location from users u, locations l where u.location_id = l.location_id A location has many users, so

Re: [Catalyst] C::C::FormBuilder + TT2

2007-02-22 Thread Juan Camacho
On 2/22/07, Ferruccio Zamuner <[EMAIL PROTECTED]> wrote: Ferruccio Zamuner wrote: > Hi > > I'm using TTSite and it renders forms if I call from TT2 [% > form.render %], it doesn't when I try to construct custom form template. > What am I missing? > [% formbuilder.field.myfield.field %] is ok! >

RE: [Catalyst] Re: "You have been automatically logged out."

2007-02-22 Thread Dylan Vanderhoof
> Better yet, actually unwind processing and start over with the > unserialised request, pretending it was the one that had just > happened. That way you achieve such magic as seamless processing > of uploads across session timeouts. > Oohhh, that would be nifty. Anybody wanna shed some light o

Re: [Catalyst] C::C::FormBuilder + TT2

2007-02-22 Thread Ferruccio Zamuner
Ferruccio Zamuner wrote: Hi I'm using TTSite and it renders forms if I call from TT2 [% form.render %], it doesn't when I try to construct custom form template. What am I missing? [% formbuilder.field.myfield.field %] is ok! Another question about Catalyst and FormBuilder: On latest FormBu

[Catalyst] Re: "You have been automatically logged out."

2007-02-22 Thread A. Pagaltzis
* Jonathan Rockway <[EMAIL PROTECTED]> [2007-02-21 18:25]: > It's probably worth it for someone to write an abstraction that > automates this: > > 1) Session expired; save $c->req->params and the intended >action That’s not enough. Basically you need to serialise the request, lock, stock and

[Catalyst] Re: "You have been automatically logged out."

2007-02-22 Thread A. Pagaltzis
* J. Shirley <[EMAIL PROTECTED]> [2007-02-21 18:10]: > That isn't an automated logout system, in which he specifically > asked for a solution for. An automated logout system either works by expiring the session on the server or it doesn’t work. (Though it might seem like it does.) You can use Jav