[Nitro] xhtml builder in model?

Peter Abrahamsen rainhead at gmail.com
Tue Sep 6 03:26:25 EDT 2005


Hi all,

Why can we only use the XhtmlMixin's build in a controller? I'd  
really like to be able to use it in a model, so that the model knows  
how to generate an edit form, not the controller. This means that I  
can put a form to create a new whatever from anywhere in my site, no  
matter which is the current controller.

Perhaps it would be easy to generalize this? Perhaps what I'm saying  
is already possible?

Thanks, Peter



More information about the Nitro-general mailing list