CatalystX::Controller::ExtJS::REST::SimpleExcel - Serialize to Excel spreadsheets
version 0.1.1
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.
/users?content-type=application%2Fvnd.ms-excel
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.
application/vnd.ms-excel
CatalystX::Controller::ExtJS::REST
Moritz Onken
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
To install CatalystX::Controller::ExtJS::REST::SimpleExcel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::Controller::ExtJS::REST::SimpleExcel
CPAN shell
perl -MCPAN -e shell install CatalystX::Controller::ExtJS::REST::SimpleExcel
For more information on module installation, please visit the detailed CPAN module installation guide.