On Thu, May 17, 2007 at 06:07:46PM +0200, Dmitri Pissarenko wrote:
> Hello!
> 
> Thanks all for the answers!
> 
> >Don't do that, it leads to spaghetti. Write your own View class
> >and generate the output from there.
> 
> Is there some example how to write a custom View class?

If this is going to be working with dojo I think you probably just want
View::JSON + $c->stash(current_view => 'JSON');

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

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

Reply via email to