On Sun, 2006-07-02 at 20:20 +0200, A. Pagaltzis wrote: > * Zbigniew Lukasiak <[EMAIL PROTECTED]> [2006-07-02 17:10]: > > I am thinking about switching from HTML::Widget to something > > else for InstantCRUD because of that – generating the widgets > > with TT or something should be easier than adding yet another > > XSLT layer, but for now I have no time for that. > > See `t/lib/TestContainer.pm`[1] in the distribution for how to do > it without XSLT. (The associated test is `t/07custom_render.t`.) > > Then use the `element_container_class` method to set your package > as the container class. It can be called as a class method to set > the container globally or as an instance method to set the > container only locally.
I've done this to spit out html more like that found in Catalyst::Enzyme. Zbigniew, if you are interested, I'd like to see it go into InstantCRUD... -Stephen _______________________________________________ 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/
