side and JSON will be used to send the form parameters. What to do?
Well CPAN to the rescue. Install the TT filter for JSON, along with the
JSON.pm module. Now create a template named json.tt like
this:
[% USE JSON %]
[% view.data.json %]
Change the froms template from form.tt to json.tt and add the following
statement:
$self->content_type('application/json');
You are now sendi
ng your form as a JSON datastream.
=item cancel_action (a code ref)
Called with:
your self object
the data you passed to add, edit or deltet
the action (add, edit or delete)
the use