WebObjects 5.0: WebObjects 5.0 Application May Not Update Frames Correctly

This document describes how to make sure content within frames is updated.
Symptom

Frames are not updated in WebObjects 5.0 when they should be updated.


Solution

Use setPageRefreshOnBackEnabled(false) in your WebObjects application. In WebObjects 5.0 this keeps pages from being cached and frames will work as expected.

Additional information

WebObjects 4.5 and earlier would update frames each time an event occurred such as clicking a submission button. However, in WebObjects 5.0 the caching method is changed. This results in frames not being updated since the contextID is found and assumes that the page was reloaded or backtracked. In the case of frames, a cached page is displayed rather than generating a new page.

Published Date: Feb 18, 2012