Hi Kevin,
Are you using Hobo 2.0? If yes, the answer is to define a custom tag
that updates both partials at the same time:
<show-page>
<field-list: replace>
<div part="fields" class="form-horizontal">
<field-list fields="total_cost"/>
</div>
</field-list:>
<collection: replace>
<table-plus:products fields="description, cost"
field-tag="super-editor"/>
</collection:>
</show-page>
<def tag="super-editor">
<div part="my-part">
<click-editor-innards updates="#my-part, #fields"/>
</div>
</def>
If otherwise you are using Hobo 1.0, we are going to need to hack a bit
more, cause I remember that updating several parts at the same time was
not so easy. Please tell us if that's your case and I'll try to find
some examples.
Regards,
Ignacio
El 18/10/13 22:50, Kevin Brown escribió:
I have a page part that has a fieldset for a parent record and a
table-plus for child records. I have the table-plus set up for
in-place editing of the fields, and I would like to update the fields in
the containing part after table records are edited.
Essentially my code looks like this (simplified):
<div part='my-part'>
<feckless-fieldset fields='name, total_cost'/>
<table-plus with='&items' fields='description, cost'
field-tag="editor" update='my-part'/>
</div>
When I do in-place editing on the child records, I see "Call part:
editor_part" in the output, but I do not see "Call part: my-part".
Is there a way to accomplish this? I guess this would mean that both
the in-place-editor part as well as the parent 'my-part' need to be
updated, but I'm not exactly sure how to accomplish this.
Thanks!
- Kevin
--
You received this message because you are subscribed to the Google
Groups "Hobo Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.
--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.