It looks like this has been undone in the new release from CPAN
(0.04002). I updated, and all of the data in my 'selects' disappeared.
Greg
Carl Franks wrote:
2009/4/15 Greg Coates :
I'm using a Repeatable element that contains several Select elements in
a form displayed by a Catalyst contr
Am Montag 11 Mai 2009 11:34:01 schrieb Moritz Onken:
> Am 11.05.2009 um 01:24 schrieb Mario Minati:
> >> OK I see. I think we can make this the default behaviour. This will
> >> cause a
> >> database roundtrip but I think it's the best way to make sure that
> >> the
> >> data
> >> we give back is t
This fixed the problem, but it brings up another issue. From the
DBIx::Class::Resultset documentation:
| Note: find_or_new is probably not what you want when creating a
| new row in a table that uses primary keys supplied by the
| database. Passing in a primary key column with a val
Yep, that solved it for me too.
Greg
Ascii King wrote:
I had this same problem back in this thread
http://lists.scsys.co.uk/pipermail/html-formfu/2009-March/001884.html
the answer was how I was calling the new record. I eeded to use
find_or_new to call a new record.
my $book = $c->model('
I had this same problem back in this thread
http://lists.scsys.co.uk/pipermail/html-formfu/2009-March/001884.html
the answer was how I was calling the new record. I eeded to use
find_or_new to call a new record.
my $book = $c->model('DB::MyTable')->find_or_new({ id => $id });
Mario Minati wr
I want to have a total field automatically be the sum of two other
fields. I assume this would be a transformer, but I am not sure. I
cannot figure out how to send the other two fields to the sub-routine.
The documentation just says that you can send them, it doesn't show you how.
___
I know this is old, but here is the fastest way I have seen to
accomplish this. Just add some css code to handle the error_message
display. Ffor example:
form .error_message {
color: #CC !important;
display: block;
}
Carl Franks wrote:
2009/2/4 abhishek jain :
hello,
I wish to c
Am Montag 11 Mai 2009 11:34:01 schrieb Moritz Onken:
> Am 11.05.2009 um 01:24 schrieb Mario Minati:
> >> OK I see. I think we can make this the default behaviour. This will
> >> cause a
> >> database roundtrip but I think it's the best way to make sure that
> >> the
> >> data
> >> we give back is t
Am 11.05.2009 um 01:24 schrieb Mario Minati:
OK I see. I think we can make this the default behaviour. This will
cause a
database roundtrip but I think it's the best way to make sure that
the
data
we give back is the same as the data the user will get when he
requests
that item.
You a