[Nitro] Elements and Partials
gabriele renzi
rff_rff at yahoo.it
Tue Sep 18 06:10:48 EDT 2007
On Mon, 17 Sep 2007 10:00:16 -0400, Robert Mela wrote:
> What do people think about the comparison of Nitro elements to Rails
> partials?
I've been away for a while so I don't know if this is changed, but
something that I had issues with elements is that they could not be used
dynamically.
What I mean:
<?r @foo.each_with_index |el,i| ?
<Element idx=i> #{el} </Element>
<?r end ?>
was impossible, whereas it is possible to pass variables to rails'
partials.
But again, I don't know if this behaviour changed.
--
goto 10: http://www.goto10.it
blog it: http://riffraff.blogsome.com
blog en: http://www.riffraff.info
More information about the Nitro-general
mailing list