Copyright (C) 2008 by Nik Ogura. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Bug reports and comments to





        use CGI::Lazy;

        my $q = CGI::Lazy->new({...});
        my $widget = $q->ajax->dataset({...});

        my $b = $q->template->boilerplate($widget);



CGI::Lazy::Template::Boilerplate is a module to generate boilerplate template examples for Lazy widgets. The templates generated can then be customized to do whatever you want, and look like whatever you want. Some pieces of template syntax might be confusing to users of Lazy, so this will generate a nice starting point for you.

The template directory must be writeable by apache, at least for as long as you're generating boilerplate templates


buildTemplates ()

Builds a set of templates appropriate for widget given.