NAME
CatalystX::Controller::ExtJS::REST::SimpleExcel::ApplicationToClass - Serialize to Excel spreadsheets
VERSION
version 0.1.0
SYNOPSIS
package MyApp::Controller::User;
use Moose;
extends 'CatalystX::Controller::ExtJS::REST';
with 'CatalystX::Controller::ExtJS::REST::SimpleExcel';
1;
Access /users?content-type=application%2Fvnd.ms-excel
to get the excel file.
DESCRIPTION
This role loads Catalyst::Action::Serialize::SimpleExcel and adds application/vnd.ms-excel
to the type map. When requesting a list of objects, this role converts the output to satisfy Catalyst::Action::Serialize::SimpleExcel.
SEE ALSO
CatalystX::Controller::ExtJS::REST
AUTHOR
Moritz Onken
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License