almost there ;-)
its still sitting in pages:
<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 Header</h2>
</section>
<section param="content-body">
<form param>
<submit: label="Create Count Sheet Header"/>
<after-field-list:>
<input-many:count-sheet-lines><field-list fields="qty1, qty2,
note"/></input-many>
</after-field-list:>
</form>
</section>
</content:>
</page>
</def>
1) no difference between "count-sheet-lines" VS "count_sheet_lines"
// but i know what u mean with rails & xml & dashiness
2)error is now:
ActiveRecord::AssociationTypeMismatch in Count sheet
headersController#create
CountSheetLine expected, got Array
another hint?
thx
On Fri, Oct 30, 2009 at 4:53 PM, Matt Jones <[email protected]> wrote:
>
>
> On Oct 30, 2009, at 4:42 PM, tom wrote:
>
> > hi matt, yeah i relaized the form, but putting it prior /form gives
> > me that:
> > mixed parameter tags and non-parameter tags (did you forget a ':'?)
> > -- at app/views/taglibs/auto/rapid/pages.dryml:86
> >
> >
> > and yes, im just experimenting with the whole thing. lather it
> > should be outsourced...
> > thx
> >
>
> Try this (in the correct new.dryml file):
>
> <page title="New Count Sheet Header">
> <body: class="new-page count-sheet-header" />
>
> <content: >
> <section>
> <h2>New Count Sheet Header</h2>
> </section>
>
> <section>
> <form>
> <after-field-list:>
> <input-many:count-sheet-lines><field-list fields="qty1,
> qty2, note"/></input-many>
> </after-field-list:>
> <submit: label="Create Count Sheet Header"/>
> </form>
> </section>
> </content:>
> </page>
> </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
-~----------~----~----~----~------~----~------~--~---