argh. im trying to follow drafts#6, figure#78 where u guys have an example
with the index-page.
so, having the new-page def in application like:
<def tag="new-page" for="CountSheetHeader">
<page merge title="New Count Sheet Header">
<body: class="new-page count-sheet-header" param/>
<content: param>
<section param="content-header">
<h2 param="heading">New Count Sheet Headersss</h2>
</section>
<section param="content-body">
<form param>
<submit: label="Create Count Sheet Header"/>
</form>
</section>
</content:>
</page>
</def>
and calling
<new-page/>
within the new.dryml works fine.
but, and i think thats the purpose og doing so (the rails-mvc) way, i want
to have that stuff in the new-view.
1) just leaving the def-tag like:
<def tag="new-page" for="CountSheetHeader">
</def>
in the application.dryml and having
whatever was betwenn the tags end up in erroring in params-issue. if i
replace then the params with class (as the drafts-book), it tells me
something about
undefined method `attributes' for #<ActionView::Base:0xb5c59440>
Extracted source (around line *#1*):
1: <page merge title="New Count Sheet Header">
2: <body: class="new-page count-sheet-header" />
3:
....
so, i guess i dont know what needs to stay in application.dryml...
can u guys add ONE superminimal example of how to "export" the CRUD
functionlaty into its own views? i think that would be helpful
thx
4: <content: >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---