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 co
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)
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(
I looked at the crud modules but i could never really get them to work; they
were always rather too limited for me and if you ever want to extend it
slightly; you will have to rewrite it all yourself. It's easy enough to do a
simple crud app yourself; you want to use DBIx::Class probably with th
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
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 handl
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
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
[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 with
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 $widg
10 matches
Mail list logo