I have an add/edit form - if the context is non-null, then I'm editing,
otherwise I'm adding. So far, so good.

As the user edits, they occasionally submit to the server to get the
server's impressions of what they've posted so far (it looks at what
they've submitted, works out some metrics).  These metrics are displayed in
the zone that the form is linked to.

So, I got a curious problem where I'd go to the form to add a new entity,
click submit and the metrics would show up.  But each time I did this, a
new record was saved.

I suspect that, when the form updates a zone, the form has no chance to
realize that the page now has a context.  Only a full-page refresh (or
perhaps of a zone that contains the form) will do that.

Is there a workaround for this?  Is there some way I can get the form to
update its sense of the page context?  (Short of ditching the zone and
having the page refresh, which is easy.)

Gratefully,

Michael

Reply via email to