[Nitro] Nitro templating question

James Britt james_b at neurogami.com
Fri Jan 6 22:45:33 EST 2006

Bryan Soto wrote:
 > I think the closest thing to Rails layouts would be the Page tag. The
 > best place to take a look at it might be in the skin.rb file in src
 > subdirectories of flare or spark. Even a gen app xxx will create one, so
 > you can take a look at it in the nitro/proto directory.
 > Typical usage is
 > <Page>
 > <!-- insert body here. -->
 > </Page>
 > Although, now that I think about it, you can probably define a
 > layout.xhtml file and then use <render href="/layout.xhtml" />
 > Hope that helps.

Thanks.  I'll go poke around.



http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys
http://www.30secondrule.com   - Building Better Tools

More information about the Nitro-general mailing list