maybe i'm going about this all wrong. The <after-submit> tag might do
the trick. I just tried extending the form for item as so:

<extend tag="form" for="Item">
  <old-form merge>

    <after-submit go-back/>

    <error-messages param/>
    <field-list fields="name, price, description, food_class, menu"
param/>
    <div param="actions">
      <submit label="#{ht 'items.actions.save', :default=>['Save']}"
param/><or-cancel param="cancel"/>
    </div>

  </old-form>
</extend>


this is of course messy (copy and pasted from the rapid generated
form) and it didn't work!
I also tried:

<extend tag="form" for="Item">
  <old-form/>
  <after-submit go-back/>
</extend>

and I tried substituting go-back with stay-here, however none of these
seem to have any effect on where i end up after submitting. what's up
with that?

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