it's rather long but here is goes
<extend tag="form" for="LocationMaterial">
<old-form merge >
<field-list: fields="material, abated, condition, potential, friable,
percent_damage, accessible, quantity, unit, notes, locmathists">
<material-view:>
<select-one-or-new-dialog>
<field-list: fields="name"/>
</select-one-or-new-dialog>
</material-view:>
<unit-view:>
<select-one-or-new-dialog/>
</unit-view:>
<locmathists-label:>Changes</locmathists-label:>
<locmathists-view:>
<input-many template="&Locmathist.new(:field_tech => @current_user,
:project => @current_project)">
<default: width="100%">
<card>
<header:></header:>
<body:>
<field-list fields="project, field_tech, date, comment">
<project-view:>
<select-one options="&@projects" text-method="list_name"
blank-message="Select Project">
</select-one>
</project-view:>
</field-list>
</body:>
</card>
</default:>
<add-item:>
Add
</add-item:>
<remove-item:>
Remove
</remove-item:>
<empty-message:>
No History
</empty-message:>
</input-many>
</locmathists-view:>
</field-list:>
<append-field-list:> <after-submit go-back/>
</append-field-list:>
<actions:>
<after-submit go-back/>
<submit label="#{ht 'location_material.actions.save', :default=>['Save']}"
param/>
<or-cancel:location param="cancel"/>
</actions:>
</old-form>
</extend>
I only have one of the two highlighted lines in just showing both things
I've tried.
On Friday, March 9, 2012 10:22:48 AM UTC-5, Bryan Larsen wrote:
>
> On Fri, Mar 9, 2012 at 9:09 AM, Bob Sleys <[email protected]> wrote:
> > Ok I tried both options and neither worked for me.
> The <append-field-list:>
> > option caused all my other tweaks to the field list to be skipped, ie. I
> get
> > the default auto generated form.
>
> Can you please post your DRYML for this? There's probably a typo in
> there somewhere.
>
> > Adding it to the actions section did
> > nothing.
>
> What version of Hobo are you using? It's certainly possible that I
> broke it in 1-3-no-prototype or 1.4...
>
> Bryan
>
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/hobousers/-/RDEORnLs-J0J.
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.