Hi,<br> It's pretty neat to use html::widget to create/validate html form. Problem is I need to create a lot of customized html forms that could not done easily with html::widget. I want to simply do my own html form and use a normal action to update the record.<br> I tried to use somehing like:<br> my $book = $c->model('myapp::Book')->update({<br> title => $title,<br> rating => $rating,<br> });<br> but of course, it updates the whole table, not only the wanted record, because I do not put in the condition "where".<br> I used to use : update_from_form in older version of catalyst.<br> Could someone please show me the syntax to do the update, either adding condition to the above method (which I
think there is a simple way), or using update_from_form<br> something like the old timer:<br> <br> $c->for( optional => [ myapp::M::CDBI::books->columns ] );<br> ..<br> myapp::M::CDBI::books->retrieve($id)->update_from_form( $c->form);<br> <br> <br> Thank you<br> <p> 
<hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a>