Hi Everyone,
I have been experimenting with Catalyst::Controller::FormBuilder. I'm
trying to provide an edit form for objects read from and written to the DB
via DBIx::Class. Have FormBuilder automatically load the data from DBIC
into the form seems pretty easy with something like:
my
[EMAIL PROTECTED] wrote:
Hi Everyone,
I have been experimenting with Catalyst::Controller::FormBuilder. I'm
trying to provide an edit form for objects read from and written to the
DB via DBIx::Class. Have FormBuilder automatically load the data from
DBIC into the form seems pretty easy
On 2/18/07, RA Jones [EMAIL PROTECTED] wrote:
Any suggestions? What are other folks doing for C::C::FormBuilder and
DBIC?
I'm pretty new to this, but this is what I did:
sub edit : Local Form {
# get data into form pretty much as above, then:
if ( $form-submitted $form-validate ) {
On 18/02/07, RA Jones [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi Everyone,
I have been experimenting with Catalyst::Controller::FormBuilder. I'm
trying to provide an edit form for objects read from and written to the
DB via DBIx::Class. Have FormBuilder automatically load the
Hello,
I want to create a web application which is basically CRUD, and I was
wondering if there is a scaffolding script that can do it for catalyst. It
has to support tables with composite primary keys.
I thought InstantCRUD would be a good solution but i quickly discovered that
it doesn't
wrt radioboxes on forms/dbic; I have been doing a true/false/null using the
following:
invited:
label: Invited?
options: 1=Yes, 0=No
required: 0
As this is not required, if nothing is sent back the value will be undef =
null; otherwise 1/0 will be returned based on
You can set the header information to give mime hints to the browser:
$c-res-headers-content_type('application/octet-stream');
$c-res-headers-content_length( $stat-size );
$c-res-headers-last_modified( $stat-mtime );
$c-response-headers-header(
Hello,
I have just started with catalyst.
I have worked through the tutorial
and every thing works fine yet.
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)
Mark,
Your words are very encouraging: I'll happily trade 50% more work for
getting rid of the black magic ( and get some peace of mind )
I'll start over with your examples.Thank you very much,
Francesc
On 2/18/07, Mark Zealey [EMAIL PROTECTED] wrote:
I looked at the crud modules but i