[Nitro] xhtml builder in model?

George Moschovitis george.moschovitis at gmail.com
Tue Sep 6 03:39:18 EDT 2005

I think you can already do this. If not, we could generalize the
XhtmlMixin module.
This is a reasonable request I guess.


On 9/6/05, Peter Abrahamsen <rainhead at gmail.com> wrote:
> 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
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general


More information about the Nitro-general mailing list