On 25 Nov 2010, at 21:57, will trillich wrote:
Right. :) These are 'inlined' within the controller that's the only place where they're used. E.g.

package Spill::Controller::Spill;
use Moose;
#...
{
    package Spill::Controller::Incident::IncidentForm;
    use HTML::FormHandler::Moose;
    extends 'HTML::FormHandler::Model::DBIC';
    #...
}

Took that idea from the code generated by InstantCRUD, seems kinda nice! If these forms were useful in more than one place then we'd certainly pull them into their own files in their own tree-branches.

I don't care where the code physically lives - just how it's namespaced..

Please please fix the namespace, as calling it MyApp::Controller::XXX _WILL GET IT LOADED AS A CONTROLLER BY CATALYST_

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to