Thanks Kevin for the reply.  I'm actually trying to replicate this
recipe but inside the input-many:
http://cookbook.hobocentral.net/recipes/15-dynamically-populated-select-menus.
I assign different ID's for the parts using this other recipe:
http://cookbook.hobocentral.net/recipes/8-use-parts-on-repeated-elements
but the problem seems to be that the typed_id on new records inside
<input-many> are not available.  I noticed on the standalone form it
produces an extra 'this' (probably because the record doesn't have an
ID yet?) : <div class='part-wrapper' id='foo-this:foo'>  while inside
the <input-many> tag this is produced: <div class='part-wrapper'
id='foo-:foo'>  which returns the ajax error invalid typed_id: :foo.


On Jun 3, 1:03 pm, kevinpfromnm <[email protected]> wrote:
> you can't nest forms within forms, that's why it's a field-list.
> getting part to work on an input-many is going to be tough as each
> piece is created by javascript really and doesn't have a guaranteed
> model associated with it.
>
> I'm not sure why you'd want a form to be a part though since the user
> will be modifying the pieces themselves and then saving...
>
> On Jun 3, 9:13 am, sam <[email protected]> wrote:
>
> > I am trying to have a part on a <do> inside a <myfield-view:> tag
> > which is in turn  inside an <input-many>, however I get the error
> > "invalid typed_id: :myfield from the parent's controller (the class
> > that has_many).  Any ideas how to resolve this?  It works right on a
> > standalone form but not inside input-many. I'm wondering if using  the
> > standalone child form inside the <input-many> instead of the field-
> > list would solve this problem, is there a way to do that?
>
> > thank you
>
> > sam
>
>

-- 
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