The github repos is good stuff but I cannot find there the source of the <page> 
tag.   Am I missing something?  The taglib reference has been invaluable to me, 
and the text of it is included in the rapid-rails-3-beta5 book, but not the tag 
sources.

The book (beta-5) states in referring to the <page> tag:

"The easiest way to see what this tag
does is to look at the source."

But I can't find it.  Does the dryml gem generate it on the fly?  Or is it 
somewhere I haven't looked?  To be perfectly clear I've appended the source for 
the <page> tag I got from the 1.0 resource.  I'm looking for the 1.3 equivalent.


Mark



<def attrs='title, full-title' tag='page'>
  <% full_title ||= "#{title} : #{app_name}" %>
  <html merge-attrs>
    <head param>
      <title param><%= strip_tags full_title %></title>
      <do param='stylesheets'>
        <!-- note that this is probably overridden in your 
app/views/taglibs/themes/xxx/xxx.dryml --> 
        <stylesheet name='reset, hobo-rapid'/>
        <theme-stylesheet/>
        <stylesheet name='application' param='app-stylesheet'/>
      </do>

      <do param='scripts'>
        <javascript name='prototype, effects, dragdrop, controls, lowpro, 
hobo-rapid' param/>
        <if-ie version='lt IE 7' param='fix-ie6'>
          <javascript name='IE7'/>
          <javascript name='ie7-recalc'/>
        </if-ie>
        <do param='custom-scripts'/>
        <javascript name='application' param='application-javascript'/>
      </do>
    </head>

    <body param>
      <set-scoped flash-rendered='&false'>
        <ajax-progress param/>
        <header class='page-header' param>
          <account-nav param if='&login_url(Hobo::User.default_user_model)'/>
          <h1 param='app-name'><a href='#{base_url}/'><app-name/></a></h1>
          <live-search param if='&defined_route? :site_search'/>
          <main-nav current='&title' param/>
        </header>
        <section param='content' with-flash-messages/>
        <footer class='page-footer' param/>
        <page-scripts param/>
      </set-scoped>
    </body>
  </html>
</def>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to