[Catalyst] problem with Catalyst + FormBuilder + TT2 + keepextras

2007-02-19 Thread Moritz Sisenop
Hello gents, I'm trying to make Catalyst, FormBuilder, and TT2 work together. Everything works fine, except when I use the keepextras option. If I just have [% FormBuilder.render %] in my template keepextras works fine, but if I do the form layout manually in the template, keepextras doesn't

Re: [Catalyst] best way to create a flexible, multiple key, CRUD application?

2007-02-19 Thread Zbigniew Lukasiak
Hi, Just one explanation - the DBSchema.pm you mention in your email is generated by InstantCRUD. The generation part is quite complicated since Jonas Alves added support for the many-to-many relations, but if you just edit the generated files and add the additional primary keys it should work.

[Catalyst] L10N + FormBuilder/HTMLWidget

2007-02-19 Thread Christopher H. Laco
Is anyone doing complete localization using FormBuilder or HTML::Widget? I'm stuggling with probably the same things everyone struggles with when it comes to forms. FormBuilder is nice when it comes to localizing the messages via messages.$lang. It totally sucks when it comes to localizing the

Re: [Catalyst] strange behavior of catalyst

2007-02-19 Thread Kieren Diment
Sounds like there's a logic error in your resultset search generation routine. Look more carefully at what you're asking it to do with DBIC_TRACE=1 and some carefully placed warn statements On 20/02/07, Will Smith [EMAIL PROTECTED] wrote: I'm workng input form and catalyst search funtion with

Re: [Catalyst] L10N + FormBuilder/HTMLWidget

2007-02-19 Thread Carl Franks
Chris, On 19/02/07, Christopher H. Laco [EMAIL PROTECTED] wrote: Is anyone doing complete localization using FormBuilder or HTML::Widget? I'm stuggling with probably the same things everyone struggles with when it comes to forms. FormBuilder is nice when it comes to localizing the messages via

RE: [Catalyst] CRUD Question. How to update a record.

2007-02-19 Thread Hans Ophüls
But I have a problem with implementing an update function. It schould select a record from the database and insert the data into a widget. sub hw_update : Local { my ($self, $c, $id) = @_; # Search for the product c-model('MyAppDB::Product')-search({id = $id}); #

Re: [Catalyst] Using C::C::FormBuilder With DBIC

2007-02-19 Thread hkclark
On 2/18/07, Mark Zealey [EMAIL PROTECTED] wrote: ... re the easy solutions presented earlier in the thread for sticking a form into a db and back again; I don't ususally make the code that simple because it could open up injection attacks and doesn't work too well with more complex forms or