So I have an index page that I tweaked for a resources called
CodeTests. This is the original, auto-generated index-page for
CodeTests:

<def tag="index-page" for="CodeTest">
  <page merge title="Code Tests">
    <body: class="index-page code-test" param/>
    <content: param>
      <header param="content-header">
        <h2 param="heading">Code Tests</h2>
        <p param="count" if>There <count prefix="are"/></p>
      </header>
      <section param="content-body">
        <a action="new" to="&model" param="new-link"/>
        <page-nav param="top-page-nav"/>
        <collection param/>
        <page-nav param="bottom-page-nav"/>
      </section>
    </content:>
  </page>
</def>

So I tweaked the page as follows:

<index-page>
  <content-body:>
    <!-- new-link: (doesn't work!) / -->
    <a class="new-link" action="new" to="&model">New Code Test</a>
    <br class="clear-both" />
    <collection />
  </content-body:>
</index-page>

However, when I use <new-link: />, I get an error about "mixed
parameter tags and non-parameter tags (did you forget a ':'?) -- at
app/views/code_tests/index.dryml:2" you can see the full error page
here: http://gist.github.com/62098. Whenever I replicate the link from
the original auto-generated index-page (as shown above), it works as
expected.

Can anyone shed any light on this error?
--~--~---------~--~----~------------~-------~--~----~
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