Hello,

I have a page with an embedded InlineFrame which is used to submit a
multipart form. I would like the InlineFrame's page to share a model object
with the parent page. This way the parent page can control the workflow
after the form is submitted. However, something is preventing model changes
made during the form submission from being visible in subsequent requests to
the parent page. My guess is that issue stems from the way in which the
child page (with its reference to the parent page) is being serialized into
the page store because the subsequent parent requests see the
*unmodified*model object.

Further confusing me is the fact that I use the same upload panel with the
InlineFrame in two different pages, and in one of the two the model change *
is* seen by the parent. I'm no PageMap expert, but I debugged into Session
enough to see that the page versions are the same between the form
submission request and the subsequent parent page request in both
cases. There is obviously some gotcha that I've stumbled into on one page
and not the other.

Can anyone decipher what may be going on? Or recommend a best practice for
sharing data with an embedded iframe page?

I am using Wicket 1.4.13.

Thanks,
Dan

Reply via email to