I have a page that uses ChenilleKit to pop up a window that contains a
component.  That component contains a form enclosed in a zone.  The form get
submitted under a variety of circumstances primarily for the purpose of
storing the state and redrawing the form based on some option the user just
selected.  This all works great.  However, once the user has finally
finished everything, I'd like for the final submit button to do something
else other than just update the zone.  I want it to cause the window to
close and for another zone on the page, outside of the window, to be
updated.  And I need to make it close the ChenilleKit window.  I haven't
figured out how to make this happen yet.

I think I figured out that I can pass a zone from the page to the inner
component (which has the form) and then return a MultiZoneUpdate to update a
part of the page that is not otherwise known by the inner component.
 However, I haven't been able to close the window using this method.  I
think I might need to trigger a javascript callback (like ChenilleKit's
OnEvent mixin).  Any ideas?

-Nathan

Reply via email to